337 Commits

Author SHA1 Message Date
a424df227c Fix string 2021-02-18 16:15:38 +01:00
b97d8507f3 Fix missed words in rename 2021-02-15 22:45:39 +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
5674172156 AppDrawer: Get the real values 2021-02-15 09:08:16 +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
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
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
79207d9422 AutoCompletion: Add tests for tags autocompletion
Also move the file. I tried using the same code base for both the types
of auto-completion and this has resulted in a huge mess. It's best to
keep the logic completely seperate for the two.
2021-01-28 14:57:04 +01:00
07947d637a Add some tests for autocompletion
All of these tests fail, I'm just trying to get an idea of what all I'll
need to implement. And what the interface should look like.
2021-01-27 21:41:58 +01:00
90d78d8187 Backlinks Summary: Stop crashing
Fixes APP-P6
2021-01-23 06:57:23 +01:00
12a38450c9 AutoCompleter: Move to its own file 2021-01-22 18:19:11 +01:00
c91a5950f6 Android Store External: Let the user to pick a directory 2020-12-27 10:20:09 +01:00
2bd6e07c7b Move MarkdownRenderer to its own file
Less noise
2020-12-16 12:17:52 +01:00
c8cb04f6e5 fix import order 2020-12-11 20:21:52 +01:00
dd30b34902 Experiment with implementing the Markodwn Highlighting
It'll need some changes in flutter_markdown.

Related to #362
2020-12-11 20:21:52 +01:00
076e8ff510 Bump flutter_markdown 2020-12-11 20:21:52 +01:00
6c5767e2b6 Move all the drawer header code into it
Instead of it being all in a stack.
2020-11-30 22:14:23 +01:00
b754c79639 Move AppDrawerHeader to its own file 2020-11-30 21:53:58 +01:00
0b5701b739 Move purchasing logic to PurchaseManager
Hopefully with this there will never be any more problems of purchases
not being completed.
2020-11-27 17:19:42 +01:00
4eff5844b1 Cleanup PurchaseScreen
Avoid having one widget call the other widget with the sku price. It was
complicating the entire code base. Also, create a new class
PurchaseManager which is a singleton and will be used to manage all
purchases from now on.

The earlier approach of having the code in a widget would sometimes
result in purchases not being confirmed. I'm hoping that putting the
class in a singleton will help.
2020-11-27 16:28:58 +01:00
8267d420a7 LoginPage: Add GitJournal header
+ cleanup the code a little
2020-11-18 16:39:15 +01:00
909803aa8e Add an experimental Login page
Code adapted from https://github.com/TheAlphamerc/flutter_login_signup
2020-11-18 16:25:39 +01:00
9bf9193ec8 RepoSelector: Hilight selected text 2020-11-13 16:03:28 +01:00
5da69de515 Improve log message 2020-11-08 10:38:59 +01:00
ab1e8ad4af Emails: Add proMode and expiry date 2020-11-07 17:39:57 +01:00
071f15b067 Bug Report: Send logs for today and yesterday 2020-11-07 15:31:16 +01:00
699f79ae4c Add a few more log statements
ConfirmProPurchase doesn't seem to be working for everyone on iOS
2020-11-07 14:31:15 +01:00
aa805f80c5 SyncButton: Show a different icon on error 2020-10-23 15:35:46 +02:00
43206219da Merge AppState into Repository
The 'AppState' was more of a Repository state, and it's easier if it
lives inside the Repository class.
2020-10-23 02:01:45 +02:00
770394a8f9 Rename StateContainer to Respository 2020-10-23 01:38:47 +02:00
c3d61d25cd Fix translation key 2020-10-23 00:06:13 +02:00
bc06efc446 Create new note when clicking on non existing Wiki Link
Fixes #240
2020-10-22 23:57:53 +02:00
39339a23f1 PurchaseWidget: Simplify code 2020-10-22 22:51:30 +02:00
00c4a07d72 Note Backlinks is clearly not experimental anymore 2020-10-21 22:32:34 +02:00
fd74a86abf Remove the whole local/remoteConfigured settings
We now infer this by checking if the directory exists, and by reading
the git config. It's a bit slower, but it's a far better method. I can
add a cache later, if it turns out to be too slow.
2020-10-16 15:13:34 +02:00
9499cea164 Remove Settings global
Stop it being a singleton. This means it needs to be passed around a
lot. This sucks, but it's how it should be. I shouldn't be using a
global variable to get around this.

This is needed as Settings will soon become repo specific when we
support multiple repos.

This breaks saving the settings in a file, that feature was toggled off
anyway. It needs to be thought over again.
2020-10-09 00:59:19 +02:00
b3ea9c9565 Avoid using deprecated autovalidate 2020-10-02 16:17:05 +02:00
75d48fbfc6 Integration Test: Show the sorting settings and view Options
Also add far more existing notes for the screenshots.
2020-09-28 12:11:05 +02:00
43269bbe53 Add lots of listen: false when using Provider
Provider version 4 has an assert which fires if used incorrectly.
2020-09-28 00:09:14 +02:00
fe08834259 Split Settings into AppSettings and Settings
This way I can eventually change Settings into RepoSettings without
breaking anything.
2020-09-25 00:33:54 +02:00
f30c52f595 Move all persistent state from AppState to Settings
This way all the persistant state of the app is managed from the same
place. It makes everything much easier. Also, it's required for when
GitJournal supports multiple repositories.
2020-09-24 23:45:37 +02:00