2613 Commits

Author SHA1 Message Date
e51d63ef56 RepoSelector: Handle errors better 2021-02-19 12:27:57 +01:00
7f35218bc0 Rename repo folder on clone
Take the name from the clone url
2021-02-19 12:27:33 +01:00
6474adfa56 Try implementing State properly
I think I understand the 'State' class a bit better. But I need to cross
check.
2021-02-19 11:09:20 +01:00
4b89257749 FolderView: Handle root folder changing
I needed to implement didUpdateWidget. This changes my view on how
Flutter works dramatically.
2021-02-19 10:12:01 +01:00
b5d5705f82 Hookup the Repository Manager to the AppDrawer
This makes multi repo support somewhat work. We still have some problems
with the old state not being clearer which I cannot seem to figure out.
2021-02-19 09:53:30 +01:00
88c64d738d Use report icon for errors
Otherwise errors and info have the same icon. Suggested by ModProg

Fixes #422
2021-02-18 19:32:38 +01:00
73c5c56a38 Handle branch is null bug
Hopefully I've now handled every single case of it.
2021-02-18 17:18:33 +01:00
a424df227c Fix string 2021-02-18 16:15:38 +01:00
95beb30478 RepositoryInfo: Forget about the icon
It'll require an icon choosing interface. Lets skip it for now
2021-02-17 10:37:25 +01:00
860dd11aa2 Fix test
SettingsTitle.InFileName is temporarily disabled untill it is full
implemented.
2021-02-16 00:15:51 +01:00
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