cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2023-12-12 02:48:13 +03:00
parent 44fb61bb46
commit 8383f7ed80

View File

@ -48,6 +48,26 @@ var setup = function(){
- -
- ## Bugs: - ## Bugs:
focused:: true focused:: true
- BUG: styling error...
- this _seems `to` work_
- `while` _this `does` not_
- _seems to be connected with quoting..._
- BUG? should the following render to the save view? (currently not)
- text<hr>text
- text
<hr>
text (extra newline rendered)
- BUG: mobile browsers behave quite chaotically ignoring parts of the styling...
- FF:
- zooming on edited field
- normal textarea is not sized correctly
- General:
- bullets are too close to text
- side margins are a bit too large
- still need to account for toolbar to the right
- left side does not need to be as wide
- BUG? `.code` is currently over-extended and covers the whole element area (incl. `.children`)
- this currently has no side-effects but is not pretty (???)
- DONE BUG: caret positioning broken (ASAP CLEANUP: GETTEXT) - DONE BUG: caret positioning broken (ASAP CLEANUP: GETTEXT)
collapsed:: true collapsed:: true
- Strategies to test:: - Strategies to test::
@ -115,21 +135,6 @@ var setup = function(){
- |text|text|text| - |text|text|text|
|text|text|text| |text|text|text|
|text|text|text| |text|text|text|
- BUG: styling error...
- this _seems `to` work_
- `while` _this `does` not_
- _seems to be connected with quoting..._
- BUG: mobile browsers behave quite chaotically ignoring parts of the styling...
- FF:
- zooming on edited field
- normal textarea is not sized correctly
- General:
- bullets are too close to text
- side margins are a bit too large
- still need to account for toolbar to the right
- left side does not need to be as wide
- BUG? `.code` is currently over-extended and covers the whole element area (incl. `.children`)
- this currently has no side-effects but is not pretty (???)
- -
- ## ToDo: - ## ToDo:
- add loading spinner -- `.loading` class set on `.load(..)` and unset when done... - add loading spinner -- `.loading` class set on `.load(..)` and unset when done...
@ -142,8 +147,6 @@ var setup = function(){
- Q: Make the heading level depend on its depth?? - Q: Make the heading level depend on its depth??
- 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...
- Q: When moving up/down between nodes do we want to place the caret relative to markdown (current) or to view? (see: `CARET_V_MOVE`) - Q: When moving up/down between nodes do we want to place the caret relative to markdown (current) or to view? (see: `CARET_V_MOVE`)
- Q: Should we use `HTMLTextAreaElement.autoUpdateSize(..)` or handle it globally in setup???
- _...I'm leaning towards the later..._
- Q: Should tables be text-based markdown or higher-level? - Q: Should tables be text-based markdown or higher-level?
collapsed:: true collapsed:: true
- for reference a normal table - for reference a normal table
@ -251,6 +254,10 @@ var setup = function(){
- `<editable/>` -- field marker - `<editable/>` -- field marker
- each child node will copy the template and allow editing of only fields - each child node will copy the template and allow editing of only fields
- not clear how to handle template changes... - not clear how to handle template changes...
- DONE Q: Should we use `HTMLTextAreaElement.autoUpdateSize(..)` or handle it globally in setup???
collapsed:: true
- _...I'm leaning towards the later..._
- currently solved passively...
- DONE place the caret when moving between nodes - DONE place the caret when moving between nodes
- DONE selecting expanded code by _click-n-drag_ - DONE selecting expanded code by _click-n-drag_
collapsed:: true collapsed:: true