Skip to content

fix: remove remaining per-resource Usage tabs and shortcuts#3132

Closed
HarshMN2345 wants to merge 1 commit into
mainfrom
fix-remove-remaining-resource-usage-tabs
Closed

fix: remove remaining per-resource Usage tabs and shortcuts#3132
HarshMN2345 wants to merge 1 commit into
mainfrom
fix-remove-remaining-resource-usage-tabs

Conversation

@HarshMN2345

Copy link
Copy Markdown
Member

Summary

Test plan

  • bun run check passes with no new errors
  • Bucket, function, site, and auth pages no longer show a Usage tab or g u shortcut

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 (#3128/#3130/#3131). Project-level billing usage
(settings/usage) is untouched.
@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

Realtime gives you live updates for users, storage, functions, and databases

@greptile-apps

greptile-apps Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR removes the remaining per-resource Usage pages and entry points. The main changes are:

  • Deleted Auth, Function, Site, and Storage per-resource usage routes.
  • Removed Auth and Function Usage header tabs.
  • Removed g u shortcuts for the deleted per-resource usage pages.
  • Removed the Function command-palette search result for Usage.

Confidence Score: 5/5

This looks safe to merge.

  • No blocking issues found in the changed code.
  • Removed navigation entries point to routes that were deleted in the same change.
  • Remaining Usage routes are for Settings and Databases, which are outside this cleanup.

Important Files Changed

Filename Overview
src/lib/commandCenter/searchers/functions.ts Removes the Function search result that navigated to the deleted usage route.
src/routes/(console)/project-[region]-[project]/auth/+layout.svelte Removes the Auth g u command that navigated to the deleted usage route.
src/routes/(console)/project-[region]-[project]/auth/header.svelte Removes the Auth Usage tab from the header navigation.
src/routes/(console)/project-[region]-[project]/auth/usage/[[period]]/+page.svelte Deletes the Auth usage page component.
src/routes/(console)/project-[region]-[project]/auth/usage/[[period]]/+page.ts Deletes the Auth usage load function.
src/routes/(console)/project-[region]-[project]/functions/function-[function]/+layout.svelte Removes the Function g u command that navigated to the deleted usage route.
src/routes/(console)/project-[region]-[project]/functions/function-[function]/header.svelte Removes the Function Usage tab from the header navigation.
src/routes/(console)/project-[region]-[project]/functions/function-[function]/usage/[[period]]/+page.svelte Deletes the Function usage page component.
src/routes/(console)/project-[region]-[project]/functions/function-[function]/usage/[[period]]/+page.ts Deletes the Function usage load function.
src/routes/(console)/project-[region]-[project]/sites/site-[site]/deployments/+layout.svelte Removes the Site deployments g u command that navigated to the deleted usage route.
src/routes/(console)/project-[region]-[project]/sites/site-[site]/usage/[[period]]/+page.svelte Deletes the empty Site usage page component.
src/routes/(console)/project-[region]-[project]/sites/site-[site]/usage/[[period]]/+page.ts Deletes the empty Site usage load function.
src/routes/(console)/project-[region]-[project]/storage/bucket-[bucket]/+layout.svelte Removes the Storage bucket g u command that navigated to the deleted usage route.
src/routes/(console)/project-[region]-[project]/storage/bucket-[bucket]/usage/[[period]]/+page.svelte Deletes the empty Storage bucket usage page component.
src/routes/(console)/project-[region]-[project]/storage/bucket-[bucket]/usage/[[period]]/+page.ts Deletes the empty Storage bucket usage load function.

Reviews (1): Last reviewed commit: "fix: remove remaining per-resource Usage..." | 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-remaining-resource-usage-tabs 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