-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat: add branching #2763
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add branching #2763
Changes from 7 commits
0751df4
161fc61
f8216d2
efc8855
d51ebdb
f5b677b
f4bc424
2bd9daf
b4d6f19
61a01e8
769610c
d394578
4727ebe
5eb19fc
8386d2d
b535762
7b353ff
3164ef6
9e7f4ee
2762f96
1cee486
02a7e13
4d54c8d
31fa8e2
232a149
b5994c9
d081fe6
6f9b760
2afd496
1a9c002
6da4516
8d6ef0b
f496fd3
7f288c2
7016ac1
4c6b93a
d052d11
869ccbe
174710c
cde9c70
2e55546
7ed4fab
d2de223
f097e2e
903edcd
bea665c
021803d
c870c34
4d9345b
4b3341c
6dc41f6
e07e71a
91e3b60
3b1b098
60e0bfb
c6ea50c
4cbb1d9
30639fb
61bdb5e
4513408
272481b
944a626
bb29a58
6d6e8ff
9f40c90
508de48
87997de
9c3f9a8
06423d7
7b57281
ed734c7
79ea8fe
5d2fecf
51aec4b
f1fa4dc
e48acf0
47ce11d
9840dcd
2475984
17dccd7
0510755
9af020b
333e6b4
ff5727c
f89a976
f686f5a
497ca80
f65f62d
7fcb024
a81b5bd
3c34ed4
fe37b4e
78f66e9
827ed20
fe0924f
226c07a
33446d9
6fb399e
74a0d7d
f337bfe
686e87c
c80bcab
fba64ff
c950022
75d904b
13a51c7
136ba15
80ff36f
0c51b3f
4784876
c29e0a8
5125fb3
f453d44
8152a03
6717f58
53aa1be
9687231
4ac6f57
f30abfe
61a60b6
e7088da
310a38e
be0f4e4
315aa3e
7e9c2f5
5e86dcc
afcb94a
ded1ee2
4eff157
3e34066
7e0c33c
0dca2a6
934a1b9
d30219f
374b85e
bac4eb0
9b6a602
53407b4
7f61893
3bb146c
6966a9a
dbf7140
38464dc
43a2ae0
67f4082
2b45cf0
94f2dfd
c6d5fc1
e4e4bf9
dcd7c8b
891c262
ef715b2
b9734f5
9672ff9
fa20e7d
571f14c
fd445ef
910cde2
ee177b8
84d21fd
02cfae5
53a8b66
efcc3e5
6073444
b2b3a69
7430c8d
4fe0c96
f1576ac
2a12ab6
d2c47af
970347f
2d24f19
e5666d0
70c143d
ac9bc3f
7eb5af7
cb43ed0
fa94c0f
a81eccb
a80ed34
ee90da8
480844f
1079873
3144720
0daf7c2
642f489
0c95c25
6d973f5
dffce62
75fb657
b4b337c
a15fbb5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,137 @@ | ||||||||
| import type { Branch } from '@onlook/models'; | ||||||||
| import { makeAutoObservable } from 'mobx'; | ||||||||
|
||||||||
| import { makeAutoObservable } from 'mobx'; | |
| import { toast } from '@onlook/ui/sonner'; | |
| import { makeAutoObservable, observable, runInAction } from 'mobx'; |
🤖 Prompt for AI Agents
In apps/web/client/src/components/store/editor/branch/manager.ts around line 4,
the MobX state isn't prepared for observable maps or safe async mutations;
update the import to include observable and runInAction from 'mobx' and (where
maps are created) wrap map creation with observable(...) so they become
observable maps, and wrap any async mutation code paths in runInAction(...) to
perform state changes inside MobX actions.
Uh oh!
There was an error while loading. Please reload this page.