c2c617753d
Enable auto-correct
...
This actually makes a difference on iOS.
2020-03-08 20:37:47 +01:00
e65fbdbc71
Add experimental Journal Editor
...
It removes the title and displays the journal header. This provides a
much better experience for writing a journal.
2020-02-28 12:47:53 +01:00
dae3d1aec9
Remove the FAB
...
Fixes #58
I've tried adding a black space under the FAB, but that just reduces the
available vertical space while typing. This does reduce the usability
for small notes, as clicking on the FAB is much easier than clicking on
top-right back button or clicking the back button twice on Android.
2020-02-28 12:34:56 +01:00
a49876e3ee
Remove the title editor if it cannot be stored
...
It just makes it confusing for the user otherwise.
2020-02-19 23:00:52 +01:00
0813429bb8
ChecklistEditor: Support autofocus for new notes
2020-02-19 17:04:53 +01:00
f6c64507c4
ChecklistEditor: Do not manually destroy the focus nodes
...
The focus node will dispose themselves
2020-02-19 17:04:17 +01:00
27ebd9686b
RawEditor: Give focus when using it for a new note
2020-02-18 16:31:34 +01:00
b4d718b131
ChecklistEditor: Allow removing the last element
...
We were throwing an exception as there wasn't anything to give focus to.
2020-02-17 01:36:07 +01:00
b5b8639edd
ChecklistEditor: Implement proper focus handling
...
Now the checklist editor is finally usable.
2020-02-17 01:33:38 +01:00
adc1039521
Bump version
2020-02-16 23:02:05 +01:00
e5a6236cfc
Checklists: Ensure there is one item at the start
2020-02-16 22:57:58 +01:00
e378ed5758
ChecklistEditor: Reduce spacing between checkbox and text
...
It looks a bit prettier now
2020-02-16 22:11:26 +01:00
e658b69039
ChecklistEditor: Remove extra padding between editor and title
2020-02-15 03:10:45 +01:00
9fc9e9f69d
ChecklistEditor: Give checked entries a disabled color
2020-02-15 03:00:32 +01:00
47819ddb4e
ChecklistEditor: Update todos
2020-02-15 02:31:11 +01:00
6a527893f5
ChecklistEditor: Strike-through text of completed items
2020-02-14 08:26:29 +01:00
46a38cdedf
Rename NoteData -> MdYamlDoc
...
It more clearly defines what exactly it is.
This is important as its less confusing for when we add support for
other file types.
2020-02-14 08:12:41 +01:00
fe7fd4b550
ChecklistEditor: Reserve space for the close button
...
Otherwise when the text is long after moving, the text is rearranged
which causes the entire list to move.
2020-02-13 17:19:12 +01:00
527dca5eb9
ChecklistEditor: Let the text expand into multiple lines
2020-02-13 17:19:12 +01:00
7df3e9dce0
ChecklistEditor: Allow adding an item by pressing enter
2020-02-13 17:19:12 +01:00
82b4223eb1
Checklist Editor: Swap close icon for clear
2020-02-11 23:56:38 +01:00
a9e285537b
Checklist Editor: Add some FIXMEs
2020-02-11 22:01:42 +01:00
6627f9c38a
ChecklistEditor: Try to give focus on the next item on removing
...
This doesn't seem to work reliably - it only kind-of gives the focus. I
see the 'x' on the right, but the keyboard has not been shown. Maybe
this is just an ios emulator issue.
2020-02-11 18:08:34 +01:00
e9742b249c
Checklist Editor: Give focus to newly added item after clickin on add
2020-02-11 17:48:28 +01:00
743958e4b3
Checklist Editor: Allow clicking on "Add Item" text
...
in order to add another item.
2020-02-11 17:28:27 +01:00
4c23c28671
checklist: Improve test
2020-02-10 17:27:14 +01:00
fe7d370233
Checklist: Replace reorder icon
...
It's still not the icon we want, but it's the closest there is.
2020-02-10 17:11:56 +01:00
1cd0b967de
Checklist: Let items be re-ordered
2020-02-10 17:10:54 +01:00
dbbe8589c6
Checklists: Allow items to be removed
2020-02-10 17:02:45 +01:00
8bebe91bc0
Checklist: Allow adding new items
...
It's not perfect as we don't maintain focus, but it's a great start.
2020-02-10 16:45:20 +01:00
fd791a6597
Hookup the checklist editor properly
...
It's not perfect as one cannot remove items or add new ones. But it's a
start.
2020-02-10 16:16:11 +01:00
4a93850c22
Rename todo editor to Checklist editor
...
With todos - we could get feature requests for more advanced stuff such
as due dates and all. For now I just want simple checklist support.
2020-02-09 22:55:48 +01:00
23c6192162
Editor: Add 'Discard Changes' button
...
It got removed while merging the editor/viewer
2020-01-31 15:55:25 +01:00
bded32b027
TodoEditor: Add a 'Add Item' button at the bottom
2020-01-30 19:28:16 +01:00
698e741851
TodoEditor: Only show remove buttons when that item has focus
...
Looks less cluttered.
2020-01-30 19:26:58 +01:00
a11d535078
TodoEditor: Allow removing todo items
2020-01-30 19:08:07 +01:00
27b630888c
TodoEditor: Allow items to be rearranged when dragging
2020-01-30 19:01:41 +01:00
a2b3c8d9e6
Add const
2020-01-30 18:41:51 +01:00
7c2cde03b7
Add the first draft of a TodoEditor
...
It's a small proof of concept and still needs a lot of work.
2020-01-30 18:41:27 +01:00
ddb7303fea
Reduce code duplication between Editors
...
It also makes it so much easier to implement a new editor.
2020-01-30 17:42:29 +01:00
43281bd2bb
Add support for moving a Note to another folder
...
The Folder selection dialog needs a lot of work, but it's a start.
2020-01-29 16:51:57 +01:00
7e5c2ba4a3
MarkdownEditor: Open by default in edit mode
...
This way most notes can immediately be edited without clicking twice -
once to switch editors and once to focus.
In the future, we should preserve the state of the editor from the last
time so that people don't need to continously switch between notes.
2020-01-29 00:04:28 +01:00
db5d2c51e7
RawEditor: Add a FAB
2020-01-29 00:04:28 +01:00
047aac3553
MarkdownEditor: Show a FAB with a checkmark
...
Instead of a FAB to switch modes.
2020-01-29 00:04:28 +01:00
3f40a2992a
Add the concept of Editors
...
* We no longer have a separate editing and browsing view - This does
mean we loose the ability to quick flip between notes by swiping.
However, this is more how a note editor would behave. I do later want to
add that capability back.
* We have 2 editors for now - Markdown and Raw. By default we use the
Markdown editor which can be toggled between Preview / Edit mode.
I later want to add a rich text editor and a todo editor as well.
2020-01-29 00:04:24 +01:00