feat: add named Firestore database support#1
feat: add named Firestore database support#1flowdeskadmin merged 1 commit intoFlowdesktech:masterfrom
Conversation
|
@Rixmerz Thank you for your contribution and I appreciate it. |
0c4e3e4 to
8ce2fa4
Compare
|
Ready!, thx to you to let me contribute to this excellent project!! |
|
@Rixmerz Thank you. Btw we should update readme for pnpm(Also maybe add pnpm install instruction). |
|
Thank you for adding test too. |
115834d to
a05e81b
Compare
|
updated |
|
Test fail in CI. Please fix |
- Add optional Database ID field in the Service Account connection dialog, enabling connections to named Firestore databases instead of only (default) - Propagate databaseId through the full chain: UI → Redux → preload → backend - Persist databaseId in localStorage for automatic reconnection - Expose FieldValue, Filter, Timestamp, and GeoPoint in JS Query sandbox - Migrate GitHub Actions workflows (CI + Build & Release) from npm to pnpm - Update README, SECURITY.md, husky hooks, and error messages for pnpm - Add unit tests for controllers and Redux slices with vitest - Add test step to CI workflow Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Fixed! The test stderr output was expected behavior (testing malformed JSON handling), not an actual failure — all 28 tests were passing. However, the console.error stack trace in CI logs was confusing, so I've silenced it by mocking console.error in that specific test while still asserting it gets called. CI logs should now be clean. |
|
By the way, just curious could you tell me the reason to force push every time? |
|
The force pushes were to keep the PR clean with a single commit — since all the corrections (CI migration, README update, test fix) should have been part of the original commit from the start. Easier to review as one cohesive change rather than a chain of fix-on-top-of-fix commits. Just for that xD |
|
Aha, I see It's a hard to review after last changes though. As I have to re-review all files |

Summary
(default))databaseIdthrough the full chain: UI → Redux → preload bridge → Firebase Admin SDK (db.settings({ databaseId }))databaseIdin localStorage for automatic reconnectionTest plan
my-docs) — verify collections load from that database🤖 Generated with Claude Code