1112 Commits

Author SHA1 Message Date
fbbc92eea8 NoteTile: Remove empty lines in the end 2020-04-02 18:45:09 +02:00
6798eb0829 FolderView: Do not clip the body by the bottomNavigationBar
It looks weird as sometimes there is a grey border otherwise.
2020-04-02 18:20:29 +02:00
64e3d36130 Improve stripMarkdown formatting
At some point this will need to be done in another thread.
2020-04-02 18:19:50 +02:00
26f641380d Checklist: Avoid extra \n
The markdown parser is weird.
2020-04-02 17:56:48 +02:00
28ef551805 On sync error: Show the error a bit better
Do not show 'GitException: error'. We do not need to expose that it was
an exception.
2020-04-02 17:29:03 +02:00
56f73ffe3d NoteTile: Limit to 11 lines of body
Looks much better this way. It's also similar to how Google Keep does
it. This way users moving from it will feel right at home.
2020-04-02 17:25:06 +02:00
f119e60b79 OAuth: close the webview explicitly afterwords
Hopefully this will fix the problem on iOS
2020-04-02 17:21:25 +02:00
c322691614 ios: Fix report bug button
We don't have logs on ios
2020-04-02 17:17:32 +02:00
8e629b20f6 Add missing file
:/
2020-03-31 14:17:21 +02:00
46590aff48 Markdown: Show images
At least show existing images. The path needs to be relative

Related to #10
2020-03-31 14:11:01 +02:00
fe08b53539 Add a .gitjournal.yaml file in a folder
This file will be added to save the settings of how we want that folder
to behave. For example - default Editor, view, sorting mode, etc.

This feature is currently disabled as it will only be a part of the pro
mode.
2020-03-31 14:02:38 +02:00
3c2d4b0f74 VirtualNotesFolder's config cannot change
We haven't exposed any way to change it.
2020-03-31 11:22:52 +02:00
965639e6f2 Add the concept of Folder Settings
This contains the default editor / view / sortingMode / etc. For now the
folder settings are shared among all Folders. But the idea is that we
should be able to set different settings per folder (real or virtual)
2020-03-31 11:16:04 +02:00
c2b78f0ae7 EditorSelector: Make it prettier 2020-03-30 13:36:07 +02:00
564fa4cbc0 move NoteEditorSelector to its own file 2020-03-30 13:09:19 +02:00
a5fcb19d70 SyncButton: Use cloud download/upload instead of arrows 2020-03-30 13:04:28 +02:00
577b73ff3c SyncButton: Seperate pulling and pushing
This way we also refresh the view after the pulling, as we don't need to
wait for a push for that.
2020-03-30 13:00:28 +02:00
040a1a228a NoteTile: Make it prettier
Decrease the font size for the header and reduce some spacing. It's
finally starting to look somewhat okay.
2020-03-30 12:27:09 +02:00
b52613ef5b GridView: Make the tiles smaller 2020-03-30 12:25:17 +02:00
499aa00e4d Improve Grid/Tile view styling 2020-03-30 12:17:18 +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
5c44905772 Make Grid/Card View share the tile 2020-03-30 11:57:35 +02:00
9cbe6dd389 GridView: Improve look of tiles 2020-03-30 11:54:10 +02:00
930356aaf1 Add a GridView
This doesn't really work for small notes, but meh.
2020-03-30 11:45:17 +02:00
7e0b073f32 Move error reporting to its own file
* Avoid passing Flutter errors to its Zone handler, this doesn't always
catch the errors

* Catch the current isolate's errors. I haven't been able to test this
out, but lets see.
2020-03-30 11:20:04 +02:00
8c89f8a1b0 Very basic sentry integration 2020-03-26 12:19:22 +01:00
4f02559849 Remove spaces from public key's comment
Apparently this breaks things in some systems

Fixes #87
2020-03-23 13:07:42 +01:00
d789a2f6f0 FlattenedNotesFolder: Improve test 2020-03-21 14:16:43 +01:00
1cc26ff160 Add a basic test for the FlattenedNotesFolder 2020-03-21 14:10:24 +01:00
403831ccd0 NotesFolderFS: Avoid multiple load operations in parallel 2020-03-21 01:32:24 +01:00
ea8703518b Ignore more git ssh errors 2020-03-21 01:32:09 +01:00
a99eca9131 Simplify code by using pathSpec 2020-03-21 00:52:54 +01:00
613afee32e Remove the extra verbose logs
They were just too much.
2020-03-21 00:46:03 +01:00
eb7d7dc2e7 Add a lock between all git operations
This way in between a git add + git commit, no other git operation will
run. This rarely occurs but it was a posibility depending on the speed
of the users actions.
2020-03-21 00:44:14 +01:00
86ae88bae0 AppDrawer: Highlight the current selected route 2020-03-21 00:27:26 +01:00
22c9d1208a FolderView: Show the correct title 2020-03-21 00:19:57 +01:00
610c4ea8a7 Allow the default folder for new notes to be configured
In the "All Notes" screen
2020-03-21 00:14:38 +01:00
51cc8b9881 SortedNotesFolder: Add another test 2020-03-20 23:49:04 +01:00
03ff93bfc9 SortedNotesFolder: Add another test 2020-03-20 23:47:56 +01:00
c5bcb09ec0 SortedNotesFolder: Add tests
This way it properly works. I shouldn't be coding so late in the night.
2020-03-20 16:51:16 +01:00
0c35400fc6 Bump git_bindings version 2020-03-20 00:53:18 +01:00
ea23c3be4e Bump version 2020-03-20 00:08:04 +01:00
f4c139a2b7 GitRemoteSettings: Pass the correct context
The scaffold doesn't exist in that context :(
2020-03-19 23:54:36 +01:00
5db269c826 NotesCache: Allow for json decoding errors
The file may have gotten corrupted.
2020-03-19 23:44:50 +01:00
1ff3075a1c MicroOptimization: Avoid rebuilding the regexp 2020-03-19 23:38:12 +01:00
e0ac655a2c SortedNotesFolder: Massive optimization
Use a binary search instead of sequential
2020-03-19 23:25:15 +01:00
cdd5d7aca0 For generated titles - prefer the provided title 2020-03-19 15:40:09 +01:00
2c361172c6 Avoid recreating DateFormats
They only need to be created once. This should result in a minor
performance gain while building the folder views.
2020-03-19 15:23:30 +01:00
d5484502df Ensure all ListTiles in FolderView are of the same height
It looks way neater this way.

https://github.com/flutter/flutter/issues/31134
2020-03-19 02:59:59 +01:00