96bbef436b
Add a dark mode switcher in the App Drawer
...
Inspired by Telegram, though our animation is not as fancy.
Related to #121
2020-09-04 02:21:22 +02:00
53b4d643fb
Move ScrollViewWithoutAnimation to its own file
2020-09-03 21:50:23 +02:00
33e947a49e
MarkdownToolbar: Add some FIXMEs
2020-09-03 19:47:19 +02:00
9db05bb7d8
PurchaseWidget: Handle when it fails to load options
...
Fixes APP-AY
2020-09-03 11:55:43 +02:00
40b5afdb7b
IAP Verify Fail: Report it to Sentry
...
Not as analytics. This should typically never be happening.
2020-09-03 08:30:17 +02:00
9ec33842bc
MarkdownToolbar: Remove old block tag
...
If a text starts with '# ' and we click on the '- ' button, it should
remove the old tag '#' and replace it with '- '. Before this it would
have done something like this '- #'
2020-09-02 00:00:53 +02:00
fefe354e83
MarkdownToolbar: Navigate across multiple lines properly
2020-09-01 23:32:14 +02:00
4596e11ab4
PurchaseScreen: Make all strings translatable
2020-09-01 10:48:05 +02:00
588f1db263
PurchaseScreen: Change the text
...
* Call it a Monthly Subscription - as that is exactly what it is
2020-09-01 10:38:19 +02:00
4c324a1194
IAP: Ignore user cancelled errors
2020-09-01 10:30:09 +02:00
b3bdb8657c
Handle IAP of products
...
We were only handling subscriptions properly
2020-09-01 10:29:50 +02:00
822607ba18
Add extra logs
2020-09-01 09:18:16 +02:00
3bcbe5a71d
IAP: Do not consume the purchase
...
Otherwise it will not show up when querying past purchases
2020-09-01 09:17:33 +02:00
b35db2a343
IAP: Exit after an error
...
Do not try to consume the purchase
2020-09-01 08:51:37 +02:00
7a23915686
Clarify the the Monthly Purchase option text
...
Clearly show how much they would need to pay in order for it to convert
into a normal One Time Purchase.
2020-08-31 18:00:07 +02:00
957638d8a1
Change yearly subscription to 'One Time Purchase'
...
I could have a yearly subscription as well, but the screen is confusing
enough as it is. Also, by next year - I should have the Stripe
Integration running and I can possibly avoid the extra 30%.
2020-08-31 17:28:08 +02:00
b6f9c27bf1
PurchaseScreen: Change text of yearly to "Purchase"
...
Instead of "Subscribe". Maybe this will help.
2020-08-21 11:37:02 +02:00
d05e88ef89
Add an indicator in the AppDrawer for Pro Mode
2020-08-20 10:59:32 +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
518ae9d4ef
First Iteration of Yearly Purchase
2020-08-20 09:32:40 +02:00
732c547cef
PurchaseSlider: Make it prettier
...
It now appears as a triangle which is getting filled up. It no longer
lets you click on it, but we have buttons on the side for that.
2020-08-19 17:24:56 +02:00
7d88ef0399
Add a YearlyPurchaseWidget - disabled for now
...
Abstract out the PurchaseWidget and use it for both monthly and yearly
purchases. The yearly purchases hasn't been enabled so far, as the IAPs
still need to be approved on iOS and the PageView widget I was using to
switch between the two options isn't giving me what I want.
2020-08-19 16:39:42 +02:00
f4ab547fd5
Change default purchase amount
2020-08-19 12:31:27 +02:00
6f3eff20e8
Remove sku_monthly_min
2020-08-19 12:29:54 +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
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