apps/outliner/.git
14 months agoadd serve as dev dependency master origin/main
xangelo [Thu, 2 Feb 2023 15:54:48 +0000 (10:54 -0500)]
add serve as dev dependency

14 months agofix link colors so they are visible with the cursor
xangelo [Mon, 30 Jan 2023 16:12:16 +0000 (11:12 -0500)]
fix link colors so they are visible with the cursor

15 months agobug: only account for if the top of an elemnet is out of view
xangelo [Wed, 25 Jan 2023 18:52:28 +0000 (13:52 -0500)]
bug: only account for if the top of an elemnet is out of view

We were originally checking if the whole element was out of view, but
due to the nested nature of things, this was always. Instead we only
check to see if the top of the element is out of view. If it is, we
scroll it into view otherwise we assume that enough of the node is
visible for you.

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

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

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

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

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

15 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

15 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

15 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/

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

15 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

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.