243 Commits

Author SHA1 Message Date
7936cc70b8 Analytics: Make all events into enums
No more random strings
2020-08-17 15:29:38 +02:00
fb2ca11d84 MarkdownToolbar: Add buttons for creating lists 2020-08-15 18:06:06 +02:00
88328902f4 MarkdownToolbar: Add a vertical divider to group items
The buttons for moving between words shouldn't be grouped together with
the formatting buttons.
2020-08-15 12:49:33 +02:00
87eb0c5419 MarkdownToolbar: Make the header icon bolder
Ideally, we should just use the FontAwesome icons for each of these
instead of relying on the normal font.
2020-08-15 12:41:14 +02:00
850e9c7826 MarkdownToolBar: Make bold work with newlines 2020-08-15 12:36:13 +02:00
2c8bf8d5ae Make the MarkdownToolbar prettier 2020-08-15 12:29:37 +02:00
22985ea500 MarkdownToolbar: Implement navigation between words 2020-08-15 11:58:39 +02:00
745d59e570 MarkdownToolbar: Add buttons to navigate between words 2020-08-14 22:00:34 +02:00
440ee96639 MarkdownToolbar: Bold: Add more tests 2020-08-14 21:21:08 +02:00
c6d5ebc0b2 MarkdownToolbar: Add tests for surrounding the current word with ** 2020-08-14 21:17:29 +02:00
46269dd94a Implementing controlling of the sorting order
The dialog looks quite ugly right now, but at least everything works. I
can work on making it prettier after this.
2020-08-14 19:17:38 +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
5066a2a729 IAP: Always enable pending purchases 2020-08-14 16:08:13 +02:00
c38f823ae3 MarkdownToolBar: Test h1 removal
And fix cursor position after removing of the header
2020-08-13 01:14:06 +02:00
d4b201f7ef MarkdownToolbar: Replace current line
Add a few more tests
2020-08-13 00:44:12 +02:00
f3ad0144c5 Add a test for MarkdownToolbar's replace current line
The logic is non trivial
2020-08-13 00:29:17 +02:00
c7a956c5bf Give MarkdownToolBar to TextEditingController
Instead of handling every single callback.
2020-08-13 00:12:25 +02:00
a6ebcdfda6 Move MarkdownToolbar to its own file 2020-08-13 00:07:56 +02:00
c6e4cf3d8a Note's parent shouldn't even be null 2020-08-12 19:20:36 +02:00
990efc8f7b Add a 'Restore Purchase' button
Instead of doing it automatically,

Fixes #211
2020-08-12 19:05:58 +02:00
199b9682bc PurchaseSlider: Get the largest amount as well 2020-08-12 18:50:28 +02:00
21447a09e0 PurchaseSlider: Fix it
It was a bit wonky
2020-08-12 18:50:10 +02:00
0c467e6b01 Move LinkResolving code to its own class
It has become sufficiently complex that a number of edge cases need to
be tested.
2020-08-10 23:49:09 +02:00
228631b395 Remove unused import 2020-08-10 21:13:57 +02:00
3e2306801b Add a test for the markdown node parsing
This way we will clearly know when the Markdown parsing fails because of
bugs in the markdown package.
2020-08-10 21:04:13 +02:00
39944c247e Remove annoying debug messages 2020-08-10 20:31:46 +02:00
17dff46660 Remove wikilink duplicate regexp 2020-08-10 20:31:46 +02:00
706c086525 Make sure ProOverlay is only used with Pro features 2020-08-10 16:07:10 +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
b82b5ee658 PurchaseScreen Analytics: Record with new format 2020-08-10 15:32:39 +02:00
5f6c9f2f97 Make App Drawer strings translatable 2020-08-10 10:34:03 +02:00
1379fcfb0b AppDrawer: Use enum Events instead of strings
It's easier when all the events are declared in one place. This patch
gets us one step closer to that.
2020-08-09 02:10:39 +02:00
2bc9e8deaf More removals of Settings.instance 2020-08-09 01:59:07 +02:00
9d55b449d3 Settings: Access it through the Provider
Make it a ChageNotifier and try to access it through the Provider
instead of like a global variable. This way, the state is better
managed and it'll be easier to split out Settings into smaller classes.
2020-08-09 01:29:22 +02:00
a98b99dcb5 refactor: Move SortingOrderSelector into its own widget
Also translate it
2020-07-31 21:39:27 +02:00
8e8c11c5ef FolderView: Refactor NewNoteNavBar into its own widget 2020-07-31 20:47:18 +02:00
b85f9028fe Half implement Note selection in a FolderView
This allows you to long press on a note and select it, thereby allowing
you to perform actions on it, without opening the note.

This is disabled for note, as it isn't completely implemented. I'm not
sure how to pass down the informatin on which Note is selected.
2020-07-31 20:36:20 +02:00
2ef2ccdf23 Editors: Allow the title to be edited even when YAML is disabled 2020-07-29 16:27:15 +02:00
2396b34b75 Allow the FS view to be experimentaly enabled 2020-07-26 19:05:47 +02:00
28d53242d8 Move away from RevenueCat
The iOS updates keep getting rejected, and I think it's because
RevenueCat is taking too long to respond. Additionally, revenueCat
doesn't really give us anything useful as its receipt validation isn't
perfect, and I've had to roll my own.

Plus from a privacy point of view, this is better as we are no longer
talking to any third party service.

This has so far only been tested on iOS
2020-07-26 12:20:09 +02:00
998da3e94c AppDrawer: Add hidden options to move between repos
This commit doesn't do anything, but it took me way way too long to
implement this basic UI. It's commented out for now.
2020-07-24 16:31:43 +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
5253c7bdd1 PurcahseWidget: Log the revenuecat errors
These shouldn't be happening.
2020-07-23 18:00:33 +02:00
33f34936fa PurchaseWidget: Show an error on the screen
Instead of via a scaffold
2020-07-23 17:59:44 +02:00
5d7f616c6e const++ 2020-07-21 10:46:03 +02:00
c24cca6395 PurchaseWidget: Use the correct scaffold 2020-07-14 20:59:50 +02:00
4e61c21088 NoteTagEditor: Add the tag when hitting Enter 2020-07-09 17:51:01 +02:00
e6d479d804 Increase the default price
It'll be nice experiment to see if this results in people paying more.
2020-07-09 16:52:17 +02:00
a861c16e8f PurchaseSlider: Add buttons to make chosing the price easier
This way we can more easily choose the value, as the slider is quite
buggy.
2020-07-09 16:50:27 +02:00
94730c7040 PurchaseWidget: Move slider to its own file
Also de-couple it from RevenueCat specific APIs.
2020-07-09 16:31:49 +02:00