outliner.git
21 months agobug: stop scrolling page when moving through search results
xangelo [Wed, 25 Jan 2023 18:43:20 +0000 (13:43 -0500)]
bug: stop scrolling page when moving through search results

Disable scrolling the page when moving through search results. Will
auto-focus on result if it is off screen.

21 months agofix build missing env var
xangelo [Wed, 25 Jan 2023 18:37:10 +0000 (13:37 -0500)]
fix build missing env var

21 months agotext search of any node in the outliner
xangelo [Tue, 24 Jan 2023 20:31:09 +0000 (15:31 -0500)]
text search of any node in the outliner

By pressing `shift+f` you can open the search modal. Any text typed in
will debounce for 100ms before displaying results from all nodes (even
folded). You can use the arrow keys to navigate around between the
different search results.

Pressing `enter` will exit search, place the cursor on the highlighted
node in the search results, and expand the node path to the selected node.

21 months agoadd favicon
xangelo [Wed, 25 Jan 2023 16:20:04 +0000 (11:20 -0500)]
add favicon

21 months agomake collapsed/expanded bullets clearer
xangelo [Wed, 25 Jan 2023 16:03:01 +0000 (11:03 -0500)]
make collapsed/expanded bullets clearer

21 months agoshortcut: shift + x = toggle strikethrough and fade text
xangelo [Wed, 25 Jan 2023 15:21:08 +0000 (10:21 -0500)]
shortcut: shift + x = toggle strikethrough and fade text

21 months agobug: install all dependencies before build
Angelo Rodrigues [Wed, 25 Jan 2023 15:09:14 +0000 (10:09 -0500)]
bug: install all dependencies before build

21 months agobuild bundle.js in deployment to github pages
Angelo Rodrigues [Wed, 25 Jan 2023 15:07:49 +0000 (10:07 -0500)]
build bundle.js in deployment to github pages

Instead of committing the built file locally, this does the build in GitHub Actions/

21 months agoignore built js files
xangelo [Wed, 25 Jan 2023 14:56:02 +0000 (09:56 -0500)]
ignore built js files

21 months agoupdate build params
xangelo [Wed, 25 Jan 2023 14:54:34 +0000 (09:54 -0500)]
update build params

- Allow environment selection for prod deploys without sourcemaps
- Ignore any .txt files included with the source

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

21 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.

21 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

21 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

21 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.

21 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.

21 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

21 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.