31 Commits

Author SHA1 Message Date
f880b15bbf Fix linting issues 2023-02-16 13:33:32 +01:00
dbccd17b12 Show date and time as header for journal entries in grid/card view 2023-02-16 13:24:55 +01:00
ea8cd35261 Fix deprecated methods 2023-02-09 16:00:29 +01:00
ca98da4029 Update deps and fix linting issues 2023-01-20 16:14:08 +01:00
92e73c414d Move core Note classes into a separate file
I'm trying to get ride of this huge 'Note' class, and have it be quite
dumb. The idea is that we'll have separate Note subclasses - TxtNote,
MdNote, etc
2022-04-24 13:09:14 +02:00
83d122d06f Note.oid: The oid is now only empty when the file hasn't yet been saved 2022-01-20 17:51:32 +01:00
bab07e207f Add Red color overlay for debugging 2022-01-20 14:11:50 +01:00
7bb7fb94f2 note.title: Let it be null
This is a remanent from the time when non-nulllable didn't exist in
Dart.
2022-01-14 10:26:03 +01:00
619eb9f5a8 double-literal-format++ 2021-12-14 14:24:52 +01:00
629d010014 Hero Animation: Avoid the scaffold as part of the animation
It's still not perfect, but it's much better now.
2021-10-14 16:58:54 +02:00
33a731a3d7 Add reuse licensing to files in lib 2021-09-15 13:06:43 +02:00
7012e2b533 Stop using deprecated accentColor
For Flutter 2.5
2021-09-13 17:32:33 +02:00
70adcb2e5d Card/GridView: Add hero animation 2021-07-26 18:57:24 +02:00
7f8caf8e17 FolderViews: Hide the AppBar when scrolling
This breaks a number of other things, but this commit was becoming
messy.
2021-07-14 09:52:43 +02:00
844111007b FolderViews: Null Safety++ 2021-05-25 11:25:24 +02:00
d008f0d982 First version of dart migrate
Most of the files haven't been migrated. Lets work on this bit by bit
2021-04-10 22:18:35 +02:00
cbc75e45e9 NoteTile: Also Highlight the title if it matches
Related to #14
2020-09-07 17:38:37 +02:00
db0d1eb866 Card/GridView: Add search highlighting
Related to #14
2020-09-07 17:16:53 +02:00
fac2826800 Implement the scaffolding for search highlighting
Still need to implement the actual highlighting part
2020-09-05 16:14:16 +02:00
fa075c25e0 FolderView: Implement selecting a note
This is disabled for now, untill I expose the actions which should be
performed when selecting a note.
2020-09-05 15:53:26 +02:00
27c98b8b0a FolderViews: Minor refactor
Expose the noteTapped and noteLongPressed functions from all the views.
This will be required in the future as we support selecting a note (or
multiple notes) in order to perform some action on it.

Right now selecting a note means opening the Note Editor.
2020-07-31 19:38:26 +02:00
9d00fdac06 Use import_sorter
flutter pub run import_sorter:main --no-comments

The code feels much cleaner
2020-07-24 12:43:28 +02:00
b2d0cf44ab Stop using deprecated TextStyle properties 2020-05-08 10:55:00 +02:00
cfc38b90b9 NoteTile: Implement Inkwell
It needs to be inside the Material to work.
2020-04-02 19:15:18 +02:00
2b6c5e69f1 NoteTile: Adjust border color 2020-04-02 18:45:25 +02:00
fbbc92eea8 NoteTile: Remove empty lines in the end 2020-04-02 18:45:09 +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
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
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
499aa00e4d Improve Grid/Tile view styling 2020-03-30 12:17:18 +02:00
5c44905772 Make Grid/Card View share the tile 2020-03-30 11:57:35 +02:00