Commit Graph
21458 Commits
Author SHA1 Message Date
Timothy Jaeryang Baek 90bdabcb35 refac 2026-12-02 19:42:08 +04:00
G30 a058de949f fix(a11y): a note chat's suggested prompts stay reachable in a short window (#35493) 2026-12-02 19:32:49 +04:00
G30 35d74ebbd0 fix(a11y): your channel reaction's outline reaches 3:1 with Accessibility Mode on (#35494) 2026-12-02 19:32:26 +04:00
G30 f01eab24fb i18n: fix 7 existing translations in 3 languages (#35518) 2026-12-02 19:32:14 +04:00
G30 7dba387f16 fix: mark the picked day in Calendar's mini month (#35504) 2026-12-02 19:29:57 +04:00
Timothy Jaeryang Baek e6a8dd052d refac 2026-12-02 19:29:31 +04:00
G30 b52bcff605 i18n: fill missing translations in 61 languages (#35486) 2026-12-02 19:19:12 +04:00
Timothy Jaeryang Baek 2afcd2289d refac 2026-12-02 04:36:26 +04:00
Timothy Jaeryang Baek b1a95ec8d6 refac 2026-12-02 04:32:05 +04:00
Timothy Jaeryang Baek 0b7f8b2498 refac 2026-12-02 04:30:51 +04:00
Timothy Jaeryang Baek 05e2a6bbe2 refac 2026-12-02 03:58:13 +04:00
Timothy Jaeryang Baek e4264ec664 refac 2026-12-02 03:35:42 +04:00
Timothy Jaeryang Baek 076f6fb339 refac 2026-12-02 03:33:58 +04:00
Timothy Jaeryang Baek 1d236bfa81 refac 2026-12-02 03:14:49 +04:00
Classic298 f284531049 fix: visible rings around the chat input on the new chat page in dark mode (#35475)
In dark mode the soft glow behind the input on the new chat page shows up as rings around it. The glow has the same color as the page, but because it is faint and blurred, the browser draws it as a few flat steps slightly darker than the page. The glow is now off in dark mode, which removes the rings and changes nothing else on a plain dark page. With a chat background image, the input stays readable on the dark overlay the page already puts over the image.

Fixes #35470
2026-12-02 02:21:49 +04:00
Timothy Jaeryang Baek 3444914615 refac 2026-12-02 01:54:24 +04:00
Classic298 a69c0e2141 fix: audio and video attachments show no transcript when opened from a chat (#35469)
Since files from a chat open in a tab beside it, an audio or video attachment only showed its player there, so the transcript made by speech-to-text could not be read anywhere in the chat. The tab now shows the transcript below the player, as the file pop-up's Content tab did before.

Fixes #35459
2026-12-02 00:14:41 +04:00
G30 8c5302e038 i18n: fill missing translations in 5 languages (#35468) 2026-12-02 00:14:19 +04:00
Classic298 2cdadde8f7 fix: PDF previews are blank in Safari before 26.2 (#35454)
PDF previews showed a blank page in Safari versions older than 26.2, while the same file uploaded fine and rendered normally in Chrome and Firefox. The bundled PDF library only targets the newest browsers, so in older Safari it stopped with an error before drawing anything. Previews and the text extraction for PDFs attached in chat now use the library's build for older browsers, which is what pdf.js recommends for anything but the latest browsers, at the cost of a slightly larger download.

Fixes #35441
2026-12-02 00:13:48 +04:00
G30 c14fad77fb i18n: fill missing translations in 4 languages and fix 33 existing ones (#35461) 2026-12-01 21:39:17 +04:00
G30 0424628dff i18n: fill missing translations in 2 languages (#35457) 2026-12-01 21:00:14 +04:00
G30 5b7e1255c8 fix(a11y): the Legacy button no longer sits inside the Admin settings tab list (#35436)
The Admin part of the Settings sidebar was one tab list holding the
Legacy show and hide button among its tabs, so screen readers counted a
button that isn't a tab inside the list (WCAG 1.3.1 and 4.1.2).

The Admin part is now a group named Admin, with one tab list per
heading already shown in the sidebar: System, AI, Tools, Quality and
Data, each named by its heading, and Code Execution and Pipelines in a
Legacy tab list named by the Legacy button. The button sits between
the Tools and Legacy lists. Nothing moves on screen, and the Tab order
is the same. The Personal list is unchanged.
2026-12-01 20:00:20 +04:00
Classic298 422ab8304b fix: Ollama port check runs at startup even when Ollama is disabled (#35453)
With ENABLE_OLLAMA_API=false and no Ollama URL set, every startup still tried to connect to Ollama on ports 11434 and 12434 and logged that both were unreachable. On hosts that silently drop the connection this also held up startup for about a second. The check now only runs when Ollama is enabled.

Fixes #35442
2026-12-01 19:59:47 +04:00
Classic298 bde9278693 fix: chat freezes for seconds when scrolling inside an inline PDF preview (#35452)
Scrolling inside a PDF shown inline in a chat froze the whole page for seconds at a time, on phones and on desktop, and long chats had it worst. The cause was not in the PDF preview. A style rule meant only for the settings pages was active on every page and made the browser redo the styling of a whole chat message each time a piece of content was added to it, which a PDF preview does well over a hundred times per page. That rule only decides whether the mouse pointer turns into a hand over the name of a setting, and it is now written so that it no longer costs anything noticeable outside the settings pages. The settings look and behave as before.

<table>
<tr><th>Long chat with three inline PDFs, scrolling one PDF down and back up</th><th>Before</th><th>After</th></tr>
<tr><td>Time the browser spent redoing styles</td><td>15.1 s</td><td>0.24 s</td></tr>
<tr><td>Longest freeze, desktop</td><td>6.6 s</td><td>0.05 s</td></tr>
<tr><td>Longest freeze, phone sized screen with CPU slowed 4x</td><td>30 s</td><td>0.2 s</td></tr>
<tr><td>Frames per second, desktop</td><td>35</td><td>60</td></tr>
<tr><td>Adding one piece of content to a message</td><td>36 ms</td><td>under 1 ms</td></tr>
</table>

Fixes #35444
2026-12-01 19:58:39 +04:00
G30 b645d6a9c8 i18n: fill missing translations in 2 languages and fix 19 existing ones (#35455) 2026-12-01 19:57:55 +04:00
Timothy Jaeryang Baek 2e27a09fa6 refac 2026-12-01 04:38:55 +04:00
Timothy Jaeryang Baek 18f79d08c4 refac 2026-12-01 04:37:27 +04:00
Timothy Jaeryang Baek 9e447ce116 refac 2026-12-01 04:36:51 +04:00
Timothy Jaeryang Baek 5198d1be84 refac 2026-12-01 04:28:19 +04:00
G30 4799c6cccb fix(a11y): version, section and note chat buttons are named by the text they show (#35433)
Seven buttons had an aria-label that left out the text they show, so a
voice control user saying what is on screen could not click them
(WCAG 2.5.3): the prompt editor's History ("Live"), Select version in
the skill, tool, function and model editors ("Current", "Production"
or a version id), a note's chat Expand (the chat title) and the folder
page's Switch section ("Chats" and its count).

Each aria-label moves into an sr-only span after the visible text, as
in #33593, so the name starts with what the button shows: "Live
History", "Production Select version", "Chat Expand". The prompt
editor's span sits right against the visible text, so a space goes
between them. Nothing changes on screen.
2026-12-01 04:07:25 +04:00
G30 5714892bfd fix(a11y): checked task items in replies keep full contrast with Accessibility Mode on (#35429)
A checked task item's text is dimmed to opacity 0.55 on top of its
line-through, which takes it to 2.96:1 in the light theme, below the
4.5:1 that text needs (WCAG 1.4.3).

With Accessibility Mode on, the dimming is dropped and the line-through
stays, so the item still reads as done: 10.30:1 in light and 12.29:1 in
dark. The rule uses :where(html.high-contrast) like Dashboard's tab
color, so it only overrides the dimming. With Accessibility Mode off
nothing changes.
2026-12-01 04:06:55 +04:00
G30 7262681f9b fix(a11y): Calendar cells and What's new entries no longer read as broken lists (#35428)
Calendar's month, all-day and hour cells were role="list" with buttons
and event chips inside, so screen readers announced 42 lists with no
list items. They are drop targets, not lists; role="presentation"
keeps Svelte's interaction check satisfied without a list role.

Each What's new entry rendered its <li> inside plain divs, so 427 list
items had no list. Each section's entry container is now role="list",
the two wrapper divs are role="none" and the bullet dot is hidden from
screen readers, so every section reads as one list of its entries.
Nothing changes on screen.
2026-12-01 04:06:36 +04:00
Timothy Jaeryang Baek 3266144c3e refac 2026-12-01 03:22:11 +04:00
Timothy Jaeryang Baek 851d90c50a refac 2026-12-01 02:42:20 +04:00
Classic298 13a4d8af08 fix: the email field capitalises and autocorrects on iPhone (#35424)
Since email fields became plain text fields to allow addresses with non-ASCII characters, iPhone capitalised the first letter and autocorrected what was typed, on the sign-in and sign-up page and in the admin's Add User and Edit User dialogs. Those email fields now turn capitalisation, autocorrect and spellcheck off, as an email field did before.

Fixes #35415
2026-12-01 02:40:35 +04:00
Classic298 356c6d86af fix: turning on notifications on Android hides the in-app toast too (#35421)
Chrome on Android does not let a page create a notification directly and throws instead, and that error also stopped the in-app toast. A user who turned on notifications there got neither a popup nor a toast when a reply finished in another chat or a channel message arrived. The failed system notification is now skipped and the toast shows as usual.

Fixes #35408
2026-12-01 02:40:18 +04:00
Classic298 f6e7d221e1 fix: the full-screen image viewer is taller than the screen in mobile Safari (#35423)
The image viewer took the full screen height including the part behind Safari's toolbars, so the image sat off-centre and the bottom of a tall image was cut off. It now fits the visible screen, as the other dialogs already do. The expanded message editor had the same extra height and now fits the visible screen too.

Fixes #35411
2026-12-01 02:39:41 +04:00
Classic298 4a1384eb48 fix: remove a leftover debug log from the expanded message editor (#35420)
The expanded message editor logged its whole content to the browser console on every change. That leftover debug output is removed.
2026-12-01 02:39:26 +04:00
Classic298 9f7baf5540 fix: a long confirm dialog on a phone hides its Confirm and Cancel buttons (#35419)
When a function or tool asked for confirmation or input with a message longer than the screen, the dialog was cut at the screen height and could not be scrolled, so its Confirm and Cancel buttons were out of reach. The dialog now scrolls, the way the bottom sheet already does.

Fixes #35414
2026-12-01 02:33:47 +04:00
Classic298 0d71ed03bb fix: the installed app's launch screen flashes a blue-grey that is not the app's colour (#35418)
The generated web app manifest set #343541 as the background colour, so every launch of the installed app on Android flashed a blue-grey used nowhere else in the app, and it set no theme colour. Both now use the app's own dark background, the same colour as the page's theme colour.

Fixes #35410
2026-12-01 02:33:30 +04:00
Classic298 35564622fe fix: event webhooks subscribed to a renamed event vanish after upgrading (#35417)
Several events were renamed, and admin event webhooks saved under the old names were treated as invalid: they disappeared from the webhook list, stopped firing, and were deleted the next time any webhook was saved. Creating a notification target with an old name was refused as well. Old event names are now accepted and translated to the new ones, for event webhooks and notification targets alike, as was already done for an earlier rename.

Fixes #35413
2026-12-01 02:33:19 +04:00
Timothy Jaeryang Baek d56c3f304c refac 2026-12-01 02:21:33 +04:00
Timothy Jaeryang Baek 275c4d2817 refac 2026-12-01 02:20:32 +04:00
Timothy Jaeryang Baek 48af5daa1c refac 2026-12-01 02:16:04 +04:00
Timothy Jaeryang Baek 4a51726230 refac 2026-12-01 01:58:55 +04:00
Timothy Jaeryang Baek 9e90240c61 refac 2026-12-01 01:55:54 +04:00
Classic298 4fce9764f9 fix: text-to-speech and speech-to-text fail on Windows for text outside the system code page (#35096)
On Windows with a non-UTF-8 code page like cp1252, reading a message aloud or transcribing audio returned a 500 with "'charmap' codec can't encode character" whenever the text held characters the code page lacks, such as arrows, CJK or emoji. The audio or transcript had already come back from the provider, but saving its cache file failed because the file was written in the Windows code page. These cache files are now always written as UTF-8, so the request succeeds on any Windows language setting. Text-to-speech through an OpenAI connection had the same problem and is fixed too. It only showed up once ENABLE_ORJSON became the default.

Fixes #35087
2026-12-01 01:49:18 +04:00
G30 fc3bb0c6bd fix: blank lines in a sent message no longer carry two spaces (#35355)
* fix: blank lines in a sent message no longer carry two spaces

* fix: keep blank lines typed with Shift+Enter in comments

The comment box rebuilds its Markdown in onValueChange and reloads the editor when that differs from the serialized value. Clear the two-space line there too, so a second hard break no longer makes them differ and drop the blank line.
2026-12-01 01:43:05 +04:00
Classic298 b1c40acbb1 fix: chat stops auto-scrolling in Safari once a reply renders formatting (#35407)
On iPhone and in Safari, Response Auto-Scroll turned itself off partway through a reply, so the rest of the reply ended up hidden below the message input. When raw text turns into formatted content such as a table, Safari briefly jumps the chat up a little on its own, and the app took that jump for the user scrolling up. That jump no longer turns Auto-Scroll off, and scrolling up with a finger or the mouse wheel still does.

Fixes #33444
2026-12-01 01:28:35 +04:00
Classic298 786f618fd5 perf: a Files tab that is not on screen still draws its whole file list (#35090)
A Files tab drew every row of its file list even while it sat hidden behind another tab or in a collapsed side panel. Every switch into a folder or chat that has a Files tab open rebuilds that tab, so the switch kept the page busy drawing rows nobody could see. A Files tab now draws its list the first time it is shown, and everything else about it (its folder, open file, unsaved edits) loads as before.

<table>
<tr><th>Switch from a chat outside a folder into one of its chats, Files tab of 201 entries hidden behind it, 4x CPU slowdown, median of 5</th><th>Before</th><th>After</th></tr>
<tr><td>Main thread blocked</td><td>1.31 s</td><td>0.85 s</td></tr>
<tr><td>File rows drawn</td><td>201</td><td>0</td></tr>
</table>

Fixes #35088
2026-12-01 01:25:25 +04:00