Repository navigation
Web UI: fix the last two stale new-tab gesture comments in play.html - #110705
Conversation
The logo-anchor comment and the wantsNewTab comment for the terminal icon still said Ctrl/Cmd/Shift+click opens a new tab, which overstates Ctrl+Click on macOS the same way the openQueryInNewTab comment used to. Reword both to the platform-specific phrasing already used near openQueryInNewTab, the #terminal-icon tooltip, and getTerminalURL: middle-click, Shift+click, or the platform's new-tab modifier click (Cmd+click on macOS, Ctrl+click elsewhere). Addresses: #110439 (comment)
|
Workflow [PR], commit [0452628] Summary: ✅
AI ReviewSummaryThis PR is a follow-up wording cleanup in Final VerdictStatus: ✅ Approve |
…n-comment-followup
Address review feedback on the terminal-icon `wantsNewTab` comment: the logo and terminal-icon anchors rely on the browser's native handling of `Shift+click`, which opens a new *window* rather than a new tab in Chrome/Firefox (and browser settings can reroute new-window opens back into tabs), so promising "a new tab" overstates it. Reword the four native-anchor descriptions - the `terminal-icon` CSS comment, its user-facing `title` tooltip, the `databases-icon` logo comment, and the `wantsNewTab` comment - to "a new tab or window". The JS-driven Web UI tab paths (`openQueryInNewTab`/`activateTab`, used by databases-panel table rows) are left unchanged: there the code opens an in-app tab explicitly, so "a new tab" is accurate for every gesture. No functional change - comment/tooltip wording only. Addresses: #110705 (comment) Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
|
The only red check, This is the previously-tracked bug from #87898 (closed) — the same class as the open #102508, whose fix is the open PR #105893 ("Reject Iceberg ALTER DELETE/UPDATE on non-Parquet tables"), not yet merged to master. @groeneai, please confirm whether #105893 covers this fuzzer reproduction and advance it (or reopen #87898 if it has regressed). No action is needed on this PR — merging master will not clear the red until that fix lands. |
|
@alexey-milovidov Confirmed: #105893 covers this reproduction. The bug has not regressed beyond #105893's scope, so no need to reopen #87898. The PR was 17.5k commits stale (last CI 2026-06-01); I merged master and pushed (44d6991) to re-run CI and advance it. Already approved by @ alesapin; awaiting @ PedroTadim. |
Follow-up to the review nit on #110705 (comment) (comment #110705 (comment)). Commit afe4fc2 reworded the user-facing native-anchor descriptions to "a new tab or window" (the `terminal-icon` CSS comment and `title` tooltip, the `databases-icon` logo comment, and the `wantsNewTab` comment), because on Chrome/Firefox `Shift+click` on a real `<a>` opens a new *window* rather than a new tab. Two internal code comments on the same native-anchor modifier-click paths were missed: - the `databases-icon` toggle handler comment ("Let the browser handle modifier clicks as a link (open in new tab)"), and - the `terminal-icon` click handler comment ("fall through to the anchor's native \"open in new tab\""). Both branches include `Shift+click`, so they carry the same new-window caveat. Reword both to "a new tab or window" for consistency. The JS-driven in-app Web UI tab paths (`openQueryInNewTab`/`activateTab`) are deliberately left as "a new tab", since there the app opens an in-app tab explicitly for every gesture. No functional change; comment wording only. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…n-comment-followup
|
The only red check, This is the known flaky class tracked by (all closed) #77233, #97479, and #85467. I merged |
…n-comment-followup
…ick as a new-tab open The `databases_toggle` click guard (`play.html:4821`) and the terminal `wantsNewTab` predicate / `terminalIcon` click guard both return on any `e.ctrlKey || e.metaKey || e.shiftKey`, so on macOS they also fire for `Ctrl+click` - which is the secondary/context-menu click, not a new-tab gesture. The comments described every guarded modifier click as "open in a new tab or window", overstating the native-anchor modifiers this PR set out to correct. Reword the three comments to be neutral and accurate: they defer any modified click to the browser's native link handling - a new tab or window for the new-tab gestures, and the context menu for macOS `Ctrl+click`. Comment-only change, no behavior change. Addresses: #110705 (comment) Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…n-comment-followup
|
The two red checks on
@groeneai, please investigate the AST fuzzer failure I have merged the latest |
|
@alexey-milovidov Confirmed real bug, and a fix is already in progress: #110935 (open, in CI). STID 2508-3665 is the #110935 replaces the shallow scan with a full query-tree walk that rejects streaming reads anywhere in the tree; verified both directions locally (pre-fix reaches execution, post-fix returns |
…click The `duplicateTab` helper comment in `programs/server/play.html` said the tab duplication is triggered by a middle-click or `Ctrl/Shift/Cmd+click` on the title. But the actual title-click handler bails out on macOS `Ctrl+click` (the secondary/context-menu click, left to the browser) and only duplicates on `Shift+click` or the platform's new-tab modifier click (Cmd+click on macOS, Ctrl+click elsewhere). Reword the comment to the same platform-accurate phrasing used elsewhere in the file, so it no longer lumps macOS `Ctrl+click` into the new-tab/duplicate bucket. Comment-only change, no behavior change. Addresses: #110705 (comment)
…n-comment-followup
…n-comment-followup
alexey-milovidov
left a comment
There was a problem hiding this comment.
Comment-only, trivial.
Address review feedback on the terminal-icon `wantsNewTab` comment: the logo and terminal-icon anchors rely on the browser's native handling of `Shift+click`, which opens a new *window* rather than a new tab in Chrome/Firefox (and browser settings can reroute new-window opens back into tabs), so promising "a new tab" overstates it. Reword the four native-anchor descriptions - the `terminal-icon` CSS comment, its user-facing `title` tooltip, the `databases-icon` logo comment, and the `wantsNewTab` comment - to "a new tab or window". The JS-driven Web UI tab paths (`openQueryInNewTab`/`activateTab`, used by databases-panel table rows) are left unchanged: there the code opens an in-app tab explicitly, so "a new tab" is accurate for every gesture. No functional change - comment/tooltip wording only. Addresses: ClickHouse#110705 (comment) Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Follow-up to the review nit on ClickHouse#110705 (comment) (comment ClickHouse#110705 (comment)). Commit afe4fc2 reworded the user-facing native-anchor descriptions to "a new tab or window" (the `terminal-icon` CSS comment and `title` tooltip, the `databases-icon` logo comment, and the `wantsNewTab` comment), because on Chrome/Firefox `Shift+click` on a real `<a>` opens a new *window* rather than a new tab. Two internal code comments on the same native-anchor modifier-click paths were missed: - the `databases-icon` toggle handler comment ("Let the browser handle modifier clicks as a link (open in new tab)"), and - the `terminal-icon` click handler comment ("fall through to the anchor's native \"open in new tab\""). Both branches include `Shift+click`, so they carry the same new-window caveat. Reword both to "a new tab or window" for consistency. The JS-driven in-app Web UI tab paths (`openQueryInNewTab`/`activateTab`) are deliberately left as "a new tab", since there the app opens an in-app tab explicitly for every gesture. No functional change; comment wording only. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…ick as a new-tab open The `databases_toggle` click guard (`play.html:4821`) and the terminal `wantsNewTab` predicate / `terminalIcon` click guard both return on any `e.ctrlKey || e.metaKey || e.shiftKey`, so on macOS they also fire for `Ctrl+click` - which is the secondary/context-menu click, not a new-tab gesture. The comments described every guarded modifier click as "open in a new tab or window", overstating the native-anchor modifiers this PR set out to correct. Reword the three comments to be neutral and accurate: they defer any modified click to the browser's native link handling - a new tab or window for the new-tab gestures, and the context menu for macOS `Ctrl+click`. Comment-only change, no behavior change. Addresses: ClickHouse#110705 (comment) Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…click The `duplicateTab` helper comment in `programs/server/play.html` said the tab duplication is triggered by a middle-click or `Ctrl/Shift/Cmd+click` on the title. But the actual title-click handler bails out on macOS `Ctrl+click` (the secondary/context-menu click, left to the browser) and only duplicates on `Shift+click` or the platform's new-tab modifier click (Cmd+click on macOS, Ctrl+click elsewhere). Reword the comment to the same platform-accurate phrasing used elsewhere in the file, so it no longer lumps macOS `Ctrl+click` into the new-tab/duplicate bucket. Comment-only change, no behavior change. Addresses: ClickHouse#110705 (comment)
…icon-comment-followup Web UI: fix the last two stale new-tab gesture comments in play.html
Related: #110439
#110439reworded theopenQueryInNewTabcomment, the#terminal-icontooltip, and thegetTerminalURLcomment inprograms/server/play.htmlto stop overstating macOSCtrl+Clickas a new-tab gesture (on macOS it is the secondary/context-menu click). It merged before a last review comment landed pointing out two more stale sites with the sameCtrl/Cmd/Shift+clickwording: thedatabases-iconlogo-anchor comment and thewantsNewTabcomment for the terminal icon. This follow-up rewords both to the same platform-specific phrasing used everywhere else in the file: middle-click, Shift-click, or the platform's new-tab modifier click (Cmd+clickon macOS,Ctrl+clickelsewhere).Addresses: #110439 (comment)
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Version info
26.7.1.1180(included in26.7and later)