13 Commits

Author SHA1 Message Date
45af5c3863 RepoSelector: Add language colours
This is disabled for now, as the new UI is still a WIP

Fetched from https://github.com/Diastro/github-colors
2020-09-04 02:39:31 +02:00
a05e9d04de Setup: Make more strings translatable 2020-09-04 01:57:01 +02:00
482250f253 RepoSelector: Remove overflow animation 2020-09-03 21:50:23 +02:00
721153308e RepoSelector: Show the datetime in relative terms
Unless it is more than 30 days
2020-09-03 21:50:23 +02:00
624998721e RepoSelector: Try making it prettier
It's a mess, so for now lets go back to the previous design, but I still
want to keep this code.
2020-09-03 21:50:20 +02:00
b96513b25f RepoSelector: Mark strings as translatable 2020-09-03 20:05:49 +02:00
7936cc70b8 Analytics: Make all events into enums
No more random strings
2020-08-17 15:29:38 +02:00
9d00fdac06 Use import_sorter
flutter pub run import_sorter:main --no-comments

The code feels much cleaner
2020-07-24 12:43:28 +02:00
5d7f616c6e const++ 2020-07-21 10:46:03 +02:00
88552fe8e9 Revert "Workaround intl bug by harding 'en' locale"
This reverts commit 303192d9d575b26a77a00f7a62212f310ec1e329.
This reverts commit cd9d128b47ed523036f7ae1232ec7adcf04ed8a9.

GitJournal is used by non-English speakers (a lot in China and Russia)
and while we don't support those languages completely, we do support
them a little bit. I don't want to loose this functionality. It would be
better for us to fix the bug in intl.
2020-06-10 09:31:08 +02:00
cd9d128b47 Workaround intl bug by harding 'en' locale
https://github.com/dart-lang/intl/issues/266

This is strange since Intl.getLocale() returns 'en_US' in my case.

Currently, GitJournal only supports 'english' anyway, so this shouldn't
be a big problem.
2020-06-09 18:23:43 +02:00
630b4896e6 RepoSelector: Allow text to be easily cleared 2020-05-18 23:09:14 +02:00
18db4899b2 GitHostSetup: Allow the user to choose between repos
This way they don't need to use a repo called 'journal'.
2020-05-15 15:28:44 +02:00