2251 Commits

Author SHA1 Message Date
b97d8507f3 Fix missed words in rename 2021-02-15 22:45:39 +01:00
406a72088b Use context.read instead of Provider.of with listen false
Shorter
2021-02-15 22:31:45 +01:00
130f2fe9a0 Rename Repository => GitJournalRepo
Repository is too vague of a word and it gets me confused with the Git
Repository. Also shorterned Repository to Repo. It's easier to read and
write.
2021-02-15 22:28:53 +01:00
b71e3c74d3 Update dart-git
Hopefully this all still works. A massive amount of testing is required
2021-02-15 15:47:59 +01:00
dab2b07a88 Logger: Do not show null elements
Extremely hacky, I know.
2021-02-15 12:28:35 +01:00
cfbd669109 Stop logging the GitHub response
Security++
2021-02-15 12:10:24 +01:00
5674172156 AppDrawer: Get the real values 2021-02-15 09:08:16 +01:00
d7fb172da5 Temporarily disable Title based on FileName
It isn't fully implemented and I need to make a release ASAP
2021-02-13 13:29:26 +01:00
d28e13908a Revert "MdYamlDoc: Add a very basic reverse implementation"
This reverts commit a8af8d795eafce8d9ed7f4be2ee2cc47d8f945b3.

This complicates everything too much.
2021-02-12 15:58:16 +01:00
61f71fcdfe RepositoryInfo: Add serialization 2021-02-12 15:39:08 +01:00
a92f5532b8 Remove unused variable
It's not very easy to understand but the state is maintained by the
animation controller
2021-02-12 15:37:02 +01:00
18719856b7 Detect current branch null in the same way 2021-02-12 15:33:00 +01:00
2c1504f9a8 Fix translation key 2021-02-12 15:32:45 +01:00
b7e274c937 Add FileName option in Note title settings
This doesn't do anything right now. It just shows the option.
2021-02-12 15:32:10 +01:00
57f25ae671 Update .gitignore 2021-02-09 17:09:26 +01:00
5280917e7a Minor refactor 2021-02-09 12:00:52 +01:00
74f7a17f25 Make settings clearer
It only applies to new notes
2021-02-08 22:50:40 +01:00
01f47e219a Fix crash
How was this missed?
2021-02-06 23:01:26 +01:00
9a3bf6ad42 Automatically use dark mode based on system settings
Fixes #193
2021-02-06 23:01:09 +01:00
b5e2004d89 Update changelog 2021-02-06 21:02:17 +01:00
13f060e6e1 Add Date Only FileName option
Fixes #346
2021-02-06 20:54:45 +01:00
99c36f32f5 Make Repository a consumer of RepoManager
I feel like I really don't understand Provider properly and this is
going to blow up in my face.
2021-02-05 09:42:51 +01:00
bff9162858 RepoList: Use a better curve
This makes the entire animation look so much better.
2021-02-04 17:30:43 +01:00
07b6c6e099 Repo Selector: Fix animation
Urgh. This took way too long.
2021-02-04 17:13:06 +01:00
7d259715cf RepoList Animations: We don't need multiple animation controllers 2021-02-04 17:03:30 +01:00
66a8c6a185 AppDrawerHeader _CurrentRepo: clean up 2021-02-04 16:46:52 +01:00
c0d26fd1fb AppDrawer: Animate repo list
When it is hidden / visible. The animation isn't perfect as the slide
animation seems to go in a differet speed than the size one. I'm not
sure what is going on.
2021-02-04 16:46:02 +01:00
c4ffaa0ab2 AppDrawer RepoSelector: reduce anim time to 250 msecs
Feels better
2021-02-04 16:06:28 +01:00
a5dddf8e3e AppDrawer: Current Repo animate on tap 2021-02-04 16:03:14 +01:00
e94d2db06d AppDrawer: Extract CurrentRepo to its own widget 2021-02-04 15:40:23 +01:00
2e9be69c7c AppDrawer: Show repo list
This is just a first attempt and all the values are hardcoded. This
needs lots more work.
2021-02-04 15:37:24 +01:00
e9c7adafd1 Add useful debug statement 2021-02-04 12:00:47 +01:00
608a613757 Add a hack of ignoring folders with a '.gjignore' file
In the future we should open this file and ignore paths similar to how
.gitignore does it. For now, lets use this hack.

Requested by a friend
2021-02-04 10:59:04 +01:00
e3e513ef65 Log device info
This way it's easier to debug user's issues
2021-02-04 10:51:29 +01:00
05aca7a013 Logs: Output the version number
This ways it's easier to understand logs sent by users
2021-02-04 10:36:38 +01:00
cb5845c212 Add main_webview which is used for testing 2021-02-04 10:28:23 +01:00
96ce50bc68 Basic Implementation of RepoManager
This is for multiple-repo setup.
2021-02-04 10:27:29 +01:00
8eb8905d6d Add Editor Heuristics to Journal Editor
I frequently make lists in the Journal Editor and it's annoying that
these features aren't available.
2021-02-03 19:24:19 +01:00
b301d70991 Add convenient script for running tests 2021-02-03 17:10:40 +01:00
1d20b177e1 Add main_features
This doesn't work as it requires flutter, but I may as well commit it
2021-02-03 17:09:15 +01:00
bebbf7459f Update .gitignore 2021-02-03 17:09:02 +01:00
04228cb497 Fix Experimental Markdown Toolbar
It's now again visible
2021-02-03 16:34:30 +01:00
2c071fb792 Disable undo/redo for editors where it hasn't been implemented 2021-02-03 16:06:28 +01:00
ebff34b753 Basic implementation of undo/redo
It's not great, as the granularity is too low. But it's a good first
step. It only works in the RawEditor so far.
2021-02-03 16:03:15 +01:00
e80fff575c Move Editor Heuristics to be self contained
This way it can easily be used in other editors
2021-02-03 11:56:20 +01:00
350fbb1ccf MarkdownEditor: Handle title change marking note as modified 2021-02-02 16:25:43 +01:00
8c3abe7b65 MarkdownEditor: Remove undo/redo poc
Figured out a better way to do, and it's better if this is in a separate
class as it needs to be reused with different editors.
2021-02-02 16:22:09 +01:00
b9d765f726 Rename EditorState to TextEditorState
Also remove the EditorHeuristicsResult class. This way all of these are
being combined together.
2021-02-02 16:08:15 +01:00
8c373986bc Move Editor Bottom bar to its own file 2021-02-02 16:03:35 +01:00
be44cc05fe Move autocompletion to inside the editors 2021-02-02 15:57:01 +01:00