fc4eb60c6f
Add a WorkerQueue class
...
This is meant to reduce the code duplication between the LinksLoader and
the MdYamlDocLoader class. So far, it just highlights how fragile
the message passing is between Isolates.
2021-08-09 11:38:05 +02:00
879e238428
Sort by filename if file last modified is the same
...
Related to #172
2021-08-09 10:47:35 +02:00
f24740ea3a
SortedNotesFolder: Fix binary search
...
I can't remember why I implemented this myself instead of using a
standard implementation and avoiding idiotic bugs like this.
Fixes #172
2021-08-09 10:43:46 +02:00
4d1dff32fa
OrgMode: Add images with the correct markup
...
It was using the markdown syntax.
Related to #145
2021-08-04 08:40:15 +02:00
ef1536223d
Remove Note.addImageSync
...
We can just always use the async version.
2021-08-04 08:28:10 +02:00
a0a97aa8cb
Cleanup code
2021-08-04 08:17:49 +02:00
d53154aa8e
Remove note.remove
...
Only being used in a test
2021-08-04 08:13:48 +02:00
39096c270c
Note.save: Move to NoteStorage
...
I'm trying to move all FS related operations out of the Note class, and
ideally make it super small. This class will need to be serialized over
the wire for the web version, and that needs it to be small.
2021-08-04 08:03:48 +02:00
e2992b3603
Analytics: Fix session ID
2021-08-03 16:53:22 +02:00
b0edb257c6
Analytics: Cleanup
...
I don't see any way of getting the app install source.
Run the formatter on the rest
2021-08-03 16:25:15 +02:00
01087bd088
Sentry: Avoid sending the psuedoId
...
It's not being used for anything.
2021-08-03 16:11:41 +02:00
0a7eb4d517
Move pseudoId to Analytics
...
From AppSettings
2021-08-03 16:08:28 +02:00
c04af8480d
Analytics: Capture current screen
2021-08-03 15:57:37 +02:00
d0efbbf6ad
Analytics: build an event
2021-08-03 15:54:30 +02:00
80d7a8246a
Analytics: Simplify code
2021-08-03 14:02:12 +02:00
5f3ef0ce06
Analytics: Add service + go options
2021-08-03 13:48:26 +02:00
badd4ef1e5
Analytics: Allow calls to logEvent even if we haven't been initialzed
2021-08-02 16:27:45 +02:00
0b7195960c
Split Analytics Route Observer into its own file
2021-08-02 15:42:15 +02:00
17d2c2db0d
Analytics: cleanup
...
This way its less dependant on GitJournal and can be used in other
projects.
2021-08-02 15:36:58 +02:00
a0211b35c2
Analytics: Add code to build the device Info
...
This fills the protobuf structure
2021-08-02 15:23:03 +02:00
7c440fd1c0
Analytics: Add a protobuf file
...
First version
2021-08-02 15:21:42 +02:00
357cedee52
Remove plausible experiment
...
Not being used, and it's easier to just run our own db. Plausible is not
built for app analytics.
2021-08-02 15:21:37 +02:00
5177be2593
Bump version
...
Time to make a new release
2021-08-02 11:28:46 +02:00
86e1e754f7
SortingModeSelector: Make it scrollable
...
Fixes #385
2021-08-02 11:19:14 +02:00
c81e539a76
StripMarkdownFormatting: Only consider '* ' as lists
...
If we let the space be optional then this picks up bold/italics as well.
Ideally, the stripMarkdown formatting could be made smarter, but I would
prefer to just rid of it in the future, and use the proper markdown
parser.
The only thing that is stopping me right now is performance. So in the
future when the stripped version is cached, this should be fine.
Fixes #420
2021-08-02 11:12:54 +02:00
ba566f5fbe
MarkdownToolbar: Make it scrollable horizontally
...
This way it will still show properly on really really narrow screens.
Fixes #451
2021-08-02 11:05:43 +02:00
1ac0627f13
MarkdownToolbar: Make it work for selected text
...
Fixes #522
2021-08-02 10:40:27 +02:00
60ca4a6a9d
Fix flutter analyze issue
2021-07-31 18:33:53 +02:00
c1ce37ca24
Bump some deps
2021-07-31 18:07:41 +02:00
4606268a2c
InlineTagProcessor: Add a test for ignoring tags in code blocks
...
Skipping it for now since it fails
Related to #290
2021-07-31 17:22:41 +02:00
b7af4604df
LinksLoader: Use LineSplitter
...
Far more efficient
2021-07-31 17:20:01 +02:00
a181cd9e20
Add a markdown TextVisitor class
...
This is going to be used to parse the tags from a markdown document
while ignoring the text inside a code block
2021-07-31 17:18:46 +02:00
3ef7f65b33
SortingMode: Handle cases where one fileLastModified is null
...
This is a mess. The entire Note class needs to be split up, and the file
last modified should never be null.
2021-07-31 14:59:23 +02:00
32ddd080b2
Add a fake debug screen
...
It's easier to work on it this way
2021-07-30 14:58:55 +02:00
3a71cca202
Move logging code to its own folder
2021-07-30 14:39:13 +02:00
79b74d0d77
Show progress on the cloning page
...
Fixes #397
2021-07-30 12:57:35 +02:00
471669e20b
Add another dashbook experiment
...
This is being use to test out the cloning screen. It runs on Flutter
Web!
2021-07-30 12:57:35 +02:00
938a4c27e8
Rever dart:io change for setup script
2021-07-30 12:11:33 +02:00
2505d00dfb
Replace dart:io with universal_io
...
Platform from dart:io cannot be used on the web for reasons. And this
way we get a fake File/Directory class which we can use for atleast
running the web version, even if it won't work.
2021-07-30 11:39:26 +02:00
72e9de29de
Move editor related code into its folder
...
I'm trying to separate the code based on the domain so that this code
can be easily reused in other projects
2021-07-30 11:12:00 +02:00
009ec48a8c
One less use of dart:io
...
dart:io cannot be used in the web
2021-07-30 11:03:36 +02:00
3bc617ab97
Hide "Rate App" from App sidebar on the desktop
...
It's only supported on ios and Android.
2021-07-29 23:01:24 +02:00
bb3afd92cf
Settings: Minor cleanup
2021-07-29 18:14:52 +02:00
e929e8933e
Experiment more with grpc
...
Seems to be going well.
2021-07-29 18:03:59 +02:00
0b16329e9a
Remove unused script
2021-07-29 17:37:53 +02:00
07763226df
Stop using deprecated packages
2021-07-29 14:39:23 +02:00
ad76dabcfb
Experiment with serving shared preferences over grpc
...
The idea is that for GitJournal's web version, we can have it talking
with the mobile version which runs a grpc server. All of the git + fs
logic will still run in the mobile and the web version will only have
the UI.
2021-07-29 14:33:00 +02:00
a7869612b3
Show 'beta' banner on Desktop
2021-07-29 12:55:21 +02:00
e946c87229
Remove unused class
2021-07-29 12:53:38 +02:00
c6665fa63e
Simplify Settings/Config classes
2021-07-29 12:45:33 +02:00