65e3b2a9f4
Settings: Save folderViewHeaderType
2020-03-11 14:58:31 +01:00
645131b936
Settings: Save showNoteSummary
2020-03-11 14:53:15 +01:00
7aea2611bf
Allow the StandardFolderView to be customized
...
The customization screen is very ugly and this entire thing feels
extremely hacky with the abstractions leaking out everywhere. However,
it does work.
I'll clean it up another day.
2020-03-11 14:48:32 +01:00
d2b6b0eb08
Remove the Compact View
...
I need to merge it into the StandardView. The more I think about it, the
more this view doesn't make sense. Specially since I need to add the
same extra configuration options in both views.
2020-03-11 13:19:50 +01:00
627427a881
NotesFolder: Listen to the proper Note's signal
2020-03-11 13:07:45 +01:00
8b48650ad8
Note: Reload the file when it changes
...
We were comparing the file modification date incorrectly
Fixes #65
2020-03-11 12:55:07 +01:00
1e21f487b8
Save default folder view on change
2020-03-08 20:51:15 +01:00
c2c617753d
Enable auto-correct
...
This actually makes a difference on iOS.
2020-03-08 20:37:47 +01:00
f0eeefe125
SortedNotesFolder: Avoid calling sort again and again
...
For long lists of notes this could get very very expensive.
2020-03-08 04:00:27 +01:00
9a65686f1e
NotesFolder: Add more debug information when loading
...
This will help better diagnose why files don't sometimes show up
2020-03-08 00:42:19 +01:00
09ff8b2704
Fix sorting mode
...
First sort based on datetime, and then based on filename.
2020-03-08 00:41:20 +01:00
56d8f635eb
Note class should not be sortable
...
There are various different methods of sorting an note.
2020-03-06 20:14:21 +01:00
d7265ec69b
FolderViews: Never let a Row have a null widget
...
Otherwise we get an exception. This happens when a note has not loaded
and we're trying to render it. Ideally we should handle those cases with
some kind of animation instead of the current approach.
2020-03-06 19:25:00 +01:00
2f9f8b3e73
Add a Compact View
...
Fixes #66
2020-03-05 19:24:20 +01:00
9ff33f51ce
Remove unused imports
2020-03-05 19:15:41 +01:00
8e9b23982c
Add support for a simpler filename format
...
Also make this the default when one doesn't have a title.
This is important as now the filename is far more visible with the new
standard view.
2020-03-05 19:14:27 +01:00
c87e6c7884
Standard Folder View: Align the title with the time correctly
...
As suggested by the docs it's better to use a Row and align it based on
the baseline.
2020-03-05 19:03:05 +01:00
f31e42ecef
StandardView: Add date to trailing widget
...
Patch adapted from Ivan's pull request
- https://github.com/GitJournal/GitJournal/pull/59
It had to be reverted earlier as it was breaking functionality. But now
it works perfectly.
2020-03-05 18:54:34 +01:00
702c97c9dd
Add a JournalView and allow it to be switched
2020-03-05 18:47:12 +01:00
846dda252e
Split the Standard Folder View
...
This way its code can more easily be shared
2020-03-05 18:23:33 +01:00
db901e51ea
Bump version number
2020-03-05 02:12:56 +01:00
b25ed00830
Add the concept of a FolderView
...
For now we just have the StandardView which is the same as it was
previously.
2020-03-05 02:10:27 +01:00
6d3b093499
Rename JournalListingScreen to FolderView
2020-03-05 01:48:50 +01:00
e1d19fc8c2
Optimize building of the NotesCache
2020-03-05 01:36:58 +01:00
cdd214c102
Let the notesCache be toggleable
...
It might be the cause of a massive slowdown for one particular user. I'm
still leaving it enabled for now, but I want to be able to easily
disable it.
2020-03-05 01:02:16 +01:00
5682e8abf9
ios: Flip ITSAppUsesNonExemptEncryption
2020-03-05 00:49:21 +01:00
7aee2e34bc
Make sure note modifications are stored
...
Also bump the version. This is a very important bug fix.
2020-03-03 14:45:56 +01:00
0fc40da55b
JournalEditor: Avoid crashing if note has no creation date
...
In the future when we improve the git itegration that will never happen,
but for now, it's what we have.
2020-03-02 19:57:26 +01:00
3640176f8d
Remove Android debuggable
...
Fails to build with it
2020-03-02 18:12:23 +01:00
c07c076a67
Bump version
2020-03-02 17:41:07 +01:00
3bbf8e3abc
Android: Always mark it as debuggable
...
I see no downside of shipping it this way, and since this app is
currently targetted more towards developers, they can provide better bug
reports.
2020-03-02 17:38:29 +01:00
c65ec96da2
Fix bug when you have less than 10 notes
...
Fixes #73
2020-03-02 17:37:47 +01:00
de2553c31f
Mark new notes as Loaded
2020-03-01 17:14:01 +01:00
5ec3af70a6
More comprehensive setup analytics
2020-03-01 15:28:56 +01:00
a0e3e50b4a
HostSetup: Track if using GitHub/GitLab/other
2020-03-01 15:21:30 +01:00
44d916138d
Bump version
2020-03-01 14:55:40 +01:00
31262e5f7d
Add some debug messages
2020-03-01 14:53:11 +01:00
51b95bb7e0
SortedNotesFolder: Ignore sorting order for unloaded notes
2020-03-01 14:52:27 +01:00
c90189e55b
Note: Do not try to generate the summary if not loaded
2020-03-01 14:28:10 +01:00
b5f7a24b1f
Use filename comparison when both Notes don't have modified/created
2020-03-01 14:19:26 +01:00
b199e4ef74
Simplify the sorting the presentation
...
Now we don't try to be smart and guess the sorting.
The problem was what to do when we don't have the modified/created
value. In those cases we were trying to use the fileLastModifed, but
that could get quite tricky and it wasn't obvious to the user what was
going on.
From now on - if it doesn't have a modified field, it just goes to the
end.
2020-03-01 14:17:06 +01:00
ec11f09b2e
More thorough checking for if a Note has been modified
2020-03-01 14:08:04 +01:00
3ed246310e
Centralize sorting code
2020-03-01 13:50:39 +01:00
7bdcd5dd82
Moving SortingMode into its own file
2020-03-01 13:42:09 +01:00
d50f772468
Only have one SortingMode class
...
It doesn't make sense to duplicate it.
2020-03-01 13:40:16 +01:00
6d69217cae
JournalList: Show the filename as the title when no metadata is allowed
...
Fixes #72
2020-03-01 13:14:13 +01:00
78d7e6cef0
Integrate the NotesCache
...
It doesn't make any difference as -
1. The sort order shown our SortedNotesFolder is different
2. Rebuilds of the tree affect everything. Even the elements which
should be in the correct place.
2020-02-28 14:55:52 +01:00
2de1d17ee1
SortedNotesFolder: if created/modified not present it goes in the end
2020-02-28 14:55:11 +01:00
215dfc2cec
NotesCache: Add a simple way to build the cache
2020-02-28 14:29:07 +01:00
cbacfa31e3
First attempt of creating a NotesCache
...
This is just for optimizing the loading of the Notes in the correct
order. I want to avoid the notes appearing and disappearing in a strange
order when loading. It gives a bad first impression.
This cache isn't integrated, it's only half done.
2020-02-28 14:17:37 +01:00