Repository navigation
fix(ui): fix for users with a . in their name are unable to edit instance name (enterprise) - #446
Merged
Merged
Conversation
…ance name (enterprise)
. in their name are unable to edit instance name (enterprise). in their name are unable to edit instance name (enterprise)
emrberk
previously approved these changes
Jun 25, 2025
emrberk
approved these changes
Jun 26, 2025
Vaibhav91one
pushed a commit
to Vaibhav91one/ui
that referenced
this pull request
Oct 28, 2025
…stance name (enterprise) (questdb#446) * fix(ui): fix for users with '.' in their name are unable to edit instance name (enterprise) * rework notification data hooks
emrberk
added a commit
that referenced
this pull request
Nov 9, 2026
…sions The Enterprise topbar spec dropped the 'john.doe' user that guarded #446, so a regression in SHOW PERMISSIONS quoting would pass every test. Use a dotted generated name again, and add a toolbar component test that runs in public CI.
glasstiger
pushed a commit
that referenced
this pull request
Nov 9, 2026
* test: use API authentication and fixtures in e2e suites * test: preserve preview proxy URLs for context runs * test: seed editor fixtures and preserve interaction typing * test: wait for schema readiness and drawer focus * test: seed saved chats for AI assistant setup * ci: cache compiled QuestDB runtime archive * ci: remove commas from QuestDB cache keys * remove force dark theme, update submodule * test: avoid startup race in forced SSO sign-in * chore: upgrade Cypress to 16 and adapt e2e tests * test: avoid editor typing in grid tooltip setup * Refactor test coverage and separate Vitest from E2E CI * chore: allowlist moved OIDC test token fingerprints * Fix E2E races and reduce CI runner overhead * test(e2e): wait for the editor layout before clicking into it With the Cypress command log disabled, runLine could click the editor before Allotment sized its panes, so the click missed Monaco and cy.type() hit a span. typeQuery now waits until the editor centre lands in its text area and its box is stable. * test: restore coverage lost in the E2E migration - unit: query keys with @, comment-aware glyph/decoration placement, appendQuery semicolons after comment-only buffers - component/integration: schema tree icon tooltip metadata, wizard permission choice persisted - e2e: exact date/JIT error markers with a real validation step, dense drawer-exit click sweep, query activity responsiveness bound with auto refresh, metrics tab via toolbar button, worker regex error, remembered SSO user after admin session * test(e2e): use Cypress 16 expose for the OIDC state override Cypress 16 rejects test-level env overrides, which failed the Enterprise OIDC spec in its before-all hook and skipped the rest of the suite. * test(e2e): wait for Monaco before setting editor text The Enterprise OIDC journey ran SQL right after the token exchange, before the console mounted Monaco, so typeQueryDirectly read an undefined editor. Wait for the editor in that step, and make typeQueryDirectly retry until Monaco has one. * chore: update QuestDB submodule to latest master * chore: update browser test script and review skill for the test/ layout * chore: ignore OIDC fixture tokens by path so the main Gitleaks scan passes after squash-merge * fix: reopen the latest AI chat when the chat opens before saved chats load * test: restore the dotted user name guard for instance settings permissions The Enterprise topbar spec dropped the 'john.doe' user that guarded #446, so a regression in SHOW PERMISSIONS quoting would pass every test. Use a dotted generated name again, and add a toolbar component test that runs in public CI.
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.
The web console queries the user's permissions to determine if they should be able to edit instance name/type/desc or not.
This is done by executing
show permissions username.However, we should be executing
show permissions 'username'instead, as the former query fails if the username contains a dot (.), such asjohn.doe.The PR also fixes issues with tests.