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.
Gitea is a self-hosted-only feature, not offered on Appwrite Cloud, so
the button now checks isSelfHosted in addition to _APP_VCS_PROVIDERS.
Swapped the placeholder teapot silhouette for Gitea's actual mascot
mark.
Gated behind _APP_VCS_PROVIDERS containing 'gitea' (server-side allow
list), so it stays hidden unless Gitea is actually configured. Ships
a stand-in monochrome icon since no Gitea icon exists in
@appwrite.io/pink-icons-svelte yet.
Replace heading-string matching with an explicit collapsible flag on
PermissionGroup, use startsWith instead of full-text search for the
organization picker, and reset loadingMore via finally on stale-term
early returns.
Co-authored-by: Cursor <cursoragent@cursor.com>
Recognize both hosted MCP resource URIs, add missing organization scope
descriptions, make permission groups collapsible, paginate project and
organization pickers with infinite scroll, remove per-scope copy buttons,
and add account switching via a dropdown on the account chip.
Co-authored-by: Cursor <cursoragent@cursor.com>
Mirrors the truthiness guard already used in columns/+page.svelte, so
an empty-string format from the API falls back to undefined instead of
failing to match any option and dropping the icon.
The create-index column selector matched icons by type only, so enum
columns (type: string, format: enum) fell through to the first
string-typed option and showed the email icon. The columns table also
showed an "Indexed" checkbox for relationship columns, which can't be
indexed.
Follow-up to #3111 (Greptile review): the collection header still rendered a
'Usage' tab linking to ${path}/usage, whose route was deleted in #3111. It
would 404 for multi-db users. Remove the tab entry.
The per-service DocumentsDB usage endpoints were removed in cloud
(appwrite-labs/cloud#4679, 'remove per-service /usage endpoints') as they
duplicated the org/project usage surface. The console collection usage page
was the only consumer of documentsDB.getCollectionUsage, so remove it and its
command-center 'Go to usage' entry. Database/table/project usage pages are
unaffected (they use the retained tablesDB.* usage endpoints).
Latest console SDK build with the project-level premium geo DB addon
methods (createPremiumGeoDBAddon, confirmAddonPayment) resolving to the
correct /projects/{projectId}/addons/... endpoints.
- Hoist the flow out of the 220-line effect into one named function per
entry branch (grant_id / request_uri / raw client_id), cancelled via a
run counter instead of a closed-over flag.
- Dedupe the authorize-request param extraction shared by createPAR and
authorize into readAuthorizeParams(), plus getAccount()/fail() helpers.
- Move error messages and the oauth2_invalid_request exception type into
a colocated errors.ts.
- Build navigation targets with resolve() to satisfy
svelte/no-navigation-without-resolve.