- Added API for rendering item badges.
- Added API for rendering syntax highlighted body text.
- Added new allowed formatting elements in file format.
- Added vertical alignment guides (hide with LESS/CSS)
- Added Focus-in and Focus-out animations.
- Added “Group Items” command.
- Changed item mode selection to include item handle.
- Changed create a new child when focus-in on an item with no children.
- Changed runtime DOM structure, any custom styles likely need updating.
- Changed API to use ‘get’ style accessors to better match DOM conventions.
- Changed handle to Workflowy style. Its cleaner and I think might work better when using different icons to indicate different types.
- Fixed bug in some cases of shifting items to the left.
This download includes:
docs/index.htmlfor installation instructions and API docs. I think must open in Chrome or links don’t work because files don’t have extensions .
birch-outline-editorfolder contains the Birch outliner package that needs to be installed into Atom as describe in the docs.
Birch.bmlfile contains background and basic instructions for using the outliner. Open it in Atom once you’ve installed the Birch package and it should open as an outline.
This release makes a bunch of changes to the runtime DOM that make things more flexible going forward. As part of those changes it introduces a “Badges” UI concept. Badges are a place to display and interact with item attributes.
I’ve created a few inprogress/nonfinal/maybe/removed examples to help you get the idea. These all could have been deployed as separate atom packages (they are created with public birch API), but I’ve embedded them for now since updating atom packages is a pain until they are published to the atom package repo. If you want to see the code for these badges look into
Now (in item mode) if you press any of the 1-7 number keys the selected items will get a data-priority attribute set. There’s also a badge renderer for that attribute setup, so you should also see a small color badge applied to the end of the item.
I’ve also added three “status” commands. (replacing the previous “done” command) In item mode “s a” to set item active, “s c” to set item complete, and “s w” to set item waiting. Also just Spacebar to toggle complete. These commands all set the data-status attribute, and again there’s a badge renderer setup for that attribute that will render a badge in those cases.
There’s also a badge renderer setup for the data-tags attribute. That attribute should be set to a list of comma separated tag names, and you should see them rendered.
I haven’t had time to make any of the badges interactive yet, but that’s the idea going forward. For example clicking on a “tag” badge should filter the list by that tag. Or clicking on a “due data” badge should open a datetime widget allowing you to adjust the date, etc. They are intended to be mini UI’s for viewing and interacting with item attributes.