Commit Graph

503 Commits

Author SHA1 Message Date
shallfun
7998a4fcc5 fix: preserve multimodal tool image exports 2026-04-30 00:03:13 +08:00
shallfun
3d491744f4 fix: skip hidden tool messages in exports 2026-04-30 00:03:13 +08:00
github-actions[bot]
3111334b3a chore: ci build 2026-03-01 15:24:37 +00:00
github-actions[bot]
097799ff66 chore: release userscript 2.30.0 userscript-v2.30.0 2026-03-01 23:24:07 +08:00
pionxzh
9c1ad6f6c0 feat: include project name in export all zip filenames
When exporting conversations from a project, the zip filename becomes
chatgpt-export-{format}-project-{normalized-name}.zip instead of the
generic chatgpt-export-{format}.zip.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 23:19:28 +08:00
pionxzh
df1af4bdf8 fix: improve shift select user experience 2026-03-01 23:07:37 +08:00
pionxzh
2fd3516993 fix: set a hard cap 100 on export conversations to avoid OOM 2026-03-01 23:07:13 +08:00
pionxzh
9ce72c0f05 fix: user need to select project first to load the conversation list 2026-03-01 22:36:56 +08:00
pionxzh
e927de3658 fix: stream conversation pages progressively to unblock Export All UI
With 400+ conversations the old code made 4+ sequential requests and
only rendered anything after all of them completed, freezing the dialog
for 10+ seconds with no interactable elements.

- Add optional `onBatch` callback to `fetchAllConversations` that fires
  after each page arrives, so callers can react incrementally
- Wire `onBatch` in ExportDialog to append each batch to state as it
  lands — first 100 conversations appear almost instantly
- Remove `loading` from the `disabled` guard so the user can select and
  export already-loaded conversations while remaining pages still fetch
- Show "Loading…" only when the list is empty (initial blank state);
  replace with a subtle italic sentinel at the bottom of the list while
  subsequent pages are still in flight
- Allow the project selector to be changed at any time during loading

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 22:05:27 +08:00
pionxzh
b31d5cd565 fix: add explicit ApiConversations type annotation to resolve TS7022
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 21:44:34 +08:00
pionxzh
0e1770356e fix: handle alphanumeric cursor pagination for project conversations
Project conversations API switched from numeric offsets to opaque
alphanumeric cursors. The old code discarded the cursor and fell back
to offset += limit, so only the first page was ever exported.

- Add `cursor?: string | null` to `ApiConversations` interface
- Update `projectConversationsApi` to accept `string | number` cursor
- Expose the API-returned cursor in `fetchProjectConversations`
- Use cursor-based advancement in `fetchAllConversations` for project
  requests, with numeric offset fallback for regular conversations
- Add early-exit guard when API returns neither total nor next cursor

