Laurent Cozic
154163bd6c
Desktop: Fixes #4010 : Add history backward and forward commands to keymap and menus
2020-10-31 12:46:55 +00:00
Laurent Cozic
a459174f98
Desktop: Fix: Command Palette click did not work
2020-10-24 11:46:02 +01:00
Laurent Cozic
3d8577a689
Plugins: Added support for content scripts
...
- For now, supports Markdown-it plugins
- Also fixed slow rendering of notes in some cases
- Simplified how Markdown-It plugins are created and cleaned MdToHtml code
commit 89576de289
Merge: c75aa21f
5292fc14
Author: Laurent Cozic <laurent@cozic.net>
Date: Wed Oct 21 00:23:00 2020 +0100
Merge branch 'release-1.3' into plugin_content_scripts
commit c75aa21ffd
Author: Laurent Cozic <laurent@cozic.net>
Date: Wed Oct 21 00:19:52 2020 +0100
Fixed tests
commit 075187729d
Author: Laurent Cozic <laurent@cozic.net>
Date: Wed Oct 21 00:11:53 2020 +0100
Fixed tests
commit 14696b8c65
Author: Laurent Cozic <laurent@cozic.net>
Date: Tue Oct 20 23:27:58 2020 +0100
Fixed slow rendering of note
commit 61c09f5bf8
Author: Laurent Cozic <laurent@cozic.net>
Date: Tue Oct 20 22:35:21 2020 +0100
Clean up
commit 9f7ea7d865
Author: Laurent Cozic <laurent@cozic.net>
Date: Tue Oct 20 20:05:31 2020 +0100
Updated doc
commit 98bf3bde8d
Author: Laurent Cozic <laurent@cozic.net>
Date: Tue Oct 20 19:56:34 2020 +0100
Finished converting plugins
commit fe90d92e01
Author: Laurent Cozic <laurent@cozic.net>
Date: Tue Oct 20 17:52:02 2020 +0100
Simplified how Markdown-It plugins are created
commit 47c7b864cb
Author: Laurent Cozic <laurent@cozic.net>
Date: Mon Oct 19 16:40:11 2020 +0100
Clean up rules
commit d927a238bb
Author: Laurent Cozic <laurent@cozic.net>
Date: Mon Oct 19 14:29:40 2020 +0100
Fixed tests
commit 388a56c5dd
Author: Laurent Cozic <laurent@cozic.net>
Date: Mon Oct 19 14:00:47 2020 +0100
Add support for content scripts
2020-10-21 00:23:55 +01:00
Laurent Cozic
3a57cfea02
Desktop: Simplified and improve command service, and added command palette
...
- Commands "enabled" state is now expressed using a "when-clause" like in VSCode
- A command palette has been added to the Tools menu
2020-10-18 21:52:10 +01:00
Laurent
fe41d37f8f
All: Add support for application plugins ( #3257 )
2020-10-09 18:35:46 +01:00
Laurent Cozic
27c572b2f5
Desktop: Fixes #3700 : Disable editor shortcuts when a dialog, such as GotoAnything, is visible
2020-09-21 17:31:25 +01:00
Laurent
056285deda
Desktop: UI update ( #3586 )
2020-09-15 14:01:07 +01:00
Naveen M V
5d2baa872e
Desktop: Fix wildcard search ( #3713 )
2020-09-11 22:52:32 +01:00
Naveen M V
e108fdb1d8
Desktop: Fuzzy search ( #3632 )
2020-09-06 13:07:00 +01:00
Naveen M V
f99f3f8a6d
All: Resolves #1877 : Add search filters ( #3213 )
2020-08-08 00:13:21 +01:00
Anjula Karunarathne
88f22fabf7
Desktop: Added KeymapService to manage keyboard shortcuts ( #3252 )
2020-08-02 12:26:55 +01:00
Laurent
9147b3061a
Desktop: Hide completed to-dos in GotoAnything ( #3580 )
2020-08-01 18:17:40 +01:00
Laurent Cozic
64d7603eed
Revert "All: Added support for hierarchical/nested tags ( #2572 )"
...
This reverts commit e11e57f1d8
.
2020-07-28 18:50:34 +01:00
Laurent Cozic
657cebfda9
Desktop: Improved GotoAnything speed and made it safer
...
Previously we'd use the remove-markdown package to create the note
preview however this function would freeze on certain notes, and was
probably unsafe as it used regex to parse Markdown. Replaced this in
favour of Markdown-it along with htmlparser2 to strip all markup from a
note.
2020-07-14 23:27:45 +01:00
Vaidotas Šimkus
e11e57f1d8
All: Added support for hierarchical/nested tags ( #2572 )
...
The implementation uses / symbol as a nesting separator. I.e. tag/subtag is a nested tag, where tag is the parent tag and subtag is its child. Creating a tag named tag/subtag/subsubtag creates three tags, one for each level. The tags are associated using parent_id field.
In the app, viewing notes with a tag will also show all notes that are associated with any of the tag's descendant tags (same for the note count). Deleting a tag will also delete all its descendant tags.
In the desktop app the tags are shown nested just like the notebooks.
2020-07-12 18:09:07 +01:00
Laurent Cozic
8732c97dcd
Desktop: Fixed GotoAnything rendering issue with HTML notes
2020-07-07 19:17:33 +01:00
Laurent Cozic
c63c6370b5
Desktop: Refactored command system
...
The goal is to make the command system more modular, so each command can
be defined as a single object that includes a declaration (name, label,
etc.) and a runtime (to execute the command, test if it should be
enabled, etc.)
Utility methods are provided to convert a command to a menu item or a
toolbar button, thus reducing duplicated and boiler plate code across the
codebase (often the menu item logic was duplicated in the toolbar
button logic and vice versa).
The goal is to make it easier to add new commands (and associated menu
item and toolbar buttons) and to call them from
anywhere. This is also useful for plugins, which can also easily define
new commands.
Could also allow creating a command palette.
2020-07-03 22:32:39 +01:00
Laurent Cozic
b7f5f848f2
All: Refactored themes to allow using the same ones in both desktop and mobile version
...
Will also allow using them when exporting HTML or PDF from CLI.
2020-06-10 22:08:59 +01:00
叡山电车
dd34b155b4
Desktop: Fixes #3170 : Always make the first item selected in Goto Anything ( #3181 )
2020-06-03 18:01:17 +01:00
叡山电车
3b40de1962
Desktop: Fixes #3171 : Fixed issue with accentuated letters in GotoAnything ( #3183 )
...
* fix #3171
* fix problem when searching with diacritics
2020-06-02 16:57:24 +01:00
Laurent Cozic
a96734f5be
Revert "Tools: Added eslint rule arrow-parens"
...
This reverts commit 0b6f5581f0
.
It causes too many conflicts with pull requests.
2020-05-21 09:14:33 +01:00
Laurent Cozic
0b6f5581f0
Tools: Added eslint rule arrow-parens
2020-05-20 17:16:43 +01:00
Mohammed Rabeeh
3b653a95a0
Desktop: Fixes #3066 : Fix focus after exiting GotoAnything ( #3075 )
...
* Fix focus on GotoAnything and Layout Switching
* Update app.js
Co-authored-by: Laurent Cozic <laurent22@users.noreply.github.com>
2020-05-09 16:17:11 +01:00
Laurent Cozic
e7169cc70d
Desktop: Fixes #3093 : Prevent Goto Anything from freezing when inputting special characters
2020-04-20 18:01:28 +00:00
Laurent Cozic
d2582f4fdf
Revert "Restored note history feature by Naveen M V <naveenmv7@gmail.com>"
...
This reverts commit 61d3582357
.
For rational see https://github.com/laurent22/joplin/pull/2819#issuecomment-616148984
2020-04-19 17:14:57 +01:00
Laurent Cozic
6164e2d8eb
Desktop: Search in title and body by default when using Goto Anything
2020-04-13 22:10:59 +00:00
Anjula Karunarathne
aea3de982a
Desktop: Fixes #3028 : Fix Go To Anything closing when clicking inside the modal ( #3029 )
...
* Fix Go To Anything closing when clicking inside the modal
* Update GotoAnything.jsx
* Update GotoAnything.jsx
Co-authored-by: Laurent Cozic <laurent22@users.noreply.github.com>
2020-04-12 09:59:00 +01:00
Gen Neko
3f5e6d72d6
Fix a blank Goto Anything screen ( #2983 )
2020-04-05 08:55:00 +01:00
Siddhant Sehgal
52ba5c5bb7
Desktop: Close Goto Anything
modal on outside click ( #2940 )
...
* Close goto modal on outside click
* Renamed for consistency
Co-authored-by: Laurent Cozic <laurent22@users.noreply.github.com>
2020-03-30 18:33:36 +01:00
Anjula Karunarathne
a45128807e
Desktop: Resolves #2683 : Go To Anything by body ( #2686 )
...
* Go to anything by body
* Made limit parameter required
* Made parameter required
Co-authored-by: Laurent Cozic <laurent22@users.noreply.github.com>
2020-03-28 13:05:00 +00:00
Laurent Cozic
61d3582357
Restored note history feature by Naveen M V <naveenmv7@gmail.com>
2020-03-15 09:40:57 +00:00
Laurent Cozic
9e66219690
Revert "Desktop: Reolves #2409 : Added arrows to go front and back through note history ( #2563 )"
...
Fixing merge issue...
This reverts commit d049b8846c
.
2020-03-15 09:40:12 +00:00
Naveen M V
d049b8846c
Desktop: Reolves #2409 : Added arrows to go front and back through note history ( #2563 )
2020-03-15 09:38:19 +00:00
Laurent Cozic
3407a31cf6
Tools: Improve and simplify how to build the apps ( #2538 )
...
* Improving CLI build
* Improving CLI build
* Remove requirement to build the tools
* Moved Electron app one level down
* Clean up Electron build
* Moved tools to sub-dir
* Updated root script
* update root
* update root
* update root
* update root
* update root
* update root
* Updated build
* Added doc
* Update CI config
* Should not lint index.js
* Fixing jetify
* Fixed linter errors
* Fixed pod build
* Fixed Windows build
2020-02-20 22:59:18 +00:00