46 Commits

Author SHA1 Message Date
sawka 8fb831fac6 focus selection stuff 2024-09-19 16:47:59 -07:00
Evan Simkowitz 708af7efde Move env vars to vite config 2024-09-19 12:37:16 -07:00
Evan Simkowitz 4c3496c5e1 Fix WebSocket compatibility with Rollup (#398) 2024-09-19 10:53:06 -07:00
Mike Sawka 3939648bbb fe wsh router + wsh client impl (#381) 2024-09-16 11:59:39 -07:00
Mike Sawka 566bf461ff implement img streaming (local and remote) for markdown (#348) 2024-09-06 12:59:28 -07:00
Evan Simkowitz 015ebf5dd5 Make textAtom and showTocAtom in Markdown element optional (#331)
Fix backwards-compatibility for the Markdown element by adding back the option to pass text directly to the element and make atom parameters optional.
2024-09-05 15:35:57 -07:00
Mike Sawka e3b7ab73c0 preview refactor for keyboard/focus (#303) 2024-09-02 16:48:10 -07:00
sawka 74f551b212 connstatus fix, update connection icons appropriately for status 2024-08-30 13:56:53 -07:00
Mike Sawka a104a6e446 new focus system part 1 (#290) 2024-08-29 16:06:15 -07:00
sawka bfab5e4223 detect single keypresses 2024-08-28 18:42:04 -07:00
sawka afcbb35341 countGraphemes and add debug package 2024-08-28 17:12:52 -07:00
Mike Sawka 8630e23239 new config system (#283) 2024-08-27 18:49:49 -07:00
Evan Simkowitz e527e2ab77 Add authkey header for requests to the backend (#256)
With this PR, Electron will generate a new authorization key that the Go
backend will look for in any incoming requests. The Electron backend
will inject this header with all requests to the backend to ensure no
additional work is required on the frontend.

This also adds a `fetchutil` abstraction that will use the Electron
`net` module when calls are made from the Electron backend to the Go
backend. When using the `node:fetch` module, Electron can't inject
headers to requests. The Electron `net` module is also faster than the
Node module.

This also breaks out platform functions in emain into their own file so
other emain modules can import them.
2024-08-21 15:04:39 -07:00
sawka e70e08e531 implement history functions for preview 2024-08-19 22:07:35 -07:00
Evan Simkowitz b0a09db4d1 Fix Cmd:W to delete block (#238) 2024-08-16 11:40:10 -07:00
Evan Simkowitz e85b0d205e New layout model (#210)
This PR is a large refactoring of the layout code to move as much of the
layout state logic as possible into a unified model class, with atoms
and derived atoms to notify the display logic of changes. It also fixes
some latent bugs in the node resize code, significantly speeds up
response times for resizing and dragging, and sets us up to fully
replace the React-DnD library in the future.
2024-08-14 18:40:41 -07:00
Evan Simkowitz 9e1460b9e1 Remove UUID library in favor of Crypto (#221)
This PR swaps usage of the `uuid` library for the built-in
`crypto.randomUUID` function, which is available in both NodeJS and the
browser. The built-in function is around 12x faster than the `uuid`
library. The strings produced by the built-in function are fully
compatible with the UUIDv4 standard, so it's an easy switch.
2024-08-12 21:20:13 -07:00
Evan Simkowitz 8ebdb58f4b Use button for update available banner (#202) 2024-08-06 16:48:25 -07:00
sawka c8cc1de2d4 add 'dev' label to application. also add 'un-magnify' icon when magnified 2024-08-01 13:46:06 -07:00
Red J Adaya 9233b3dbd7 modals component and model and TOS modal (#164)
Co-authored-by: Sylvia Crowe <software@oneirocosm.com>
Co-authored-by: sawka <mike.sawka@gmail.com>
2024-07-30 11:44:19 -07:00
Mike Sawka 551802dbd7 background support (from metadata). colors, gradients, images. (#168) 2024-07-29 11:55:10 -07:00
Mike Sawka 9df9c99fbd checkpoint on domain sockets + update background colors + transparency (#160) 2024-07-26 13:30:11 -07:00
Evan Simkowitz 9fb2e58b54 rename faraday to layout (#147) 2024-07-23 13:50:23 -07:00
Evan Simkowitz 238f4633c6 update license blurbs 2024-07-17 19:46:17 -07:00
Evan Simkowitz 4d29dd5b5f Rename endpoint functions 2024-07-17 18:49:27 -07:00