mirror of
https://github.com/flynx/pWiki.git
synced 2025-12-17 08:31:38 +00:00
notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
ec92d0ecf0
commit
fe5fd8f823
@ -142,23 +142,51 @@ var setup = function(){
|
|||||||
|text|text|text|
|
|text|text|text|
|
||||||
-
|
-
|
||||||
- ## ToDo:
|
- ## ToDo:
|
||||||
- Deployment:
|
- Time to think about a standalone client -- at least to edit own notes as a test...
|
||||||
- html
|
- _also this would be a nice opportunity to start the move to a newer electron version_
|
||||||
- constructor
|
- Deployment:
|
||||||
- events/callbacks
|
- html
|
||||||
- basic storage adapters (LocalStorage/SessionStorage, FileAPI, IndexDB???)
|
- constructor
|
||||||
- _...Did I say that I hate how they crippled the FileAPI to the point
|
- events/callbacks
|
||||||
that it is only usable for cool demos and not usable for any serious
|
- basic storage adapters (LocalStorage/SessionStorage, FileAPI, IndexDB???)
|
||||||
applications..._
|
- _...Did I say that I hate how they crippled the FileAPI to the point
|
||||||
- plugin API (???)
|
that it is only usable for cool demos and not usable for any serious
|
||||||
- web component
|
applications..._
|
||||||
collapsed:: true
|
- plugin API (???)
|
||||||
- tag/attrs
|
- web component
|
||||||
- events
|
collapsed:: true
|
||||||
- basic storage adapters
|
- tag/attrs
|
||||||
- plugin API (???)
|
- resolve issues and unify text containmet:
|
||||||
- file editor (electron/web)
|
- `value=...` attr
|
||||||
- notes (pWiki/electron/web)
|
quote escaping (editing html/export/save)
|
||||||
|
- tag body
|
||||||
|
escaping html stuff
|
||||||
|
escaping `</outline-editor>` in code
|
||||||
|
- custom escaping api per input/output stream/source...
|
||||||
|
- events
|
||||||
|
- basic storage adapters
|
||||||
|
- plugin API (???)
|
||||||
|
- XXX load issues???
|
||||||
|
- file editor (electron/web)
|
||||||
|
- notes (pWiki/electron/web)
|
||||||
|
- custom element / web component
|
||||||
|
- BUG: select via double/triple clicks does not work...
|
||||||
|
- _looks like something is refocusing the element..._
|
||||||
|
- BUG/race: the non-value versions of custom elem seem to sometimes get loaded as empty...
|
||||||
|
- DONE data interface:
|
||||||
|
collapsed:: true
|
||||||
|
- the "natural" way to pass data is to use the same mechanism as `<textarea>` the problem is that we can't extend `HTMLTextAreaElement` as it can not have shadow dom (reject?)
|
||||||
|
- adding an explicit textarea element is an odd requirement (reject?)
|
||||||
|
- seems that the least bad way to go is to use the `value` attribute
|
||||||
|
- DONE API: directly mixin Outline?
|
||||||
|
- DONE `.value` / `.code` should be both updated internally and also load new content when updated externally -- not yet sure how...
|
||||||
|
- events
|
||||||
|
- test nesting...
|
||||||
|
- Q: can we get rid of the editor block??:
|
||||||
|
- CSS breaks if we do...
|
||||||
|
- need to figure out a way to handle autofocus for host/editor uniformly
|
||||||
|
-
|
||||||
|
- ASAP: FEATURE: images as blocks...
|
||||||
- ASAP: expand sub-tree on follow link...
|
- ASAP: expand sub-tree on follow link...
|
||||||
- ASAP TEST: attributes: finalize base mechanics...
|
- ASAP TEST: attributes: finalize base mechanics...
|
||||||
- attributes: need to show/hide the attributes -- option?
|
- attributes: need to show/hide the attributes -- option?
|
||||||
@ -169,7 +197,7 @@ var setup = function(){
|
|||||||
- delete attr from code -- by removing it from attr list (when shown)...
|
- delete attr from code -- by removing it from attr list (when shown)...
|
||||||
- DONE BUG? can't set `''` as attr value -- parser??
|
- DONE BUG? can't set `''` as attr value -- parser??
|
||||||
- TOC: tweaking: add args like depth, ... -- as attributes...
|
- TOC: tweaking: add args like depth, ... -- as attributes...
|
||||||
- TOC: persistently generate as code
|
- TOC: persistently generate as code (option)
|
||||||
- ```
|
- ```
|
||||||
TOC
|
TOC
|
||||||
```
|
```
|
||||||
@ -191,14 +219,8 @@ var setup = function(){
|
|||||||
- DOM -- current
|
- DOM -- current
|
||||||
- text
|
- text
|
||||||
- DOM/JSON would require a post-load generation stage...
|
- DOM/JSON would require a post-load generation stage...
|
||||||
- simple use strategies:
|
|
||||||
- custom element
|
|
||||||
- constructor
|
|
||||||
- FEATURE: images as blocks...
|
|
||||||
- export auto-headings as normal/manual markdown headings...
|
- export auto-headings as normal/manual markdown headings...
|
||||||
- add plugin callback on `.text(..)` / ...
|
- add plugin callback on `.text(..)` / ...
|
||||||
- Time to think about a standalone client -- at least to edit own notes as a test...
|
|
||||||
- _also this would be a nice opportunity to start the move to a newer electron version_
|
|
||||||
- Might be a good idea to think how to avoid the constant selections on focus...
|
- Might be a good idea to think how to avoid the constant selections on focus...
|
||||||
- Focus of elements needs cleanup...
|
- Focus of elements needs cleanup...
|
||||||
- navigation up/down to a root element is a bit jumpy...
|
- navigation up/down to a root element is a bit jumpy...
|
||||||
@ -246,29 +268,13 @@ var setup = function(){
|
|||||||
- | A | B | C |
|
- | A | B | C |
|
||||||
- | | | |
|
- | | | |
|
||||||
-
|
-
|
||||||
- custom element / web component
|
|
||||||
- BUG: select via double/triple clicks does not work...
|
|
||||||
- _looks like something is refocusing the element..._
|
|
||||||
- BUG/race: the non-value versions of custom elem seem to sometimes get loaded as empty...
|
|
||||||
- DONE data interface:
|
|
||||||
collapsed:: true
|
|
||||||
- the "natural" way to pass data is to use the same mechanism as `<textarea>` the problem is that we can't extend `HTMLTextAreaElement` as it can not have shadow dom (reject?)
|
|
||||||
- adding an explicit textarea element is an odd requirement (reject?)
|
|
||||||
- seems that the least bad way to go is to use the `value` attribute
|
|
||||||
- DONE API: directly mixin Outline?
|
|
||||||
- DONE `.value` / `.code` should be both updated internally and also load new content when updated externally -- not yet sure how...
|
|
||||||
- events
|
|
||||||
- test nesting...
|
|
||||||
- Q: can we get rid of the editor block??:
|
|
||||||
- CSS breaks if we do...
|
|
||||||
- need to figure out a way to handle autofocus for host/editor uniformly
|
|
||||||
-
|
|
||||||
- node selection
|
- node selection
|
||||||
- DONE multiple node selection (via shift+motion)
|
- DONE multiple node selection (via shift+motion)
|
||||||
- fixed state -- while `shift` pressed select or deselect only depending on first action (a-la FAR)
|
- fixed state -- while `shift` pressed select or deselect only depending on first action (a-la FAR)
|
||||||
- DONE double/triple click working...
|
- DONE double/triple click working...
|
||||||
- delete
|
- delete
|
||||||
- copy/cut/past (???)
|
- copy/cut/paste (???)
|
||||||
|
- _idea: cope as code and parse on paste..._
|
||||||
- touch/mouse (???)
|
- touch/mouse (???)
|
||||||
- Q: should we select text through multiple nodes??
|
- Q: should we select text through multiple nodes??
|
||||||
- _...should this turn into node selection as soon as node boundary is crossed???_
|
- _...should this turn into node selection as soon as node boundary is crossed???_
|
||||||
@ -276,7 +282,6 @@ var setup = function(){
|
|||||||
- numbered lists: add counters to a depth of 6-7...
|
- numbered lists: add counters to a depth of 6-7...
|
||||||
- _or find a way to make them repeat..._
|
- _or find a way to make them repeat..._
|
||||||
- FEATURE: read-only mode
|
- FEATURE: read-only mode
|
||||||
- FEATURE: TOC (???)
|
|
||||||
- FEATURE: auto-shift done blocks to the end of siblings... (option?)
|
- FEATURE: auto-shift done blocks to the end of siblings... (option?)
|
||||||
- ...or should this be `sort:: done` -- i.e. sort children by done status??
|
- ...or should this be `sort:: done` -- i.e. sort children by done status??
|
||||||
- codeblock as a block
|
- codeblock as a block
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user