Mike Sawka
a51be0dc6a
Merge pull request #14 from wavetermdev/sylvie/backwards-nav
...
Preview Navigation Chrome
2024-06-03 16:25:35 -07:00
Sylvia Crowe
b12417101e
Merge branch 'main' into sylvie/backwards-nav
2024-06-03 15:55:48 -07:00
Sylvia Crowe
28d02f760c
feat: add background navigation bar
...
This allows traversal backwards in a preview block.
2024-06-03 15:50:51 -07:00
sawka
dcd6d04b0b
rpc checkpoint
2024-06-03 14:10:36 -07:00
sawka
f90554e87e
not found should return null
2024-06-03 13:43:50 -07:00
Sylvia Crowe
bf3a036df9
fix: recreate full directory path and fix hooks
...
This fixes two bugs. The first had to do with the path library not
working in prod. That involved making a simple version of it that works
in the meantime. The other is rendering a different number of hooks
which required moving hooks outside of an if statement.
2024-06-03 13:24:20 -07:00
sawka
f148d7fcf2
change to /wave/file, update blockid to zoneid
2024-06-03 13:22:44 -07:00
sawka
8f04e0163a
add pdf preview
2024-06-03 13:13:41 -07:00
sawka
c191fc8945
rename blockstore to filestore. rename blockid to zoneid.
2024-06-03 13:03:21 -07:00
Mike Sawka
f7c2897904
Merge pull request #12 from wavetermdev/sawka/wsh-1
...
wsh checkpoint -- adds codeedit
2024-06-03 11:46:39 -07:00
sawka
3c86bfea8d
integrate codeedit loader (just hello world for now)
2024-06-03 11:35:06 -07:00
sawka
394b9dce23
working on rpc server
2024-05-29 23:58:29 -07:00
sawka
45f20bb5c3
wsh rpc client
2024-05-29 23:17:23 -07:00
Mike Sawka
2472deb379
Merge pull request #11 from wavetermdev/sawka/use-blockstore
...
use blockstore, save/restore terminal state output (tab switching or app restart)
2024-05-29 00:30:52 -07:00
Mike Sawka
78f2358f47
Merge pull request #10 from wavetermdev/sylvie/directory-nav
...
feat: add basic directory navigation in preview
2024-05-29 00:29:55 -07:00
sawka
02cda396e8
restore terminal state when loading term view
2024-05-29 00:28:25 -07:00
Sylvia Crowe
b9f6da57f9
feat: add basic directory navigation in preview
...
Note: this does not add backwards navigation and will break if
attempting to open certain types of files.
2024-05-29 00:00:36 -07:00
sawka
30ef011338
add x-blockfileinfo and last-modified to blockfile handler
2024-05-28 22:54:49 -07:00
sawka
bff46d9822
write pty output to blockstore. initialize blockstore file on controller start. create frontend api to read the blockfile
2024-05-28 21:44:47 -07:00
sawka
bc18869b2e
restart block controllers for initial tab when creating a window as well
2024-05-28 21:11:50 -07:00
sawka
ae24e46ece
start blockcontrollers on switch tab
2024-05-28 21:08:00 -07:00
sawka
4d3ab0e822
install a shutdown handler
2024-05-28 18:34:10 -07:00
sawka
333a979529
hook up blockstore flusher
2024-05-28 18:27:38 -07:00
sawka
7a54b79bda
added getWaveObjectAtom
2024-05-28 17:17:52 -07:00
sawka
609f2ec85c
the useWaveObject() setter now writes back to the DB. make metadata setting generic
2024-05-28 15:41:03 -07:00
sawka
f184723354
add useBlockCache() -- can migrate from useBlockAtom
2024-05-28 14:26:43 -07:00
Evan Simkowitz
d1fb646ee4
Undo formatting of minified files ( #9 )
2024-05-28 12:24:49 -07:00
sawka
5edb882955
add an updatemetadata call to objectservice
2024-05-28 12:18:26 -07:00
Mike Sawka
6e6b5178c1
Merge pull request #8 from wavetermdev/evan/fix-formatting
...
Fix prettier formatting
2024-05-28 12:14:25 -07:00
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