Skip to content

fix(databases): remove leftover per-database Usage tab#3131

Closed
HarshMN2345 wants to merge 1 commit into
mainfrom
fix-remove-database-usage-tab
Closed

fix(databases): remove leftover per-database Usage tab#3131
HarshMN2345 wants to merge 1 commit into
mainfrom
fix-remove-database-usage-tab

Conversation

@HarshMN2345

Copy link
Copy Markdown
Member

Summary

Test plan

  • bun run check passes with no new errors
  • Database page no longer shows a Usage tab

Same cleanup as #3128/#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.
@appwrite

appwrite Bot commented Jul 21, 2026

Copy link
Copy Markdown

Console (appwrite/console)

Project ID: 688b7bf400350cbd60e9

Sites (1)
Site Status Logs Preview QR
 console-stage
688b7cf6003b1842c9dc
Processing Processing View Logs Preview URL QR Code

Tip

Build commands execute in runtime containers during deployment

@greptile-apps

greptile-apps Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR removes the leftover per-database Usage page. The main changes are:

  • Removed the database-level Usage tab.
  • Removed the database-level g u command-center shortcut.
  • Deleted the /usage/[[period]] page and load function that called the removed usage endpoint.

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/database-[database]/+layout.svelte Removes the database-level command-center shortcut for the deleted Usage page.
src/routes/(console)/project-[region]-[project]/databases/database-[database]/header.svelte Removes the database-level Usage tab from the database header.
src/routes/(console)/project-[region]-[project]/databases/database-[database]/usage/[[period]]/+page.svelte Deletes the database-level Usage page component.
src/routes/(console)/project-[region]-[project]/databases/database-[database]/usage/[[period]]/+page.ts Deletes the database-level Usage load function and its tablesDB.getUsage() call.

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

@HarshMN2345

Copy link
Copy Markdown
Member Author

Superseded by #3134 — consolidating everything into a single PR.

@HarshMN2345
HarshMN2345 deleted the fix-remove-database-usage-tab branch July 21, 2026 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant