Evan Simkowitz
b3b99402b8
Fix undefined error when unmounting resize observer ( #23 )
2024-06-06 11:27:33 -07:00
Evan Simkowitz
1bc4e0c594
Use resize observer to detect when the webview gets zoomed ( #22 )
...
I noticed that the display nodes weren't getting updated when the browser zoom level changed. I found that using ResizeObserver was a better mechanism to capture this signal.
2024-06-06 11:18:05 -07:00
Evan Simkowitz
f12e246c15
Break layout node into its own Wave Object ( #21 )
...
I am updating the layout node setup to write to its own wave object.
The existing setup requires me to plumb the layout updates through every
time the tab gets updated, which produces a lot of annoying and
unintuitive design patterns. With this new setup, the tab object doesn't
get written to when the layout changes, only the layout object will get
written to. This prevents collisions when both the tab object and the
layout node object are getting updated, such as when a new block is
added or deleted.
2024-06-05 17:21:40 -07:00
Evan Simkowitz
28cef5f22f
Add ready param to determine when to render content ( #19 )
2024-06-05 11:56:04 -07:00
sawka
cf85ad0980
debounce resize handler, fix useEffect() in term.tsx
2024-06-04 23:47:18 -07:00
Sylvie Crowe
2f2ff8a1cb
Extra Mimetypes ( #17 )
...
Vastly expands the list of mimetypes we can detect from file extensions.
2024-06-04 17:58:29 -07:00
Evan Simkowitz
29e209e0b0
Make layouts flow horizontally by default ( #18 )
2024-06-04 16:35:32 -07:00
Evan Simkowitz
c3e71c5c7d
Integrate Faraday layout system ( #16 )
...
Co-authored-by: Mike Sawka <sawka@users.noreply.github.com>
Co-authored-by: sawka <mike.sawka@gmail.com>
2024-06-04 13:05:44 -07:00
Sylvia Crowe
73d52b24f2
refactor: clean up unused custom css properties
...
This cleans up the unused/unnecessary css properties added around the
same time as the modal component. This mostly refers to variables that
started with --app. They have been removed and their uses have been
replaced with other defaults. The --warning-color and --success-color
properties still exist despite being unused since they seem to fit with
the --error-color which is already in use.
2024-06-04 10:30:27 -07:00
sawka
0b464cecfe
fix safari viewport zoom issue
2024-06-03 23:18:44 -07:00
sawka
6682fc9234
small change to tab bar
2024-06-03 22:26:12 -07:00
sawka
80f9447c21
remove some padding/margin, style scrollbars
2024-06-03 22:18:54 -07:00
sawka
0164851cf6
move ijson frontend/backend to nextwave
2024-06-03 18:25:12 -07:00
sawka
198b66ed7b
some styling for the directory table
2024-06-03 18:22:26 -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
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
3c86bfea8d
integrate codeedit loader (just hello world for now)
2024-06-03 11:35:06 -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
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
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
sawka
5edb882955
add an updatemetadata call to objectservice
2024-05-28 12:18:26 -07:00
Evan Simkowitz
c49050f6ed
Fix prettier formatting
2024-05-28 12:12:28 -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
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
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
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
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
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
Sylvia Crowe
27dff6997f
styles: update modal-sizing
2024-05-16 16:27:44 -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
Sylvia Crowe
cddaff4f7e
feat: add modals
2024-05-16 13:11:02 -07:00
sawka
eab6afb91a
create block using a blockdef. better controller control. preview that takes a file. atom caching per block. lots of updates
2024-05-16 00:29:58 -07:00
Sylvia Crowe
c82bc48aab
style: improve plot style with colors and position
...
This improves the styles surrounding the plot and the input box.
2024-05-15 14:50:42 -07:00
Sylvia Crowe
c826d8e840
fix: move plotblock to plotview
...
Plots should be types of views instead of blocks. This corrects that.
2024-05-15 13:36:50 -07:00
Sylvia Crowe
a093486607
merge branch 'main' into sylvie/plotting
2024-05-15 13:05:25 -07:00
Sylvia Crowe
e0a0273309
fix: switch input to textarea
2024-05-15 13:04:16 -07:00
Sylvia Crowe
1f85bfe944
fix: remove hardcoded data state
...
This adds an example that works to load in data properly without the
hard-coded data
2024-05-15 12:05:36 -07:00
sawka
86b2596214
terminal working, not prod ready, but it works
2024-05-14 23:25:21 -07:00
sawka
5b2a5eb5eb
resize observer + run an ls command
2024-05-14 22:37:19 -07:00
Sylvia Crowe
1290d56397
feat: allow user-supplied function to run plot
...
This allows user to customize their plot as desired. It does not allow
arbitrary data to be used yet.
2024-05-14 16:53:56 -07:00
sawka
35c6b232fc
round trip a message to the backend that updates the terminal fe component
2024-05-14 16:53:03 -07:00
Sylvia Crowe
a228267b43
feat: basic plotting example
...
This adds a basic plot to tabs in a naive, hardcoded way. This will be
updated to be more customizable.
2024-05-14 13:48:53 -07:00
sawka
91a3394602
load README.md into preview view
2024-05-14 12:29:41 -07:00
sawka
1db615bb3a
markdown preview
2024-05-14 09:37:41 -07:00
sawka
540f2fe0c0
more structure, store, types, views, global store to track tabs/blocks. two views
2024-05-13 23:45:41 -07:00
sawka
77a4987384
big reorg, move frontend to the top level, moves yarn, node_modules, vite, etc.
2024-05-13 21:42:25 -07:00
sawka
03262fdefa
working on more concepts, tabbar, ids, etc.
2024-05-13 15:40:52 -07:00
sawka
4529a7d07f
more tab/block structure
2024-05-13 15:10:31 -07:00
sawka
247b73c1e4
working on flex styles
2024-05-13 14:48:59 -07:00
sawka
a01b5a6bdd
split block into its own file, add fonts, add fontawesome, get xterm styles, get xtermjs loaded
2024-05-13 14:40:18 -07:00
sawka
d8367233da
give the app a bit more structure, workspace/tab/block
2024-05-13 13:59:44 -07:00
sawka
da03fbe8f2
blockstore setup/migrations, wavebase setup
2024-05-12 09:52:12 -07:00
sawka
79d6ac0403
initial commit. trim down and customize wails3 setup.
2024-05-09 20:24:24 -07:00