Commit Graph

54 Commits

Author SHA1 Message Date
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
534cbad909 Allow manual context management (#376) 2025-06-10 13:52:20 -07:00
Will Chen
d3fbb48472 Copy app (#349)
Fixes #12
2025-06-05 22:26:17 -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
9d1a0f7ad7 pro: show remaining credits (#329)
Fixes #265
2025-06-03 23:46:35 -07:00
Will Chen
cdf2f5d772 Show a loading bar when checkout is happening (#249) 2025-05-26 11:51:00 -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
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
993c5417e3 Fix DB schemas (#138) 2025-05-12 21:51:08 -07:00
Will Chen
f5a6a1abca Delete custom provider (#137) 2025-05-12 17:31:03 -07:00
Will Chen
ea9301c771 Support delete custom model (#136) 2025-05-12 16:37:39 -07:00
Will Chen
477015b43d allow creating and listing custom language model (#134) 2025-05-12 16:00:16 -07:00
Will Chen
642895f0ba Allow creating custom providers (#132) 2025-05-12 15:04:42 -07:00
Will Chen
cd7eaa8ece Prep for custom models: support reading custom providers (#131) 2025-05-12 14:52:48 -07:00
Will Chen
c71638a508 Simplify handlers & IPC client: move from Result pattern to throwing errors (#120) 2025-05-09 15:14:12 -07:00
Will Chen
c203b1d009 make checkout version and revert version fit pattern (#118) 2025-05-08 23:23:24 -07:00
Will Chen
8d61659c60 Show error toast in centralized way for query (#117) 2025-05-08 22:32:50 -07:00
Will Chen
b6eeaab1bb migrate current branch to query pattern (#116) 2025-05-08 22:23:00 -07:00
Will Chen
34ac9df743 Refactor useVersions to @tanstack/react-query (#114)
working
2025-05-08 22:04:20 -07:00
Will Chen
2537fbb342 lint using oxlint (#106) 2025-05-08 17:21:35 -07:00
Will Chen
0d56651220 Run prettier on everything (#104) 2025-05-06 23:02:28 -07:00
Will Chen
7e48b74813 Put file editing behind an experiment (#98) 2025-05-06 12:59:49 -07:00
Will Chen
390496f8f8 Fix isAnyProvider and don't make it a hard block (#93) 2025-05-06 12:13:03 -07:00
Will Chen
c425daf893 Show warning if there's uncommitted changes (#92) 2025-05-06 11:07:31 -07:00
Will Chen
c1570e4469 Basic logic check for is provider setup (#84) 2025-05-05 15:09:37 -07:00
Will Chen
ac8ef73bee Support image/file attachments (#80) 2025-05-05 12:38:09 -07:00
Piotr Wilkin (ilintar)
5fc49231ee Add LM Studio support (#22) 2025-05-02 14:51:32 -07:00
Will Chen
3529627172 Undo chat history (#74) 2025-05-02 13:47:59 -07:00
Will Chen
18846946b5 De-flake preview iframe error msg removal (#69) 2025-05-01 23:18:19 -07:00
Will Chen
1327e64e52 Clear stale preview iframe errors (#65) 2025-05-01 22:48:43 -07:00
Will Chen
74003b9061 Log initial load (isPro) (#49) 2025-04-29 15:30:45 -07:00
Will Chen
37928a9017 Show release notes on startup (#44) 2025-04-29 11:02:27 -07:00
Will Chen
813f170c68 Prefill messages in main process and ensure loading state is always shown (incl. new chat) (#35) 2025-04-28 16:47:02 -07:00
Will Chen
9fb5439ecf Summarize into new chat suggested action (#34) 2025-04-28 16:14:12 -07:00
Will Chen
0d441b15ca Show token bar at bottom of chat input (#33) 2025-04-28 14:45:54 -07:00
Will Chen
b616598bab Add ollama support (#7) 2025-04-23 14:48:57 -07:00
Will Chen
42b759d85c Refresh UI when receiving deep link 2025-04-23 12:59:09 -07:00
Will Chen
ec43482d6c Basic Supabase OAuth integration & project-app binding 2025-04-23 12:59:09 -07:00
Will Chen
05dec6d140 set local storage upon reading or updating settings 2025-04-21 18:53:53 -07:00
Will Chen
ee3d2e7f4e Provide a rebuild option (restart w/ re-install node modules) 2025-04-21 16:46:10 -07:00
Will Chen
d8b52a5d5f Fix ts: random id generation 2025-04-21 16:21:33 -07:00
Will Chen
16d5320485 Enable opt-in telemetry 2025-04-21 12:49:54 -07:00
Will Chen
59de308e82 Automatically refresh app iframe 2025-04-18 14:22:13 -07:00
Will Chen
a4702f90b0 clean up proposal logic 2025-04-18 13:23:26 -07:00
Will Chen
639b3a320c basic suggested action scaffolding 2025-04-18 13:03:19 -07:00
Will Chen
b2e3631a29 Refactor chat input & properly update state for proposal 2025-04-18 12:32:57 -07:00
Will Chen
db7ac39c97 Fix message types 2025-04-18 12:04:37 -07:00
Will Chen
ebf8743778 Refresh proposal & loaders for proposal action 2025-04-18 11:52:21 -07:00