53f02db7f4
ChecklistEditor: Rename variable
...
More accurately describes its role
2020-05-18 00:49:32 +02:00
140954e7d1
ChecklistEditor: Remove trailing empty items
2020-05-18 00:42:15 +02:00
816cb0c3ed
Reduce code duplication
...
Avoid code for determining the publicName of a folder.
2020-05-18 00:23:14 +02:00
ef57e263ba
ProSettingsOverlay -> ProOverlay
...
Also move it to its own file
2020-05-14 16:10:09 +02:00
79ece901a8
Editors: Implement didUpdateWidget
...
The parent sometimes changes the noteModified parameter. It's strange
for me that the stateless widgets aren't always rebuilt if their parent
widget's properties change.
2020-05-14 12:49:52 +02:00
08a0c4c21a
Make editing of Tags a pro feature
2020-05-13 01:38:52 +02:00
4375d0cf6d
Add const
2020-05-13 01:21:40 +02:00
2847e3f60f
Add basic tag support
...
This allows you to be modify the tags from the NoteEditor. Related to
#114 . We still need to add some way to filter the notes by tag. Also,
the current tag editor doesn't show the tags from the other notes.
2020-05-13 01:01:40 +02:00
e7cae7b07a
NoteEditor: Convert top drop-down menu to bottom menu
...
It's easier to access from the bottom right as the finger is closer.
2020-05-12 23:18:41 +02:00
86264a15fe
NoteEditor: Convert addIcon to attach icon
...
It's more accurate.
2020-05-12 23:01:25 +02:00
b2d0cf44ab
Stop using deprecated TextStyle properties
2020-05-08 10:55:00 +02:00
533d837b05
ChecklistEditor: Make the Add Item more tappable
...
I would often tap on it and nothing would happen.
2020-05-08 10:15:36 +02:00
62b5761ec4
Editors: Do not use BottomAppBar in the scaffold property
...
The BottomAppBar when given in the Scaffold gets hidden when the
keyboard is visible. We had hacked around that by translating its
position, however that resulted in the cursor at the bottom being hidden
when we were typing a long note.
It is not just part of the body of the scaffold.
Also converted many functions into widgets.
2020-05-06 15:16:37 +02:00
f421b61fd4
Editor: Replace the scroll view
...
This one supresses the top glow animation, has a decent padding by
default, and occupies the entire space of its parent.
2020-05-06 14:20:56 +02:00
b26cfe8b81
Avoid mutating the state while building the Editor's bottom bar
...
getNote() mutates the state
2020-05-05 12:33:20 +02:00
b17c184900
Add very basic Image support [Android only]
...
This adds a '+' button to the NoteEditor which allows you to add an
image from either the Gallery or Take a photo. It then accordingly adds
updates markdown.
The file is added in the same directory as the note for now.
Related to #10
2020-05-05 12:02:36 +02:00
d0ab323356
Revert "Editor: Bring back 'Move to Folder' in the dropdown menu"
...
This reverts commit f129f2ac94e825b978f9c735ef2e110e2bfb6664.
2020-05-05 10:21:09 +02:00
f946fe487a
Editor: Make the BottomAppBar stick above the keyboard
...
Workaround for https://github.com/flutter/flutter/issues/26499
2020-05-05 10:20:15 +02:00
f129f2ac94
Editor: Bring back 'Move to Folder' in the dropdown menu
...
I cannot seem to position the BottomAppBar on top of the keyboard, and
until I can do that lets keep this action over here.
https://github.com/flutter/flutter/issues/26499
2020-05-05 10:10:56 +02:00
48b6fa21f7
NoteEditor: Build a bottom bar which shows the current folder
...
Also allow notes to be moved to a folder.
2020-05-05 10:00:14 +02:00
bdecc19126
ChecklistEditor: Mark note as empty is it only has one blank item
2020-05-05 10:00:01 +02:00
793660e42f
ChecklistEditor: Improve focus handling
...
It's still a bit of a mess. I seem to be hitting this bug -
https://github.com/flutter/flutter/issues/20706 which others are also
hitting, but it seems to be closed despite a clearly reproduce test
case.
2020-05-02 02:28:30 +02:00
a995a88028
Allow sharing of notes
2020-05-01 12:20:55 +02:00
9ee16ebe50
Editor: Show ✕ or ✓ in AppBar depending on if the note has been modified
...
Fixes #123
2020-05-01 10:14:18 +02:00
4e593d6c2f
Fix crash
2020-05-01 09:38:49 +02:00
29b002b0f0
MarkdownEditor: New notes should always be in edit mode
...
Fixes #119
2020-04-25 21:34:22 +02:00
bc32e5bbb3
Editors: Rename autofocus to isNewNote
...
It's more descriptive, and lets each edit decide how it wants to handle
new notes vs existing.
2020-04-25 21:33:42 +02:00
afe94da638
MarkdownEditor: Allow the default view to be configurable
...
Fixes #98
2020-04-16 13:16:40 +02:00
9de5f913ed
Improve screenshot script
...
Which also acts as our integration test.
2020-04-03 19:38:33 +02:00
cea0adb7f9
Title Editor: Allow the title to expand
...
Don't just confine it to a single line.
2020-03-30 12:04:33 +02:00
e98b3c3e41
Remove duplication of NoteTitleEditor
2020-03-30 12:00:50 +02:00
3e38628102
Add a 'type' to each Note
...
This way we can load the appropirate editor according to the types
available.
2020-03-19 02:36:59 +01:00
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