13 Commits

Author SHA1 Message Date
36f31e06bb Move NoteBacklinks Widget to its own file 2020-05-26 17:07:57 +02:00
96ed70f023 Show the backlinks of a Note
This is the initial proof of concept and doesn't look very pretty. It's
also not very efficient.

Related to #141
2020-05-26 15:37:09 +02:00
b2d0cf44ab Stop using deprecated TextStyle properties 2020-05-08 10:55:00 +02:00
81eb605e98 MarkdownViewer: Use EditorScrollView
This way we don't show that annoying animation, and we now occupy the
entire available width. Otheriwse if you had text which was required
scrolling, but only had 1 word in each line, then you couldn't scroll by
dragging on the empty area as the widget didn't occupy that space.
2020-05-06 14:27:49 +02:00
d81041802a MarkdownView: Use CachedNetworkImage
This is the simplest way I could find of showing a placeholder and
loading screen while the image was downloading. I'm not sure if I want
to cache the images locally.

Also, this adds lots of dependencies, which I'm not too comfortable
with.
2020-04-17 10:27:21 +02:00
dbeb1cdbe5 Remove hero from note_viewer
We now show the NoteEditor directly, so this hero doesn't really do
much.
2020-04-14 18:27:16 +02:00
9e60a74c19 Allow opening relative links while are notes 2020-04-02 19:34:54 +02:00
46590aff48 Markdown: Show images
At least show existing images. The path needs to be relative

Related to #10
2020-03-31 14:11:01 +02:00
e1a06a439c NoteViewer: Simplify code 2020-02-28 12:42:37 +01:00
dae3d1aec9 Remove the FAB
Fixes #58

I've tried adding a black space under the FAB, but that just reduces the
available vertical space while typing. This does reduce the usability
for small notes, as clicking on the FAB is much easier than clicking on
top-right back button or clicking the back button twice on Android.
2020-02-28 12:34:56 +01:00
a49876e3ee Remove the title editor if it cannot be stored
It just makes it confusing for the user otherwise.
2020-02-19 23:00:52 +01:00
d128fe61a8 MarkdownEditor: preview - Show the title even if it is empty
This way jumping between preview and editing isn't jarring as the text
doesn't need to move at all.
2020-02-13 17:19:12 +01:00
6d38377144 Split NoteViewer into its own file 2020-01-28 16:02:54 +01:00