This repository was archived by the owner on Jan 16, 2026. It is now read-only.
Commit f78d748
authored
chore(deps)!: upgrade @kittycad/lib to v3, v2 was a Morty (#248)
* chore(deps)!: upgrade @kittycad/lib to v3, v2 was a Morty
- Migrate to v3 API, replace Models map with named types (User, TextToCad,
etc), update endpoints and tests, and use a proper isErr guard in billing
- Hardening: handle missing outputs in DownloadButton, safe prompt trim,
drop the "no models" placeholder; lockfile updated with new deps
BREAKING CHANGE: @kittycad/lib v3 removes the Models type map, use named
exports from @kittycad/lib instead and adjust related types accordingly
Signed-off-by: Jessie Frazelle <github@jessfraz.com>
* refactor(ui): migrate to TextToCad; mark generations with type, duh
- Migrate TextToCadResponse to TextToCad; store gens as type text_to_cad
- Drop unused PromptResponse import
Signed-off-by: Jessie Frazelle <github@jessfraz.com>
* feat(app): migrate to KittyCAD SDK, add toasts; less fetch, more purr
- Replace ad-hoc fetch calls with @kittycad/lib + createZooClient across
app and server, standardize responses
- Add toast system and ApiError parsing; handle missing user in UI
Signed-off-by: Jessie Frazelle <github@jessfraz.com>
* updates
Signed-off-by: Jessie Frazelle <github@jessfraz.com>
* refactor(GenerationList): Morty, stop juggling tokens, use pager API
- Drive infinite scroll with SDK pager (hasNext, next), fewer dupes
- Simplify token state, updateFetchedGenerations now takes an array
Signed-off-by: Jessie Frazelle <github@jessfraz.com>
* refactor(pagination): stop token hoarding, use local hasNext
- Remove nextPageTokens store and its localStorage persistence
- Use local hasNext in GenerationList; simpler scroll, clearer end check
Signed-off-by: Jessie Frazelle <github@jessfraz.com>
* refactor(endpoints)!: yeet remote API calls, keep local convert
- Prune dead endpoints and reexports, drop env usage
- Use TextToCad directly in submit-prompt to avoid indirection
BREAKING CHANGE: removed endpoints.convert, prompt, feedback, list,
view, viewNoModels, localFeedback
Signed-off-by: Jessie Frazelle <github@jessfraz.com>
* refactor(download): cut the middleman, call KittyCAD directly
- Remove /api/convert, call @kittycad/lib from client using Zoo token
- Simplify errors and toasts; clean imports, reindent with tabs
Signed-off-by: Jessie Frazelle <github@jessfraz.com>
* fix(app): kill lazy imports, use $page token, prune dead endpoints
- Static import @kittycad/lib and zoo client, use $page token
- Drop submit-feedback API and endpoints; calls go through @kittycad/lib
Signed-off-by: Jessie Frazelle <github@jessfraz.com>
* fix(types): any is dead, long live Uuid for conversation_id
- Align conversation_id to Uuid to satisfy @kittycad/lib
- Drop unused TextToCadResponseResultsPage import
Signed-off-by: Jessie Frazelle <github@jessfraz.com>
* refactor(generation-list): drop Uuid hack, type pager options, no BS
- Remove Uuid import and bogus conversation_id, align with pager API
- Type options as function param type, cleaner checks, no runtime change
Signed-off-by: Jessie Frazelle <github@jessfraz.com>
* chore(deps): refresh package-lock.json after updates (npm did a thing)
- Update @playwright/test 1.54.2, esbuild 0.25.x, rollup 4.46.x
- No application code changes
Signed-off-by: Jessie Frazelle <github@jessfraz.com>
* style(package): tabs over spaces, reindent package.json
- Whitespace only; no behavior or dependency changes
Signed-off-by: Jessie Frazelle <github@jessfraz.com>
---------
Signed-off-by: Jessie Frazelle <github@jessfraz.com>1 parent ab93182 commit f78d748
File tree
31 files changed
+420
-380
lines changed- src
- components
- lib
- routes
- (sidebarLayout)
- dashboard
- view/[modelId]
- api
- convert/[output_format]
- get-generation
- submit-feedback
- submit-prompt
- styles
31 files changed
+420
-380
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
58 | 67 | | |
59 | 68 | | |
60 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments