feat: support Firestore paths and resizable Tree View columns - #14
Open
ChornyiDev wants to merge 5 commits into
Open
feat: support Firestore paths and resizable Tree View columns#14ChornyiDev wants to merge 5 commits into
ChornyiDev wants to merge 5 commits into
Conversation
Member
|
Thank you for your PR. Added you as maintainer for this project. |
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.
Overview
This PR improves Firestore navigation in Simple Query mode, updates Firebase Admin SDK compatibility, and makes resizable collection views more robust.
What changed
Manual collection and document path navigation
The collection path in Simple Query mode is now editable. Users can enter a top-level collection, a nested subcollection path, or a document path directly.
Examples:
usersopens a top-level collectionusers/user-id/postsopens a nested collectionusers/user-idopens the existing Table or Tree View with only that documentPressing Enter opens the requested path in a new tab. The existing Run button remains the only explicit run control.
Resizable Tree View columns
Tree View now has visible, draggable separators between the
Key,Value, andTypecolumns. The resize handles use the same dimensions, cursor, and hover treatment as Table View.Long keys and values are constrained to their columns and truncated with an ellipsis. The full content remains available through the native hover tooltip. The truncation behavior is shared between Table View and Tree View to avoid duplicate styling.
Firebase Admin SDK v14 compatibility
The Firebase connection controller now supports the modular API in
firebase-adminv14 while preserving the internal API used by Firestore, Authentication, Storage, and JavaScript Query controllers.This fixes connection errors such as:
adminSdk.apps is not iterableCannot read properties of undefined (reading cert)Formatting consistency
Four pre-existing files that failed the repository-wide Prettier check were formatted without logic changes so the required CI check passes.
Validation
Following the README and CI workflow:
tsc -p tsconfig.json --noEmiteslint "src/**/*.{ts,tsx,js,jsx}" --report-unused-disable-directives --max-warnings 0prettier --check .vitest run— 87 tests passedvite buildgit diff --checkLocal
.envfiles and credentials are excluded from Git and no literal secrets were detected in the PR diff.