46 Commits

Author SHA1 Message Date
2e0a3cfd6a chore: Moving folder_listing to bloc
First implementation of a screen using bloc. I'd like to slowly move all
the screens to bloc.
2024-08-18 20:12:26 +02:00
e2c1363224 Remove unused code + deps
Both this calendar view and this history screen need a lot of work to
get them to a place where they can be shipped, and there are no plans of
doing that.
2024-08-17 00:47:41 +02:00
1d3d7de583 Remove Experimental GraphView
I haven't made any progress in it over 1.5 years now. It's clear that
I'm not going to.

GitJournal is already way too big, and it doesn't have space for
features which I don't personally use.
2023-02-21 16:08:21 +01:00
149859b09f Setup: Stop depending on the GitConfig class
Instead mark it as an interface that must be implemented.
2022-06-26 16:12:38 +02:00
a98b652036 git_setup: Split out Keygen code 2022-06-26 15:42:24 +02:00
a322879077 make fmt 2022-06-26 15:15:11 +02:00
00e6f39e67 Move setup code into its own package 2022-06-26 15:08:55 +02:00
81bfd7a777 Rename to rootFolder 2021-12-20 09:28:00 +01:00
9d70d53e35 Never just hang on loading
This would happen if the current repo couldn't be opened.

We now show a special "Error Screen", and allow the user to add another
repo.
2021-12-16 13:05:02 +01:00
4b658e3580 Move markdown handling to its own folder 2021-12-14 14:12:12 +01:00
4b641f88c8 Move NoteEditor screen to the editors folder 2021-11-04 15:14:52 +01:00
bc60978286 Rename settings screen file
The '2' is useful anymore since the original one no longer exists.
2021-10-30 13:26:14 +02:00
d5cac26b4f Remove original Settings screen 2021-10-30 13:25:41 +02:00
a66156c849 AppRouter: Store the routePath in each class
Instead of one global place for them.
2021-10-30 11:57:36 +02:00
6230e2b3df Rename AppSettings to AppConfig
I just want all the 'Settings' classes to the UI. In the end it really
doesn't matter. This was probably a waste of 5 minutes.
2021-10-27 20:47:57 +02:00
83c3a3dc0f Move History file to its own folder
It looks like this is going to blow up and it's going to be quite large.
Plus I like separating the code based on features.
2021-10-14 17:37:43 +02:00
7e0a77ace3 Fix many cases of 'avoid-ignoring-return-values'
Now that dart-code-metrics has been updated, this lint can finally be
used. So far all of these are false positives, in the sense that I don't
care about their return values.

I wish there was an easy way of marking functions whose return value
shouldn't ever be ignored.
2021-09-27 18:39:18 +02:00
c4ef1f569b Use flutter_lint
Instead of picking lint values. This way I don't need to routinely
looking at extra lints to enable.
2021-09-21 15:42:13 +02:00
f92c21461f Hardcore /newNote/ in a variable 2021-09-16 22:34:17 +02:00
74ac0f4328 Fade to newNote 2021-09-16 22:30:26 +02:00
33a731a3d7 Add reuse licensing to files in lib 2021-09-15 13:06:43 +02:00
e2d391ec02 Add experimental history 2021-09-13 17:32:33 +02:00
c11136ca06 Integrate registration from flutter_login 2021-09-08 18:20:15 +02:00
d597c68ece Remove experimental FS
It'll be easier to just extend the already existing views. Maintaining
yet another view is just too much.
2021-09-08 15:30:19 +02:00
217d46ff7c Add a simple accounts screen
Also make the login page redirect to it
2021-09-08 10:07:43 +02:00
6d6711c15b Analytics: Split events to their own file 2021-08-16 13:24:27 +02:00
c7fb3b792e Move Login/Signup screens into the account folder
I much prefer having parts of GitJournal seperated by their domain,
instead of just widgets/screens/etc
2021-08-13 10:19:02 +02:00
3a71cca202 Move logging code to its own folder 2021-07-30 14:39:13 +02:00
7fa67497bb Split Settings into StorageConfig 2021-07-26 21:53:44 +02:00
d6e2f09a72 Move all settings code to its own folder
Jumping around between the widgets / screens and outside is bit
confusing. Also this way, I can add the stories right here.
2021-06-05 12:23:28 +02:00
30b9a850d4 Move utils file to utils folder 2021-06-04 18:59:58 +02:00
bc0476ce62 IAP: Move all the code to one folder
It's confusing to have it sprawled across the widgets and screens and
base folder.
2021-06-03 13:48:46 +02:00
9acf3d15f6 null safety++ 2021-06-02 09:40:53 +02:00
190dae6f09 Null Safety++
This is exhausting
2021-05-27 13:41:34 +02:00
be0edd018e Add dashbook
This will hopefully make development easier as the different screens can
be worked on more easily. This isn't perfect as the providers don't
work, but it's a start.
2021-05-07 12:55:01 +02:00
9035fef844 AppRoute: Add the routes to const variables
Just makes it easier to make sure there are no mistakes
2021-05-07 12:17:34 +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
da193801ed Remove superflous logs 2021-03-03 20:41:10 +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
60ae75c3cc Add a signup screen 2020-11-19 12:20:47 +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
e873f1f4e2 Fix sharing to the app
It's super hacky, but since I broke it, I just want to first fix it, and
later I'll try to make it nicer.
2020-11-10 18:24:43 +01:00
9fd24169c8 Fix sharing to GitJournal
Fixes #293
2020-11-09 12:56:20 +01: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
f1ccae1db0 Split App into AppRouter
There is way too much code in this file, and it makes it difficult to
test and reason about. Lets start simplifying this huge class.
2020-10-22 23:22:40 +02:00