36 Commits

Author SHA1 Message Date
f672c3eb55 flutter fix deprecations 2024-08-13 18:13:04 +02:00
ea8cd35261 Fix deprecated methods 2023-02-09 16:00:29 +01:00
ca98da4029 Update deps and fix linting issues 2023-01-20 16:14:08 +01:00
d6abbbb9b5 Remove the entire concept of Features
GitJournal is no longer going to be a product where it's paid per
feature. Instead it'll just be a paid one time thing.
2023-01-19 18:21:37 +01:00
6d453ee62a Rename app_localization_context to l10n
It's easier to enter and this file now contains far more things
2022-11-27 17:52:03 +01:00
3f34c98adc Localization: Move plural to arb files 2022-11-27 17:46:45 +01:00
3ede4634a3 StatefulWidget: Mark internal variables are private 2022-01-27 12:38:57 +01:00
7bb7fb94f2 note.title: Let it be null
This is a remanent from the time when non-nulllable didn't exist in
Dart.
2022-01-14 10:26:03 +01:00
6a915864f2 Move NotesFolder's code to their own folder
The 'core' folder is becoming way too huge.
2021-10-15 12:31:35 +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
33a731a3d7 Add reuse licensing to files in lib 2021-09-15 13:06:43 +02:00
d3fab6fb7c Fix LinksView
Stupid box / dart limitation
2021-09-06 17:33:43 +02:00
665d1dce2b Add a Materialized View for the Links
Calculating the links is very expensive, this way we finally don't need
to do it each time!
2021-09-06 16:57:30 +02:00
19a204883f Remove unused code 2021-08-26 07:44:32 +02:00
9acf3d15f6 null safety++ 2021-06-02 09:40:53 +02:00
f133550921 Use firstWhereOrNull
Simplifies the code
2021-05-25 10:42:49 +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
01f47e219a Fix crash
How was this missed?
2021-02-06 23:01:26 +01:00
90d78d8187 Backlinks Summary: Stop crashing
Fixes APP-P6
2021-01-23 06:57:23 +01:00
c94ff85804 Overhaul Link parsing
We were mixing up header links with wiki links and the alt text. It was
a bit messy. We currently do not support linking to a particular part of
a note. Nor do we support wiki links as link references.

Fixes APP-A0
2020-09-14 12:20:15 +02:00
6ba0f3974a NoteEditor: Pass it the parentFolder
A note has a parent which is the physical folder it is inside, and a
parent folder which it is being displayed inside. It's useful to have
the latter as that can be used to display the next note - in the case of
the Journal Editor, and open the graph view as well.
2020-08-20 10:42:39 +02:00
e449ed4261 NoteBacklinks Summary: Use the LinkResolver
The link resolution algorithm is complex and we shouldn't be using the
adhoc method.

Fixes APP-4V
2020-08-19 12:29:50 +02:00
2fcdfa0d6c Note Backlinks: Use the linkResolver
The backlinks should use the same algorithm for determining the links as
is used when clicking on a link.
2020-08-14 16:44:54 +02:00
228631b395 Remove unused import 2020-08-10 21:13:57 +02:00
39944c247e Remove annoying debug messages 2020-08-10 20:31:46 +02:00
c048ead8a9 Log every feature and how we reach the purchase page
We now have a list of all the features that are implemented, and we can
use that to show a kind of feature list which can be used to -

1. Move away from app rental model
2. Showcase a feature list; see WorkingCopy
2020-08-10 16:05:26 +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
6aeb6f7119 NoteBacklinksRenderer: Add debug logs
This renderer occasionally hangs, I'm not 100% sure why, and these logs
will help diagnose the issue.
2020-07-05 20:48:03 +02:00
421a30b016 Fix linking of relative links
This broke while trying to support the [[ ]] syntax.
2020-06-19 12:40:01 +02:00
5e557ef6c3 Rename MetaLinkSyntax to WikiLinkSyntax 2020-06-12 13:50:54 +02:00
01006ddaa1 NoteBacklinks: Do not show pro overlay if no backlinks present 2020-06-10 16:24:22 +02:00
b33a66a5fc BackLinks: Render the [[term]] in bold 2020-06-10 15:46:16 +02:00
3794bf8ac0 Backlinks: Add support for [[link]] type links 2020-06-10 15:19:07 +02:00
1cebc69759 Backlinks: Make the entire part tappable 2020-06-10 15:18:38 +02:00
d3fb2b7119 Try to make the backlinks section prettier
I'm not totally convinced that it should be here.
2020-05-26 18:05:50 +02:00
36f31e06bb Move NoteBacklinks Widget to its own file 2020-05-26 17:07:57 +02:00