fix: remove remaining tabs/routes and clear high-severity audit#3134
Merged
Conversation
Same cleanup as #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.
The "Go to usage" (g u) shortcut pointed at the table usage route removed earlier in this branch, leaving a broken command.
Only the table usage page consumed this component; it's now dead code after removing that route.
bun audit --audit-level high was failing CI on transitive deps pulled in by eslint and @sentry/vite-plugin. Existing brace-expansion override didn't cover the patched range; added a js-yaml override.
…nto fix-remove-remaining-usage-tabs-consolidated
…age-tabs' into fix-remove-remaining-usage-tabs-consolidated
…' into fix-remove-remaining-usage-tabs-consolidated
Removing every remaining usage/[[period]] route in this branch left the shared Usage/UsageMultiple components (src/lib/layout) with no consumers, which also broke type-checking since no route defines a `period` param anymore. Extracted the still-used helper functions (periodToDates, total, etc.) to a plain usageHelpers.ts and deleted the dead components. Also removed a leftover "Usage" sub-navigation entry in the database store.
Console (appwrite/console)Project ID: Tip Environment variable changes require redeployment to take effect |
This was referenced Jul 21, 2026
atharvadeosthale
approved these changes
Jul 21, 2026
Contributor
Greptile SummaryThis PR removes deprecated usage routes and clears dependency audit issues. The main changes are:
Confidence Score: 5/5This looks safe to merge.
Important Files Changed
Reviews (2): Last reviewed commit: "fix: restore integrity checksums for pkg..." | Re-trigger Greptile |
A prior bun update/install cycle on this branch stripped the sha512 checksums for @appwrite.io/console, pink-icons-svelte, and pink-svelte (flagged in review). Restored them to match main's pinned versions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

No description provided.