Commit Graph
180 Commits
Author SHA1 Message Date
Timothy Jaeryang Baek 97bb6b3223 refac 2026-11-17 22:04:44 +09:00
Timothy Jaeryang Baek 7e91c04125 refac 2026-11-17 22:04:06 +09:00
Classic298 6ac7d11a3f fix: Refresh in Files keeps the old list when the terminal cannot list the folder (#34551)
When the terminal refused to list the open folder, for example after its API key changed, pressing Refresh above the Files list kept the old entries on screen and said nothing. Refresh now clears the list and any ticked items and shows "Failed to load directory. Check your Terminal connection in Settings → Integrations.", the same as opening the folder does, and the next Refresh lists the folder again once the terminal answers. The list also reads itself again after a sort change, showing hidden files, a file change or a change on the terminal, and those reads show the same message when they fail.

Fixes #34550
2026-11-17 02:39:47 +09:00
Timothy Jaeryang Baek 9a379eaa73 refac 2026-11-17 01:21:35 +09:00
Timothy Jaeryang Baek b4cc5b0afe refac 2026-11-17 01:13:22 +09:00
Classic298 4e47a27100 fix: an unsaved edit in a terminal file is lost when another chat is opened (#34135)
* fix: an unsaved edit in a terminal file is lost when another chat is opened

An edit typed into a file opened from the terminal's Files tab and not saved yet was gone after opening another chat and coming back: the file's tab showed the last saved version and lost its unsaved mark, without any warning. The app keeps such an edit in memory when you leave a chat, but a second copy taken while the chat was being closed, when the editor was already gone, overwrote it with one that had no edit in it. Now the edit and its unsaved mark are back when you return to the chat, the same as after switching to another tab in the same chat.

Fixes #34107

* fix: a workbook saved while leaving the chat comes back on its first worksheet

When a workbook save was still running as you switched to another chat, the workbook came back on its first worksheet instead of the one you had open. The late save result now keeps the rest of the file's view, so the worksheet you were on is still selected when you return.

* fix: an unsaved edit in a terminal file is lost when another chat is opened

Shortens the note on why the file view keeps its last full state after the chat is closed.

* Say why the view is reused after teardown

* Name the kept view like the file's other remembered values
2026-11-17 00:55:26 +09:00
Timothy Jaeryang Baek 8d7a8dbe54 refac 2026-11-17 00:47:42 +09:00
Timothy Jaeryang Baek e5aa83b847 refac 2026-11-16 23:06:08 +09:00
Classic298 ed3bacab50 fix: the file browser's right-click menu opens outside the window near the lower or right edge (#34125)
* fix: the file browser's right-click menu opens outside the window near the lower or right edge

A right click on the empty part of the Files list opened its menu down and to the right of the pointer whatever space was left, so near the lower edge of the window most of its entries were out of reach and near the right edge it was cut off. The menu now opens upwards when there is no room below the pointer and to the left when there is no room to its right, so all of it stays inside the window.

Fixes #34097

* fix: the file browser's right-click menu opens outside the window near the lower or right edge

Writes the menu placement the same way the Ask about this file box already does.
2026-11-16 22:40:56 +09:00
Classic298 6238d5456b feat: outline of a Markdown file's headings in the terminal file preview (#34494)
* feat: outline of a Markdown file's headings in the terminal file preview

Long Markdown files in a terminal's Files preview could only be navigated by scrolling, which gets slow in a report with hundreds of sections. The preview toolbar now has an Outline button that lists the document's headings, indented by level, and picking one with the mouse or keyboard jumps straight to that section. The button shows only for Markdown files that have headings, and not in the Source view.

* feat: show the Outline button on every Markdown file

The Outline button in a terminal's Files preview only appeared when the file had headings, and the check that decided this missed some headings and counted front matter as one. It now shows on every Markdown file outside the Source view, and for a file without headings the list shows "No results".

* Leave the English catalog out of the outline change

* Keep the English catalog as it is on the base
2026-11-16 22:25:41 +09:00
Timothy Jaeryang Baek 205c2e97ce refac 2026-11-16 21:10:30 +09:00
Timothy Jaeryang Baek abcebd7d0d refac 2026-11-16 20:02:16 +09:00
G30 3799e5d29d fix: the file viewer keeps the file's size after Refresh, Back or Forward instead of showing 0 B (#34459) 2026-11-16 15:31:30 +09:00
Timothy Jaeryang Baek 0c1d607ee8 refac 2026-11-14 21:32:38 +09:00
Timothy Jaeryang Baek 694dc9796c refac 2026-11-14 01:15:47 +09:00
Timothy Jaeryang Baek 6378f94a65 refac 2026-11-14 00:45:43 +09:00
Timothy Jaeryang Baek 4720ff19e7 refac 2026-11-13 17:36:00 +09:00
Timothy Jaeryang Baek 6f2fc7bc7a refac 2026-11-10 21:18:18 +09:00
Classic298 eb2a3a6a21 fix: Files tab stays on the old terminal after switching terminals (#33954)
Picking a different terminal for a chat left the open Files tab showing the previous terminal's folder and files, while the chat itself was set to the new terminal. Seeing the new terminal's files meant opening Files again from the + menu. The Files tab now moves to the newly picked terminal and shows its files, as the file browser did in 0.12. With a terminal set to Per chat, the tab shows that chat's own files once the first message creates the chat.

Fixes #33951
2026-11-09 07:10:40 +09:00
Timothy Jaeryang Baek 241c8c0e47 refac 2026-11-08 22:07:47 +09:00
Timothy Jaeryang Baek 3797ce419b refac 2026-11-08 15:52:44 +09:00
Timothy Jaeryang Baek 555125b369 refac 2026-11-08 14:58:56 +09:00
Timothy Jaeryang Baek 0b7e7b3f70 refac 2026-11-08 14:38:53 +09:00
Timothy Jaeryang Baek 10f1226f09 refac 2026-11-08 14:35:59 +09:00
Timothy Jaeryang Baek a9478213a2 refac 2026-11-08 13:32:23 +09:00
Timothy Jaeryang Baek 21da7627b9 refac 2026-11-08 12:46:16 +09:00
Timothy Jaeryang Baek 8721605ad8 refac 2026-11-08 01:54:58 +09:00
Timothy Jaeryang Baek c340b5f3e0 refac 2026-11-08 01:51:37 +09:00
Timothy Jaeryang Baek 686307f757 refac 2026-11-08 01:33:20 +09:00
Timothy Jaeryang Baek 8a8e42d172 refac 2026-11-08 00:03:38 +09:00
Timothy Jaeryang Baek aba5467aad refac 2026-11-07 23:02:38 +09:00
Timothy Jaeryang Baek 35defe6377 refac 2026-11-07 22:58:13 +09:00
Timothy Jaeryang Baek 9c4e7bb0ad refac 2026-11-07 22:55:43 +09:00
Timothy Jaeryang Baek b5eaa59d0a refac 2026-11-07 22:51:09 +09:00
Timothy Jaeryang Baek d61a91700a refac 2026-11-07 22:07:22 +09:00
Timothy Jaeryang Baek d821e78756 refac 2026-11-07 21:58:28 +09:00
Timothy Jaeryang Baek a47f44e551 refac 2026-11-07 21:50:59 +09:00
Timothy Jaeryang Baek 5f179a7839 refac 2026-11-07 21:45:08 +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
Timothy Jaeryang Baek 638c603bb9 refac 2026-11-07 01:02:15 +09:00
Timothy Jaeryang Baek c24c3d9145 refac 2026-11-06 23:08:31 +09:00
Timothy Jaeryang Baek b5e51064ef refac 2026-11-06 16:25:48 +09:00
Timothy Jaeryang Baek 70e4b9a52f refac 2026-11-06 14:40:46 +09:00
Timothy Jaeryang Baek 500ff30bb7 refac 2026-11-04 15:13:35 +09:00
Timothy Jaeryang Baek e9faf7509c chore: i18n 2026-11-03 17:28:00 +09:00
Timothy Jaeryang Baek c4eb444a04 refac 2026-11-02 11:09:51 +09:00
Timothy Jaeryang Baek d99ec1c02c refac 2026-11-02 08:48:51 +09:00