apps/outliner/.git
15 months agobug: unfolding a node doesnt save state origin/pouchdb
xangelo [Tue, 24 Jan 2023 20:38:22 +0000 (15:38 -0500)]
bug: unfolding a node doesnt save state

15 months agoadd help window, accessible via `?`
xangelo [Tue, 24 Jan 2023 17:11:17 +0000 (12:11 -0500)]
add help window, accessible via `?`

When you hit `?` in navigation mode you'll be dropped into "help" mode
which will display a list of all the keyboard navigation options.

There is also a "Help" link at the bottom of the page that displays this
as well.

15 months agoshortcut: $ to jump to end of contenteditable node
xangelo [Tue, 24 Jan 2023 16:11:17 +0000 (11:11 -0500)]
shortcut: $ to jump to end of contenteditable node

15 months agoadd dev script for starting webpack in watch mode
xangelo [Tue, 24 Jan 2023 05:51:48 +0000 (00:51 -0500)]
add dev script for starting webpack in watch mode

15 months agobug: deleting first child node with siblings loses cursor
xangelo [Tue, 24 Jan 2023 05:49:20 +0000 (00:49 -0500)]
bug: deleting first child node with siblings loses cursor

When we delete the first child node that has siblings, when we attempt
to get the `prevSibling` to place the cursor on - it technically selects
a `nodeContent` container that doesn't have a `data-id` attribute.

This fix ensures that it is only possible to select nodes that have a
`data-id` attribute.

15 months agoswap to relative paths for github pages
xangelo [Tue, 24 Jan 2023 04:45:25 +0000 (23:45 -0500)]
swap to relative paths for github pages

Github pages places this project at https://xangelo.ca/outliner which is
fine, but it requires a small change to the asset inclusion to swap to
relative paths.

15 months agoTest github pages auto-deploy
Angelo Rodrigues [Tue, 24 Jan 2023 04:43:18 +0000 (23:43 -0500)]
Test github pages auto-deploy

Attempt to use GitHub pages for deploying a static version of the site

15 months agoimplement outliner functionality
xangelo [Mon, 23 Jan 2023 15:28:50 +0000 (10:28 -0500)]
implement outliner functionality

The outliner supports standard outliner functionality including:
- Reordering nodes with their siblings
- Lower/Lifting nodes
- Folding any node

Everything is done via keyboard navigation and all nodes, by default,
support markdown.