Closes #341

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 21:42:10 +08:00
github-actions[bot]
425a115fab chore: ci build 2026-02-24 17:35:27 +00:00
github-actions[bot]
98032cfa2c chore: release userscript 2.29.5 userscript-v2.29.5 2026-02-25 01:34:58 +08:00
pionxzh
4300f4e81c fix: update script match for better coverage
closes #335
2026-02-25 01:30:03 +08:00
github-actions[bot]
fda9ea0ea0 chore: ci build 2026-02-19 17:37:17 +00:00
github-actions[bot]
83d0058aea chore: release userscript 2.29.4 userscript-v2.29.4 2026-02-20 01:36:47 +08:00
pionxzh
87e56790ee fix: add log on script startup for better debugging
#335
2026-02-20 01:30:22 +08:00
pionxzh
d659b9db83 fix: handle skipping thought/reasoning message
#309
2026-02-20 01:18:08 +08:00
pionxzh
ab01af10af fix: chatgpt changed from file service to sediment
fixes #333
2026-02-20 01:04:16 +08:00
pionxzh
c7ee6776fe fix: improve model name mapping 2026-02-20 00:49:37 +08:00
pionxzh
9452700c2b fix: load all projects with cursor
fixes #336
2026-02-20 00:31:39 +08:00
github-actions[bot]
2f8b34c4c9 chore: ci build 2026-02-05 22:14:43 +00:00
github-actions[bot]
680dd6cc15 chore: release userscript 2.29.3 userscript-v2.29.3 2026-02-06 06:14:18 +08:00
Eddy G
5f08862f38 fix: improve content reference handling for citations and entities
- Add support for alt_text content reference type (entity mentions)
- Fix Unicode normalization to include non-breaking hyphens and preserve newlines
- Render citations as inline links instead of footnotes
- Include all sources for multi-citations
- Fix HTML exporter to retain links instead of stripping them
2026-02-06 06:12:19 +08:00
github-actions[bot]
7eeccf6dbf chore: ci build 2026-01-18 06:19:25 +00:00
github-actions[bot]
a47f0da038 chore: release userscript 2.29.2 userscript-v2.29.2 2026-01-18 14:19:00 +08:00
pionxzh
54d4b6b15b fix: support navlist and handle content reference in text and html 2026-01-18 14:09:33 +08:00
Eddy G
748e1b9703 fix: parse citations and suppress 'thoughts' 2026-01-18 14:09:33 +08:00
github-actions[bot]
0baa7b12a5 chore: ci build 2025-07-25 02:31:35 +00:00
github-actions[bot]
c182b6a345 chore: release userscript 2.29.1 userscript-v2.29.1 2025-07-25 10:31:08 +08:00
finickyspider
f4c4a7f132 fix(api): fix project-level chat export stuck at "Loading"
Fixes #305
2025-07-25 10:30:29 +08:00
github-actions[bot]
d34a575689 chore: ci build 2025-07-03 16:17:35 +00:00
github-actions[bot]
c8f3b4e81f chore: release userscript 2.29.0 userscript-v2.29.0 2025-07-04 00:17:11 +08:00
Pionxzh
0b1109b0d1 fix: correct timestamp default 2025-07-04 00:07:10 +08:00
Pionxzh
e1d1a2f645 feat: support audio chat
closes #298
2025-07-03 23:47:38 +08:00
github-actions[bot]
832732b90c feat(export): make max-message-export configurable 2025-07-03 23:08:28 +08:00
github-actions[bot]
7e57605a21 chore: ci build 2025-06-08 19:20:46 +00:00
github-actions[bot]
32f1971767 chore: release userscript 2.28.1 userscript-v2.28.1 2025-06-09 03:20:23 +08:00
Pionxzh
87c2cb74ba fix: fix exporting markdown with timestamp
closes #296
2025-06-09 03:19:03 +08:00
Pionxzh
103b6170ff fix: fix toggle style 2025-06-05 01:14:07 +08:00
SukkaW
1cc4972760 refactor: replace eventemitter3 w/ mitt 2025-06-01 16:39:31 +08:00
github-actions[bot]
94824983fa chore: ci build 2025-05-11 16:15:11 +00:00
github-actions[bot]
b38cf3a503 chore: release userscript 2.28.0 userscript-v2.28.0 2025-05-12 00:14:44 +08:00
Jonathan Goren
cc89487c74 chore(i18n): add translations for project selection 2025-05-12 00:13:47 +08:00
Jonathan Goren
9ddd11f715 feat: add project support
Add support for getting project list. OpenAI
calls these 'gizmos' and they include custom GPTs
and other apps.
Only projects are supported for now.
Add project selection box in Export All dialog.
2025-05-12 00:13:47 +08:00
Pionxzh
d3b73cb4dd fix: fix button position disappeared on new sidebar layout
closes #290
2025-05-12 00:07:13 +08:00
github-actions[bot]
f5e810ccfb chore: ci build 2025-05-04 19:52:37 +00:00
github-actions[bot]
970259c158 chore: release userscript 2.27.2 userscript-v2.27.2 2025-05-05 03:52:12 +08:00
Pionxzh
f62bbbd5e6 fix: fix screenshot not work in latest layout
closes #287
2025-05-05 03:50:49 +08:00
github-actions[bot]
9dd55891de chore: ci build 2025-02-02 03:06:43 +00:00