Commit Graph
1092 Commits
Author SHA1 Message Date
Timothy Jaeryang Baek da850248d1 refac 2026-11-10 15:56:52 +09:00
Classic298 b13d02e092 fix: copy buttons, clipboard prompts and Auto-Copy Response break over plain HTTP on a LAN address (#33939)
Opened by an address such as http://192.168.1.20:8080 (no HTTPS, not localhost), the browser gives the page no direct clipboard access, and several things broke. Copy link on a comment and in search, Copy Share Link in Shared Chats, the webhook Copy URL, the Chat ID in the chat status bar, Copy branch name and Copy commit hash in the Git panel and the copy button of spreadsheet previews copied nothing, Copy Formatted Text pasted the ** and # symbols instead of the formatting, copied text lost its last line break, prompts using {{CLIPBOARD}} could not be inserted, and switching on Auto-Copy Response did nothing and was not saved. These copies now work on such addresses with the exact text and formatting, and {{CLIPBOARD}} prompts insert with the "Failed to read clipboard contents" message shown whenever the browser refuses clipboard access. Auto-Copy Response cannot work there, since the browser only lets a page copy right after a click, so the switch now stays off and shows its clipboard permission message.

Fixes #33927
Fixes #33934
Fixes #33935
Fixes #33937
Fixes #33938
2026-11-08 08:52:11 -05:00
Timothy Jaeryang Baek d4e7005954 chore: format 2026-11-08 19:05:17 +09:00
Timothy Jaeryang Baek 3797ce419b refac 2026-11-08 15:52:44 +09:00
Timothy Jaeryang Baek 2416b1fc0b refac 2026-11-08 15:27:19 +09:00
Timothy Jaeryang Baek a545063b70 refac 2026-11-08 11:32:34 +09:00
Classic298 ab416b0e30 fix: empty sections and submenus show when every control in them is hidden (#33867)
The Visible controls setting in Admin Interface can hide single options from users, but hiding every option in a group left the group itself behind. Users then saw an empty Capabilities or Builtin Tools section in the model editor, a bare Artifacts heading in Interface settings, and an Add Context entry in the chat input menu that opened an empty list. These now disappear once nothing inside them is visible, like the Default Features section already does.
2026-11-08 11:32:20 +09:00
Timothy Jaeryang Baek 5d868f91ac refac 2026-11-08 11:06:22 +09:00
Classic298 8eb1af85a3 fix: PDF preview shows blank pages for scanned PDFs with JPEG2000 images (#33906)
Scanned PDFs often store their pages as JPEG2000 images, which many scanning and OCR tools do by default. Opening such a file showed those pages and their thumbnails as blank white pages. The app now ships the image decoder the PDF viewer needs for that format, so those pages show up as they should.

Fixes #33905
2026-11-08 10:39:57 +09:00
Timothy Jaeryang Baek 834c47ee02 refac 2026-11-08 01:28:41 +09:00
Timothy Jaeryang Baek 36e1748c9c refac 2026-11-07 21:35:36 +09:00
Timothy Jaeryang Baek c31cdb4e86 refac 2026-11-07 21:32:04 +09:00
Timothy Jaeryang Baek 6ac83ce14e refac 2026-11-07 20:43:49 +09:00
Timothy Jaeryang Baek d4e8493cc5 refac 2026-11-07 20:31:42 +09:00
G30 404a328a58 fix: PDF and Office preview zoom drifts, stalls, and loses track of its label (#33836)
Fixes several zoom problems in the Files pane preview (pdf, docx, and
pptx, which the backend converts to PDF):

- Switching tabs and back reset the page to 100% while the label kept the
  old percentage. Hidden tabs measure 0 px wide, so PdfPagesPreview
  collapsed its thumbnails; their return resized the viewer, which
  re-rendered every page. PdfPagesPreview now keeps its layout while hidden,
  so the chosen zoom stays.
- Changing slides in a pptx reset the zoom to 100% while the label kept
  the old value. A slide change now carries the zoom and position over to
  the new slide.
- A pane resize rebuilt the zoom at 100% but left the label at the old
  value. renderAllPages now resets the label with it.
- On pptx slides, zooming drifted off-center and stopped at about 244%.
  The element panzoom transforms was flex-centered inside its container,
  while panzoom measures bounds and zoom anchors from the container's
  top-left corner. That element now fills the container and centers the
  slide inside it, so the coordinates match the screen.
- Resetting from a low zoom left the page off to the side, and from a
  stalled high zoom it could leave the page enlarged under a 100% label.
  The reset moved and zoomed through panzoom's bounds check, which skips
  the scale change when it adjusts the position. The reset now rebuilds
  the panzoom instance, as every render already does.
2026-11-07 16:49:17 +09:00
G30 def1d048bc chore: remove the Show Files on Terminal Select setting (#33855) 2026-11-07 16:47:42 +09:00
Timothy Jaeryang Baek 80ddf8e3bb refac 2026-11-07 13:03:41 +09:00
Classic298 d8dcb82cde fix: file preview closes on any click when opened from the Controls menu (#33831)
Opening a file from Controls → Files and clicking anything in its window, such as the Preview tab, closed the window together with the menu. Clicks inside a window opened from a menu no longer count as clicks outside it, so the preview stays open.

Fixes #33828
2026-11-07 00:50:09 +09:00
Timothy Jaeryang Baek d83e1caab4 refac 2026-11-07 00:31:59 +09:00
Timothy Jaeryang Baek 0572cf7854 refac 2026-11-06 11:07:46 +09:00
Timothy Jaeryang Baek 9f897325a1 refac 2026-11-06 11:06:12 +09:00
Timothy Jaeryang Baek c81aca931d refac 2026-11-06 10:52:18 +09:00
Timothy Jaeryang Baek 75f8ae5584 refac 2026-11-05 22:25:44 +09:00
G30 a530893659 fix(a11y): reaching the first or last page keeps keyboard focus in the page buttons (#33748) 2026-11-05 06:38:05 +09:00
Timothy Jaeryang Baek b79a778c03 refac 2026-11-04 15:37:35 +09:00
G30 0fd01ff242 fix(a11y): the show password button is at least 24 pixels wide (#33685) 2026-11-04 05:04:14 +09:00
Timothy Jaeryang Baek 0c64e5d596 chore: format 2026-11-03 17:36:03 +09:00
G30 a671146b91 fix(a11y): windows opened from a menu return focus to the menu button when they close (#33601) 2026-11-03 16:10:22 +09:00
Timothy Jaeryang Baek 042ac65628 refac 2026-11-02 11:48:53 +09:00
Timothy Jaeryang Baek d99ec1c02c refac 2026-11-02 08:48:51 +09:00
Timothy Jaeryang Baek a06aa230f7 refac 2026-11-01 21:30:24 +09:00
Timothy Jaeryang Baek ee8b69e718 refac 2026-11-01 19:31:55 +09:00
Timothy Jaeryang Baek 28b005ac86 refac 2026-11-01 19:28:21 +09:00
Timothy Jaeryang Baek ab71357980 refac 2026-11-01 19:27:15 +09:00
G30 1dd3793d4e fix(a11y): drawers keep keyboard focus inside and are announced as dialogs (#33547) 2026-11-01 17:49:45 +09:00
Timothy Jaeryang Baek 3361943104 refac 2026-11-01 09:15:14 +09:00
G30 27eb2d2eff fix(a11y): the page buttons' Previous and Next have names, and the current page is marked (#33475) 2026-11-01 09:05:02 +09:00
G30 c4daef0c94 fix(a11y): icon buttons named only by a tooltip have names (#33454) 2026-10-31 17:37:16 +09:00
G30 a988369a8e fix(a11y): tag and voice suggestions can be chosen with the arrow keys and Enter (#33452) 2026-10-31 17:36:42 +09:00
Timothy Jaeryang Baek 3bb962f2bb refac 2026-10-31 17:16:19 +09:00
G30 3d0de7ed86 fix(a11y): the full-size image viewer is a dialog that keeps focus inside it and returns it on close (#33443) 2026-10-31 13:35:02 +09:00
Timothy Jaeryang Baek fe0d22cc24 refac 2026-10-31 13:10:12 +09:00
G30 e6a26a766b fix(a11y): multi-select lists in Valves can be reached and used from the keyboard, also inside windows (#33434) 2026-10-31 08:41:44 +09:00
G30 24c891fabe fix(a11y): fields in windows and the Settings window have names (#33424) 2026-10-31 05:06:06 +09:00
G30 476b6f49e4 fix(a11y): fields on Workspace, Notes, Playground and chat pages have names (#33422) 2026-10-31 05:05:51 +09:00
G30 11d07f1531 fix(a11y): Valves fields and the Chat Controls Valves selects have names (#33420) 2026-10-31 05:05:40 +09:00
G30 271b00d7ee fix(a11y): Enter and Space on a tool call's Allow and Deny buttons answer the request (#33404) 2026-10-31 04:57:44 +09:00
G30 f2a990f6da fix(a11y): every window has a name for screen readers (#33412) 2026-10-31 04:39:32 +09:00
Timothy Jaeryang Baek c378a5a56a refac 2026-10-30 18:00:47 +09:00
Timothy Jaeryang Baek b29f7781aa refac 2026-10-30 17:41:52 +09:00