2231 Commits

Author SHA1 Message Date
13f060e6e1 Add Date Only FileName option
Fixes #346
2021-02-06 20:54:45 +01:00
99c36f32f5 Make Repository a consumer of RepoManager
I feel like I really don't understand Provider properly and this is
going to blow up in my face.
2021-02-05 09:42:51 +01:00
bff9162858 RepoList: Use a better curve
This makes the entire animation look so much better.
2021-02-04 17:30:43 +01:00
07b6c6e099 Repo Selector: Fix animation
Urgh. This took way too long.
2021-02-04 17:13:06 +01:00
7d259715cf RepoList Animations: We don't need multiple animation controllers 2021-02-04 17:03:30 +01:00
66a8c6a185 AppDrawerHeader _CurrentRepo: clean up 2021-02-04 16:46:52 +01:00
c0d26fd1fb AppDrawer: Animate repo list
When it is hidden / visible. The animation isn't perfect as the slide
animation seems to go in a differet speed than the size one. I'm not
sure what is going on.
2021-02-04 16:46:02 +01:00
c4ffaa0ab2 AppDrawer RepoSelector: reduce anim time to 250 msecs
Feels better
2021-02-04 16:06:28 +01:00
a5dddf8e3e AppDrawer: Current Repo animate on tap 2021-02-04 16:03:14 +01:00
e94d2db06d AppDrawer: Extract CurrentRepo to its own widget 2021-02-04 15:40:23 +01:00
2e9be69c7c AppDrawer: Show repo list
This is just a first attempt and all the values are hardcoded. This
needs lots more work.
2021-02-04 15:37:24 +01:00
e9c7adafd1 Add useful debug statement 2021-02-04 12:00:47 +01:00
608a613757 Add a hack of ignoring folders with a '.gjignore' file
In the future we should open this file and ignore paths similar to how
.gitignore does it. For now, lets use this hack.

Requested by a friend
2021-02-04 10:59:04 +01:00
e3e513ef65 Log device info
This way it's easier to debug user's issues
2021-02-04 10:51:29 +01:00
05aca7a013 Logs: Output the version number
This ways it's easier to understand logs sent by users
2021-02-04 10:36:38 +01:00
cb5845c212 Add main_webview which is used for testing 2021-02-04 10:28:23 +01:00
96ce50bc68 Basic Implementation of RepoManager
This is for multiple-repo setup.
2021-02-04 10:27:29 +01:00
8eb8905d6d Add Editor Heuristics to Journal Editor
I frequently make lists in the Journal Editor and it's annoying that
these features aren't available.
2021-02-03 19:24:19 +01:00
b301d70991 Add convenient script for running tests 2021-02-03 17:10:40 +01:00
1d20b177e1 Add main_features
This doesn't work as it requires flutter, but I may as well commit it
2021-02-03 17:09:15 +01:00
bebbf7459f Update .gitignore 2021-02-03 17:09:02 +01:00
04228cb497 Fix Experimental Markdown Toolbar
It's now again visible
2021-02-03 16:34:30 +01:00
2c071fb792 Disable undo/redo for editors where it hasn't been implemented 2021-02-03 16:06:28 +01:00
ebff34b753 Basic implementation of undo/redo
It's not great, as the granularity is too low. But it's a good first
step. It only works in the RawEditor so far.
2021-02-03 16:03:15 +01:00
e80fff575c Move Editor Heuristics to be self contained
This way it can easily be used in other editors
2021-02-03 11:56:20 +01:00
350fbb1ccf MarkdownEditor: Handle title change marking note as modified 2021-02-02 16:25:43 +01:00
8c3abe7b65 MarkdownEditor: Remove undo/redo poc
Figured out a better way to do, and it's better if this is in a separate
class as it needs to be reused with different editors.
2021-02-02 16:22:09 +01:00
b9d765f726 Rename EditorState to TextEditorState
Also remove the EditorHeuristicsResult class. This way all of these are
being combined together.
2021-02-02 16:08:15 +01:00
8c373986bc Move Editor Bottom bar to its own file 2021-02-02 16:03:35 +01:00
be44cc05fe Move autocompletion to inside the editors 2021-02-02 15:57:01 +01:00
9d230eebdb Autocompletion: Show a bit more options
This is still just a Poc
2021-02-02 15:53:30 +01:00
df6cba7098 Tags AutoCompleter: More Tests 2021-01-28 15:20:04 +01:00
79207d9422 AutoCompletion: Add tests for tags autocompletion
Also move the file. I tried using the same code base for both the types
of auto-completion and this has resulted in a huge mess. It's best to
keep the logic completely seperate for the two.
2021-01-28 14:57:04 +01:00
07947d637a Add some tests for autocompletion
All of these tests fail, I'm just trying to get an idea of what all I'll
need to implement. And what the interface should look like.
2021-01-27 21:41:58 +01:00
7b8c7479dd BUILD: Mention NDK version required
Fixes #401
2021-01-27 13:40:11 +01:00
90d78d8187 Backlinks Summary: Stop crashing
Fixes APP-P6
2021-01-23 06:57:23 +01:00
6761d6a4e5 LinkResolver: Handle strange path
Fixes APP-P8
2021-01-23 06:53:03 +01:00
76c0ec6503 clone: Add some more debug statements
I cannot understand why a user has still reported a bug with it.
2021-01-23 06:37:58 +01:00
12a38450c9 AutoCompleter: Move to its own file 2021-01-22 18:19:11 +01:00
923b929392 AutoCompleter: Improve detection of startToken 2021-01-22 18:15:15 +01:00
c015f886da AutoCompleter: Move to its own class 2021-01-22 17:41:28 +01:00
6e5954ae4a AutoComplete: Only have 1 overlay 2021-01-22 17:05:21 +01:00
db2d6cdbdc Bump minor version 2021-01-22 10:53:34 +01:00
ad4788f1d8 Repo Selection: Force the keyboard to close after selecting
It doesn't always close automatically
2021-01-22 10:53:02 +01:00
a60e2bbf2a Fix setup git host failing
Outlined every case properly and tested it thoroughly. If this still
fails I am a terrible programmer, and should learn to isolate components
and write through tests.

Fixes #394 #378 #368
2021-01-22 10:51:53 +01:00
2199cd2a3a Add some scaffolding for undo/redo
I don't want to lose these changes and putting them in a branch will
result in merge conflicts.
2021-01-22 10:11:35 +01:00
91426556e5 pubspec sort 2021-01-20 20:09:38 +01:00
dbf038f801 Hopefully fix the strange error of _startGitClone being called
In some debug reports I see logs of _startGitClone being called again
and again and again. I'm not sure what is causing it. Maybe this will
fix it?
2021-01-20 20:08:30 +01:00
408b16b2c1 pubspec: Add config for import sorter 2021-01-20 12:15:49 +01:00
f8ed88ad00 Rename keygen exp to not trigger flutter analyze 2021-01-19 19:16:41 +01:00