29 Commits

Author SHA1 Message Date
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
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