1819 Commits

Author SHA1 Message Date
971e73af09 FeatureTimeline: Refactor 2020-08-19 13:04:00 +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
2668d14510 Replace test with simpler test
Also lets not auto convert old notes title format.
2020-08-19 11:40:50 +02:00
ada656c675 Do not write the title as h1 if it is in the yaml header
In general, we try to follow the conventions in the note parsed over
whatever the default config.

Related to #214
2020-08-19 11:31:16 +02:00
32f032204f Bump yaml_serializer 2020-08-19 11:03:49 +02:00
8f2bb557da YAML tags: Let it be a string seperated by spaces and have a #
In general we try to follow the same format as specified in the input
note.
2020-08-19 10:41:52 +02:00
9380f3cc06 Allow YAML tags to be a string 2020-08-19 10:12:07 +02:00
6be1c22496 Remove extra _notifyModified 2020-08-19 10:02:03 +02:00
7c1eade09b GraphView: Show the Node's label 2020-08-18 13:37:57 +02:00
f2dcc4d193 GraphView: Highlight the edges of the selected node 2020-08-18 13:35:33 +02:00
f1d8546e81 GraphView: Start layouting on moving the nodes
This is awesome. It's exactly what I wanted. The graph layout algorithm
will need to be improved, but this is already quite usable.
2020-08-18 13:33:30 +02:00
f2e61d3efd GraphView: Draw the edges with a normal canvas
We no longer need the touchy canvas as the nodes are proper Widgets
which makes everything so much easier.
2020-08-18 13:17:57 +02:00
06275ae206 Graph: Try to implement it with a Stack
This seems a far easier way, and moving it around also works so so much
better.
2020-08-18 13:12:27 +02:00
3885a5e153 ios build
The Podfile format has changed with Flutter 1.20
2020-08-18 12:03:18 +02:00
e80525ca01 Bump version 2020-08-18 11:37:28 +02:00
b15da0677a Document firebase's automatic events
We just need to duplicate these events ourselves, and then we could
replace firebase with our own solution.
2020-08-18 11:34:33 +02:00
9859aa6106 Allow custom metadata to be specifiec for any note
This way we can add 'draft: true' to all new notes.

Fixes #168
2020-08-18 10:47:26 +02:00
bc68b7e4ee Output flutter tests in junit format
This way circleCI should be able to read them better.
2020-08-17 16:51:23 +02:00
b4e127cdc9 Generate test coverage in the CI 2020-08-17 15:46:16 +02:00
7936cc70b8 Analytics: Make all events into enums
No more random strings
2020-08-17 15:29:38 +02:00
d94a1e1630 Remove another use of Settings.instance
I really want to remove this global variable, and only access it through
the Provider.
2020-08-16 15:51:53 +02:00
155d04e465 Directly get the RootFolder from the Provider
Instead of going through the StateContainer
2020-08-16 15:38:26 +02:00
4bcbf8226a Move onBoardingCompleted from AppState to Settings
I want to get rid of the AppState entirely. It serves exactly the same
purpose as Settings.
2020-08-16 15:29:49 +02:00
1e0fdb9f06 Fix WikiLink resolution
I apparently wasn't following exactly what Obsidian was doing. This
algorithm is getting a bit complex and should be documented, also now
I'm not sure how other apps are doing it, and maybe I should have
specific link resolvers per 'app'.
2020-08-16 15:05:16 +02:00
fb2ca11d84 MarkdownToolbar: Add buttons for creating lists 2020-08-15 18:06:06 +02:00
d5ce4e1110 FlattenedNotesFolderTest: Fix it
Occasionally the random number generator would generate the same number
and we wouldn't check if the file existed.

Also, we were accidentally creating all the notes in the root dir, so
this test was a bit useless.
2020-08-15 13:22:05 +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
949a7e6662 Editor: Don't use the BottomAppBar
The BottomAppBar has a SafeArea widget inside which seems to give it an
extra top padding on my phone (OnePlus), I'm not sure why it thinks this
extra top padding is required.

Maybe this workaround will fail on other devices
2020-08-15 12:23:43 +02:00
22985ea500 MarkdownToolbar: Implement navigation between words 2020-08-15 11:58:39 +02:00
1a4d3bef9a Add Zettelkasten filename format as an option
Fixes #216
2020-08-15 11:28:24 +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
206b426033 Bump version 2020-08-14 19:20:28 +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
6280ccbdc3 Add some docs for myself 2020-08-14 16:51:11 +02:00
94705bc060 Fix .gitignore 2020-08-14 16:50:37 +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
bf97887e10 Fix relative Markdown links
While implementing Wiki Links, I seem to have accidentally broken them.
2020-08-14 16:14:00 +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
8668b88a95 MarkdownToolBar: Test h1 removal 2020-08-13 00:54:24 +02:00
ed08672ee2 Simplify tests 2020-08-13 00:51:54 +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