Commit Graph

86 Commits

Author SHA1 Message Date
Evan Simkowitz
c49050f6ed
Fix prettier formatting 2024-05-28 12:12:28 -07:00
Mike Sawka
cdaa85f92f
Merge pull request #7 from wavetermdev/sawka/wstore
WaveObj + objectservice + WaveObjectStore

New distributed object system for Wave. Every object has an otype + oid (oref), and can be persisted to the DB and gotten from the DB using those attributes. The frontend tracks a cache of objects (based on orefs) and the store is integrated with jotai atoms for use with react components.

The WaveObjectStore passes a new UIContext through to the backend, and will seamlessly handle updated/deleted objects passed back (updating the store).

The backend DB operations are now all generic. As the updates happen they update the context adding the updated/deleted objects to seamlessly pass them back to the client.

Simplified global.ts store. Have a new way to force an object to be present in the cache at the top level (await loadAndPin) along with integration with nice loading flags for async fetching (or integration with React.Suspense)
2024-05-27 16:40:26 -07:00
sawka
43f4efb7ba Merge remote-tracking branch 'origin/main' into sawka/wstore 2024-05-27 16:33:46 -07:00
sawka
3f45945cb4 delete block and close tab working 2024-05-27 16:33:31 -07:00
sawka
e6d7a4e674 app is working again. new structure for blocks. new useWaveObjectValueWithSuspense hook 2024-05-27 15:44:57 -07:00
sawka
abedca2364 setactivetab working, removed tombstones, created updatetype 2024-05-27 14:31:12 -07:00
sawka
b87786febf checkpoint -- generic updates, wave object store, new setup for initialization, atoms, etc. lots of progress 2024-05-27 13:59:58 -07:00
sawka
6d3f76cb74 fe now rendering workspace/tab from db. got useWaveObject working. need to work on updates 2024-05-27 00:47:10 -07:00
sawka
95ce1cc86d checkpoint on new objectservice 2024-05-26 23:05:11 -07:00
sawka
b1aaba2a37 moving hard to OID model 2024-05-26 11:59:14 -07:00
sawka
4ba78a1804 working on waveobj -- oids 2024-05-25 18:37:05 -06:00
Evan Simkowitz
7b6ae0492f
Add task plugin to recommended extensions 2024-05-24 18:08:24 -07:00
Evan Simkowitz
42af879e57
Fix broken taskfile 2024-05-24 17:59:58 -07:00
Mike Sawka
30ea4e3a7d
Merge pull request #6 from wavetermdev/evan/dev 2024-05-24 17:54:09 -07:00
Evan Simkowitz
108107c55e
fix package versions 2024-05-24 17:46:33 -07:00
Evan Simkowitz
9bbc39405e
Add configs from Faraday repo 2024-05-24 17:44:41 -07:00
sawka
134ba3c34c checkpoint on integratng wstore. moved to wails data structures, got immer working again, Window object, transitioned to generic DB ops, lots more 2024-05-24 15:08:24 -06:00
sawka
8173bc3c61 update blockservice to use wstore types 2024-05-22 09:23:16 -07:00
sawka
2317ce87f3 checkpoint 2024-05-21 21:15:11 -07:00
Mike Sawka
9e7e7af04a
Merge pull request #5 from wavetermdev/sylvie/preview-dir
Preview Directory
2024-05-21 16:03:42 -07:00
Sylvia Crowe
5f0afdce98 fix: import missing type 2024-05-21 14:57:16 -07:00
Sylvia Crowe
259bbf44db merge branch 'main' into sylvie/preview-dir 2024-05-21 13:49:49 -07:00
Sylvia Crowe
c8a8f108ba feat: configure resizable tables and basic styles 2024-05-21 12:14:04 -07:00
sawka
0eeacecc06 fix typescript errors, use wails models 2024-05-21 11:46:54 -07:00
Mike Sawka
c203b6b376
Merge pull request #4 from wavetermdev/sawka/new-bindings
new wails bindings format working
2024-05-21 11:36:02 -07:00
sawka
901334eb49 new wails bindings format working 2024-05-21 11:09:22 -07:00
Sylvia Crowe
304a54a994 feat: integrate react-table in directory view 2024-05-20 16:08:45 -07:00
sawka
f3383d1847 new wstore package, move core types to there. create a syncmap 2024-05-20 15:57:15 -07:00
sawka
5b2bb13542 waveterm.lock, and new appicon 2024-05-20 15:28:47 -07:00
Sylvia Crowe
72dbf94f9a feat: pass contents of directory to front end
This mainly focuses on passing directory info to the front end. It isn't
a complete version of that, but it's enough to plan out some details of
the styling
2024-05-20 11:39:23 -07:00
Mike Sawka
501b05a3e3
Merge pull request #3 from wavetermdev/sawka/new-blockstore
new blockstore
2024-05-20 09:21:43 -07:00
sawka
4f9429ed8a checkpoint, bug fixes 2024-05-19 23:48:08 -07:00
sawka
889fcac38d checkpoint, bug fixes 2024-05-19 23:27:21 -07:00
sawka
9129900a3e checkpoint, compiling again 2024-05-19 22:40:27 -07:00
sawka
4b58a871a7 prevent concurrent flushing 2024-05-19 12:42:05 -07:00
sawka
56a75d9a6a concurrent stress test, fix some bugs 2024-05-19 12:36:25 -07:00
sawka
4e54b8a9e1 working on flush, bug fixes, tests 2024-05-19 12:22:55 -07:00
sawka
1695ec46b1 checkpoint on blockstore 2024-05-19 00:26:53 -07:00
sawka
14772c8f61 more tests, cleaning up structure for flushing -- write intentions, dirty, and flushing. simplify/unify some operations 2024-05-18 22:29:44 -07:00
sawka
34b91445a9 more tests working on write intentions 2024-05-18 12:31:54 -07:00
sawka
cf8ae548e8 checkpoint, some wsh stuff 2024-05-18 11:09:27 -07:00
sawka
146bade6f1 streaming images, audio, and video 2024-05-16 22:48:23 -07:00
sawka
d34ccfd7ab process static command / block commands. setmeta, setview 2024-05-16 18:01:52 -07:00
Mike Sawka
70dd4a1e30
Merge pull request #2 from wavetermdev/sylvie/plotting
Plotting View
2024-05-16 17:47:32 -07:00
Sylvia Crowe
27dff6997f styles: update modal-sizing 2024-05-16 16:27:44 -07:00
sawka
cc4629f9e0 menus and windows 2024-05-16 14:00:39 -07:00
Sylvia Crowe
afd125a77e feat: integrate plots into new block setup 2024-05-16 13:54:15 -07:00
Sylvia Crowe
e54f134770 feat: restore unmodified plot on cancel 2024-05-16 13:42:49 -07:00
sawka
b721f59166 hook up close block to backend to remove the running process 2024-05-16 13:40:23 -07:00
sawka
91d7392c34 add a 'close block' button 2024-05-16 13:22:46 -07:00