Skip to content

Latest commit

 

History

History
56 lines (56 loc) · 2.09 KB

TODO.org

File metadata and controls

56 lines (56 loc) · 2.09 KB

Updating Lounge

  1. Use Rollup for bundling (why: https://medium.com/@PepsRyuu/why-i-use-rollup-and-not-webpack-e3ab163f4fd3)
  2. Rename project to Lounge
  3. Fix problems
  4. Write tests
  5. Gradually convert to Typescript (move from compiled JS to TS)
    1. [X] domCursor
    2. [-] editor
    3. [ ] fingertree
  6. Promote org-mode code so it’s no longer “example” code
    1. Remove lazy from example
    2. Convert to Typescript
      1. [ ] docOrg
      2. [ ] example
      3. [ ] org
  7. Update annotations, so views can persist across state changes
    1. Allows more practical embedding of Codemirror for src blocks
  8. generalize rerendering to tree structure that allows documents
    1. Store already keeps clones so it is immutable at any given time
    2. parse document to create blocks
      1. documents should be the source of truth for their blocks
    3. allow creating blocks outside a document
      1. An object tree that gets rendered
      2. Nodes can contain documents

To be done

better updating in the exmaple

  • only render necessary blocks

better fancy markup in the example

  • use handlebars?
  • hide headline stars
  • make code blocks fancier
  • hide code boilerplate

undo adapter for DataStore

  • can plug it into a different store (like Meteor)

Bugs

BUG spell check doesn’t work right

BUG undo/redo not implemented

capslock doesn’t work

Factor out drag/drop, clipboard, keyboard, and mouse bindings into separate methods

  • subclasses can override

drag/drop leaves a copy on dragging from one editor to another

drag/drop not implemented

home puts cursor before gray boxes

selections aren’t really handled

demoting the first headline to a chunk loses the rest of the doc

copy/paste lines doesn’t work

Defs