unsloth/studio/frontend
Daniel Han 0a1f0c2e78 fix(chat): address review feedback from Gemini, Codex, and internal review
1. ArtifactPanel textarea: use local state with onChange/onBlur instead
   of empty onChange handler that made the editor unwritable

2. Artifact emission: move store.addArtifact from render body into a
   dedicated ArtifactEmitter component using useEffect

3. searchText for new threads: write searchText during generateTitle
   so post-migration threads are searchable by content

4. PromptLibrarySheet: wire onInsertPrompt with clipboard fallback and
   toast notification; handle prompt() cancel (null) as abort

5. download.ts: defer URL.revokeObjectURL with setTimeout to avoid
   failed downloads on Firefox

6. DB migration: replace serial for-of await loop with Promise.all to
   prevent transaction timeout on large databases; skip empty text

7. handleDeleteFolder: use Dexie transaction with .modify() for atomic
   unfile-then-delete; use undefined instead of "" for unfiled folderId

8. Keyboard shortcuts: remove Cmd+Shift+F from help dialog since the
   handler is not wired

Also:
- Remove unused aui hook, SearchIcon import, and prompt-library imports
- Fix stale artifactPanelOpen closure in command palette toggle
- Fix JSONL export: remove non-standard feedback field from message
  objects; use application/x-ndjson MIME type
- Fix nested button in ArtifactTab: use div with role="tab"
- Use static db import instead of redundant dynamic import in adapter
- Log memory injection errors instead of silent catch
- Add cancelled flag to feedback useEffect to prevent stale setState
- Use functional setState in handleFeedback to avoid stale closure
- Add .catch() on feedback DB write
2026-03-25 10:47:17 +00:00
..
public studio: windows desktop shortcut launcher (#4558) 2026-03-24 23:41:02 -07:00
src fix(chat): address review feedback from Gemini, Codex, and internal review 2026-03-25 10:47:17 +00:00
.gitignore Final cleanup 2026-03-12 18:28:04 +00:00
.gitkeep add studio root folder 2026-02-02 09:14:35 +00:00
biome.json feat: add seed dataset support with configuration, preview, and builder utilities 2026-02-14 18:44:38 +01:00
bun.lock feat(chat): server-side timings, context display & source hover cards (#4467) 2026-03-20 23:42:01 -07:00
components.json add studio root folder 2026-02-02 09:14:35 +00:00
data-designer.openapi (1).yaml save and import, and fixes 2026-02-04 14:32:49 +01:00
eslint.config.js Final cleanup 2026-03-12 18:28:04 +00:00
index.html Final cleanup 2026-03-12 18:28:04 +00:00
package.json Fix tool call parsing, add tool outputs panel and UI improvements (#4416) 2026-03-18 08:28:02 -07:00
tsconfig.app.json Relax frontend unused local check (#4388) 2026-03-17 16:04:11 -07:00
tsconfig.json cleanup 2026-02-04 13:28:39 +01:00
tsconfig.node.json cleanup 2026-02-04 13:28:39 +01:00
vite.config.ts Fix Install commands for Windows + 1 line installs (#4447) 2026-03-19 02:09:09 -07:00