Commit Graph

327 Commits

Author SHA1 Message Date
Will Chen
b044acb61f Polish chat input UX (#388) 2025-06-11 14:39:55 -07:00
Will Chen
c1aa6803ce Click to edit UI (#385)
- [x] add e2e test - happy case (make sure it clears selection and next
prompt is empty, and preview is cleared); de-selection case
- [x] shim - old & new file
- [x] upgrade path
- [x] add docs
- [x] add try-catch to parser script
- [x] make it work for next.js
- [x] extract npm package
- [x] make sure plugin doesn't apply in prod
2025-06-11 13:05:27 -07:00
Will Chen
fa80014e16 Remove budget saver mode (#378)
This code was quite complex and hairy and resulted in very opaque errors
(for both free and pro users). There's not much benefit to budget saver
because Google removed 2.5 Pro free quota a while ago (after it
graduated the model from experimental to preview). Dyad Pro users can
still use 2.5 Flash free quota by disabling Dyad Pro by clicking on the
Dyad Pro button at the top.
2025-06-10 13:54:27 -07:00
Will Chen
534cbad909 Allow manual context management (#376) 2025-06-10 13:52:20 -07:00
Will Chen
66f1bf2077 Update system prompt to avoid mixed-case directories (#374)
#347
2025-06-09 17:32:01 -07:00
Will Chen
b3f1802924 Finetune model picker UI (#375) 2025-06-09 16:10:19 -07:00
Will Chen
ac98a52ab1 Fix unit test & run in CI (#372) 2025-06-09 15:23:10 -07:00
Will Chen
34ea593928 Fix bug with copy app (#371)
Fixes #361
2025-06-09 14:58:55 -07:00
Will Chen
c2696cf1f9 Better error logs when reporting bug/uploading chat session (#370)
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
2025-06-09 14:56:22 -07:00
Will Chen
8d9962ddfc do not show release notes under e2e tests (#369) 2025-06-09 14:16:50 -07:00
Will Chen
ddce3c65d3 Lower max tokens for anthropic (#367) 2025-06-09 13:44:13 -07:00
Will Chen
1a39238ecf Use max retries 3 when there's no backup clients (#339)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-06-09 13:43:54 -07:00
Will Chen
91cfbbe36e Fix supabase prompt (#355) 2025-06-06 14:16:54 -07:00
Will Chen
4907fcafd8 E2E test for fixing errors (#351) 2025-06-05 23:29:52 -07:00
Will Chen
d3fbb48472 Copy app (#349)
Fixes #12
2025-06-05 22:26:17 -07:00
Will Chen
6a8c90a15b Update system prompt to reduce Dyad hallucinating imports (#344)
Fixes #342
2025-06-05 16:55:46 -07:00
Will Chen
0123e68dda Instrument extra files warning (#345)
https://github.com/dyad-sh/dyad/issues/244
2025-06-05 15:24:31 -07:00
Will Chen
16bf0828f5 Fix stale app UI (supabase) & overall E2E test infra improvements (#337)
Fixes #269
2025-06-04 23:07:59 -07:00
Will Chen
7f410ce830 Better supabase error message (#336)
Fixes #287
2025-06-04 22:22:00 -07:00
Will Chen
3558663ab7 Support native Git (experimental) (#338) 2025-06-04 21:37:05 -07:00
Will Chen
2ba22e83e7 dyad pro users who disable it shouldn't see nudge messages (#330)
Fixes #272
2025-06-03 23:58:34 -07:00
Will Chen
9d1a0f7ad7 pro: show remaining credits (#329)
Fixes #265
2025-06-03 23:46:35 -07:00
Will Chen
0f4e532206 Clean package.json & rebaseline snapshots (#328) 2025-06-03 23:28:06 -07:00
Will Chen
e060f780b9 Use npm install --legacy-peer-deps (#326)
Fixes #309 

Unfortunately a lot of React.js apps have this problem with peer deps
because older dependencies specify pre-v19. Because Dyad app templates
do (and should) explicitly specify React as a dependnecy, using
`--legacy-peer-deps` gives us the right behavior where it effectively
does not install peer deps and avoids the React version errors.

For pnpm, we have an explicit lockfiles for our templates so there isn't
an issue.

Context:
https://stackoverflow.com/questions/66239691/what-does-npm-install-legacy-peer-deps-do-exactly-when-is-it-recommended-wh

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-06-03 22:26:39 -07:00
Will Chen
b8f7490288 Stabilize E2E test by alphabetically sorting files for context (#321) 2025-06-03 17:58:59 -07:00
Will Chen
fc1ebe9e8a e2e tests for engine (#322) 2025-06-03 16:11:16 -07:00
Will Chen
7235eab227 Make CI run cross-platform (#295) 2025-06-03 13:04:16 -07:00
Will Chen
5802c39825 Rename app E2E (#315) 2025-06-02 22:46:35 -07:00
Will Chen
1dde72e776 Delete app E2E (#313)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-06-02 22:06:21 -07:00
Will Chen
667fc42af4 Import e2e (#311) 2025-06-02 21:39:51 -07:00
Will Chen
0a8e40c73c Rebuild e2e (#310) 2025-06-02 17:36:36 -07:00
Will Chen
3499fabab3 Telemetry e2e test (#308) 2025-06-02 16:19:47 -07:00
Will Chen
e905e9e10f refresh e2e (#307) 2025-06-02 15:53:06 -07:00
Will Chen
c0adf8d3f2 Attach image e2e tests (#301) 2025-06-01 00:44:19 -07:00
Will Chen
440482356b undo e2e (#300) 2025-05-31 23:59:55 -07:00
Will Chen
54af09a041 Approve & reject proposal e2e (#298) 2025-05-31 23:35:33 -07:00
Will Chen
8a743ca4f5 LM studio e2e test (#297) 2025-05-31 23:04:28 -07:00
Will Chen
af7d6fa9f8 Create ollama e2e test (#296) 2025-05-31 22:01:48 -07:00
Will Chen
647fd0169e make it easy to write multiple e2e tests (#280) 2025-05-29 00:03:51 -07:00
Will Chen
509e044137 Boilerplate free tests (#277) 2025-05-28 22:55:54 -07:00
Will Chen
d6c71ef808 Normalize Windows-style path for dyad tags to prevent Git issues (#262) 2025-05-27 14:47:49 -07:00
Will Chen
a915d892f7 Support Next.js template & template hub (#241) 2025-05-27 00:16:30 -07:00
Will Chen
8cfd476ea9 Fix engine enabled (#255) 2025-05-27 00:10:49 -07:00
Will Chen
e1344d55b0 refresh app (so code files is updated) on git checkout (#250) 2025-05-26 11:58:18 -07:00
Will Chen
cdf2f5d772 Show a loading bar when checkout is happening (#249) 2025-05-26 11:51:00 -07:00
Will Chen
2bb8902b08 Remove force from git checkout & unselect version if checkout fails (#248)
#247
2025-05-26 11:35:36 -07:00
Will Chen
9e50aa259e Add Claude Sonnet 4 + o4-mini (#237) 2025-05-23 15:45:20 -07:00
Will Chen
644012c9a5 Simple playwright e2e test (#234) 2025-05-23 10:44:52 -07:00
Will Chen
9d046834d7 Lower default context size to 3 (#233) 2025-05-22 21:47:22 -07:00
Will Chen
e119a670ec Provide a button to clear session data (#231)
Fixes #214

---------

Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
2025-05-22 16:36:45 -07:00