Skip to content
This repository was archived by the owner on Sep 21, 2026. It is now read-only.

fix(databases): remove leftover top-level Usage tab - #3128

Merged
HarshMN2345 merged 1 commit into
mainfrom
fix-remove-databases-usage-tab
Jul 20, 2026
Merged

HarshMN2345 merged 1 commit into
mainfrom
fix-remove-databases-usage-tab

Conversation

@HarshMN2345

@HarshMN2345 HarshMN2345 commented Jul 20, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Storage, functions, and sites already had their all-time Usage tab removed but databases still had one — removes it for consistency along with its dead command-center shortcut and route page.

Test plan

  • bun run check passes with no new errors
  • Databases section no longer shows a Usage tab
  • g u shortcut no longer offered in databases/storage command palette

Storage, functions, and sites already dropped their all-time usage
tabs; databases still had one, plus orphaned usage route files and a
dead command-center shortcut across storage/functions/sites/databases.
@greptile-apps

greptile-apps Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR removes the leftover top-level Usage routes for project services. The main changes are:

  • Removes the Databases Usage tab and top-level command shortcut.
  • Deletes the top-level Databases usage page and loader.
  • Deletes empty top-level Usage route placeholders for Functions, Sites, and Storage.
  • Removes the top-level Storage usage command shortcut.

Confidence Score: 5/5

This looks safe to merge.

  • No blocking issues found in the changed code.

Important Files Changed

Filename Overview
src/routes/(console)/project-[region]-[project]/databases/+layout.svelte Removes the top-level Databases usage shortcut and cleans up now-unused navigation helpers.
src/routes/(console)/project-[region]-[project]/databases/header.svelte Removes the top-level Databases Usage tab from the section header.
src/routes/(console)/project-[region]-[project]/databases/usage/[[period]]/+page.svelte Deletes the top-level Databases usage chart page.
src/routes/(console)/project-[region]-[project]/databases/usage/[[period]]/+page.ts Deletes the loader for the removed top-level Databases usage page.
src/routes/(console)/project-[region]-[project]/functions/usage/[[period]]/+page.svelte Deletes an empty top-level Functions usage page.
src/routes/(console)/project-[region]-[project]/functions/usage/[[period]]/+page.ts Deletes the empty loader for the removed top-level Functions usage page.
src/routes/(console)/project-[region]-[project]/sites/usage/[[period]]/+page.svelte Deletes an empty top-level Sites usage page.
src/routes/(console)/project-[region]-[project]/sites/usage/[[period]]/+page.ts Deletes the empty loader for the removed top-level Sites usage page.
src/routes/(console)/project-[region]-[project]/storage/+layout.svelte Removes the top-level Storage usage shortcut while keeping the remaining bucket commands intact.
src/routes/(console)/project-[region]-[project]/storage/usage/[[period]]/+page.svelte Deletes an empty top-level Storage usage page.
src/routes/(console)/project-[region]-[project]/storage/usage/[[period]]/+page.ts Deletes the empty loader for the removed top-level Storage usage page.

Reviews (1): Last reviewed commit: "fix(databases): remove leftover top-leve..." | Re-trigger Greptile

@HarshMN2345
HarshMN2345 merged commit 368fa34 into main Jul 20, 2026
3 of 4 checks passed
@HarshMN2345
HarshMN2345 deleted the fix-remove-databases-usage-tab branch July 20, 2026 09:50
WhoamiI00 pushed a commit to WhoamiI00/appwrite-console that referenced this pull request Aug 12, 2026
Same cleanup as appwrite#3128, one level down: the per-table Usage tab still
called tablesDB.getTableUsage(), which is going away with the backend
usage-endpoint removal and is already showing empty data on cloud.
WhoamiI00 pushed a commit to WhoamiI00/appwrite-console that referenced this pull request Aug 12, 2026
Same cleanup as appwrite#3128/appwrite#3130: removes the per-database Usage tab
(database-[database]/usage) and its command-center shortcut. It
called tablesDB.getUsage(), which is going away with the backend
usage-endpoint removal.
WhoamiI00 pushed a commit to WhoamiI00/appwrite-console that referenced this pull request Aug 12, 2026
Removes the Usage tab/route and its g-u command-center shortcut for
buckets, functions, sites, and auth — the same cleanup already done
for databases (appwrite#3128/appwrite#3130/appwrite#3131). Project-level billing usage
(settings/usage) is untouched.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants