Draft
Conversation
update: move things around.
update: db page to svelte5.
optimize: imports, singular sources of truth.
fix: height issues on mobile.
…ed-db # Conflicts: # bun.lock # package.json # src/lib/actions/analytics.ts # src/lib/stores/sdk.ts # src/routes/(console)/project-[region]-[project]/databases/+page.svelte # src/routes/(console)/project-[region]-[project]/databases/create.svelte # src/routes/(console)/project-[region]-[project]/databases/create/+page.svelte # src/routes/(console)/project-[region]-[project]/databases/database-[database]/(entity)/helpers/sdk.ts # src/routes/(console)/project-[region]-[project]/databases/database-[database]/(entity)/helpers/terminology.ts # src/routes/(console)/project-[region]-[project]/databases/database-[database]/(entity)/views/create.svelte # src/routes/(console)/project-[region]-[project]/databases/database-[database]/(suggestions)/empty.svelte # src/routes/(console)/project-[region]-[project]/databases/database-[database]/+layout.svelte # src/routes/(console)/project-[region]-[project]/databases/database-[database]/backups/createPolicy.svelte # src/routes/(console)/project-[region]-[project]/databases/database-[database]/collection-[collection]/(components)/editor/view.svelte # src/routes/(console)/project-[region]-[project]/databases/database-[database]/table-[table]/+page.svelte # src/routes/(console)/project-[region]-[project]/databases/database-[database]/table-[table]/columns/edit.svelte # src/routes/(console)/project-[region]-[project]/databases/database-[database]/table-[table]/createColumn.svelte # src/routes/(console)/project-[region]-[project]/databases/database-[database]/table-[table]/spreadsheet.svelte # src/routes/(console)/project-[region]-[project]/databases/database-[database]/table-[table]/store.ts # src/routes/(console)/project-[region]-[project]/databases/empty.svelte
- Add explicit dedicateddb cases to updateEntity, createIndex, deleteIndex - Split useDatabaseSdk into useDatabaseSdkFromPage and useDatabaseSdkFromParams - Replace Promise.all with Promise.allSettled in list() to handle backend failures gracefully - Fix dedicatedAsDatabases mapping: derive enabled from status, preserve engine/tier/region
- URI-encode credentials in connection strings to prevent malformation - Shell-quote passwords in MySQL CLI commands - Fix hardcoded 'postgres' database name for MySQL/MariaDB engines - Replace setTimeout invalidation with immediate await invalidate - Extract shared getEngineDisplayName and tier config to dedicated.ts - Replace local capitalizeFirst with existing capitalize helper
- Replace bracket-notation SDK calls with ts-expect-error annotated dot notation - Import shared getEngineDisplayName instead of local duplicate - Fix version string comparison with numeric parsing
- Filter dedicateddb from databaseTypes for self-hosted instances - Hide dedicated DB cards in empty state when not cloud - Default create wizard to tablesdb for self-hosted - Disable dedicated-only header tabs for self-hosted - Fix null as DatabaseType cast and selectedEngine typing
- Replace serial try/catch DB detection with parallel Promise.allSettled - Make page.params reactive with \$derived to prevent stale values - Guard monitoring effect to only reload on database ID change - Remove no-op active connections tab and fake data
# Conflicts: # CLAUDE.md # bun.lock # package.json # src/routes/(console)/project-[region]-[project]/databases/+page.svelte # src/routes/(console)/project-[region]-[project]/settings/usage/[[invoice]]/+page.svelte
- Fix positional args in cross-region and backup storage SDK calls - Escape shell metacharacters in connection commands - Fix $effect infinite retry loops in monitoring lazy-load sections - Add error notifications to silent monitoring loaders - Add previousId tracking to backups and branches $effect blocks - Use Type enum for backup type instead of string literals - Add missing Submit/Click analytics enum members - Replace raw string trackEvent calls with enum members - Use trackError for error analytics paths - Remove dead isShared code in dedicated overview - Fix database type string from 'dedicated' to 'dedicateddb'
- Refresh cross-region status after failover to prevent stale UI - Use isActive derived for connection section visibility - Guard against array arguments in Compute proxy
…branch - Switch SDK from custom commit to pkg.vc preview build - Remove local Compute proxy, enum definitions, and type stubs - Import all dedicated DB types and enums from @appwrite.io/console - Fix property names to match SDK models (durationMs, clientAddress, etc.) - Remove usage type extensions (SDK now includes realtime/screenshot props)
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.
What does this PR do?
(Provide a description of what this PR does.)
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)
Related PRs and Issues
(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)
Have you read the Contributing Guidelines on issues?
(Write your answer here.)
Summary by CodeRabbit
Release Notes
New Features
Improvements