Commit Graph

272 Commits

Author SHA1 Message Date
Will Chen
05fb096348 Fix delete provider freezing UI (#468)
Fixes #394
2025-06-23 14:53:54 -07:00
Will Chen
9fbd7031d9 build ask mode (#444) 2025-06-19 10:42:51 -07:00
Will Chen
bd809a010d GitHub workflows (#428)
Fixes #348 
Fixes #274 
Fixes #149 

- Connect to existing repos
- Push to other branches on GitHub besides main
- Allows force push (with confirmation) dialog

---------

Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
2025-06-17 16:59:26 -07:00
Will Chen
382fe9bab5 support setting for writing supabase migration files (#427) 2025-06-17 15:14:02 -07:00
Will Chen
18843e1a2f Hide model fallbacks in error message (remove clutter for Pro) (#426) 2025-06-17 12:48:32 -07:00
Will Chen
2fc33d04c1 Make delete app better handled & revamp error toast (#422)
Fixes #395 
Fixes #270 
Fixes #268
2025-06-16 23:36:43 -07:00
Will Chen
f25f6c7631 debounce GitHub repo name check & show create repo error details (#418)
Fixes #366
2025-06-16 23:18:11 -07:00
Will Chen
3a6ab12bed Rotate messages in promo banner (show tips) (#420) 2025-06-16 17:11:02 -07:00
Will Chen
8abb399168 Show link to GitHub docs on error (#416) 2025-06-16 14:26:24 -07:00
Will Chen
007e0b2f22 Add pb-2 to HomeChatInput (#389) 2025-06-11 15:23:16 -07:00
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
b3f1802924 Finetune model picker UI (#375) 2025-06-09 16:10:19 -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
4907fcafd8 E2E test for fixing errors (#351) 2025-06-05 23:29:52 -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
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
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
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
509e044137 Boilerplate free tests (#277) 2025-05-28 22:55:54 -07:00
Will Chen
a915d892f7 Support Next.js template & template hub (#241) 2025-05-27 00:16:30 -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
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
Will Chen
830e4ece15 Remove max height from dyad think to avoid arbitrary cutoff (#230)
Fixes #207
2025-05-22 16:09:24 -07:00
Will Chen
731eef1b32 Disable fix ai error button if streaming (#221)
Fixes https://github.com/dyad-sh/dyad/issues/215
2025-05-21 17:21:38 -07:00
Will Chen
2508673077 Add promo link for pro mode selector (#219) 2025-05-21 15:37:29 -07:00
Will Chen
b520f7d97c turbo edits promo message (#218) 2025-05-21 15:30:41 -07:00
Will Chen
b3fa56288e Token bar promo message (#217) 2025-05-21 15:24:43 -07:00
Will Chen
618fed8523 Show promo messages for relevant AI errors (#216) 2025-05-21 15:23:51 -07:00
Will Chen
be8252c130 Skip AI rules generation if it already exists upon import (#204) 2025-05-19 22:42:02 -07:00
Will Chen
b4b9556e2c Add a keep going suggestion (#201) 2025-05-19 15:38:33 -07:00
Will Chen
cbfe26bac1 Rename branch (#199)
This is more important now that import app is available and not every
git repo will be initialized with `main` as the default branch. This
handles the other common case which is the `master` branch.
2025-05-19 14:41:18 -07:00
Will Chen
6e08bc5c62 Import app (#189)
Fixes #163
2025-05-19 14:03:10 -07:00
Will Chen
b5671c0a59 Auto-commit extra files (#197)
Whenever Dyad does a commit from a proposal, it will automatically amend
the commit with outside changes (e.g. made outside of Dyad).

This helps avoid a lot of user confusion, e.g.
https://github.com/dyad-sh/dyad/issues/187

https://www.reddit.com/r/dyadbuilders/comments/1kjysc0/error_pushing_images/

Edge cases:
If a user adds a file outside of Dyad, and then they hit retry, it will
revert these outside changes, but it's still technically in the version
history, so I think it's OK. This should also be a pretty unusual
situation.

Fixes #164 
Fixes #187
2025-05-19 13:42:27 -07:00
Will Chen
5966dd7f4b Proxy server to inject shim (#178)
things to test:

- [x] allow real URL to open in new window
- [x] packaging in electron?
- [ ] does it work on windows?
- [x] make sure it works with older apps
- [x] what about cache / reuse? - maybe use a bigger range of ports??
2025-05-16 23:28:26 -07:00
Will Chen
63e41454c7 Explicit thinking (#183) 2025-05-16 22:35:08 -07:00
Will Chen
f9f33596bd Smart files context (#184) 2025-05-16 22:21:45 -07:00
Will Chen
9a288fd82e Fix local models (#176)
Fixes #167
2025-05-15 16:46:29 -07:00