Skip to content

Commit

Permalink
Release v1.2.0 (#6)
Browse files Browse the repository at this point in the history
* Improved drag&drop behavior
* Add title to type icons
* Add ability to rename favorites directly in panel
* Add hover buttons to rename/delete in vertical layout
* Scroll horizontal without holding `Shift` key + style improvements
* Minor style improvements and fixes
* Try to fix Search favorites with phrases in query cannot be opened (#4)
  Closes #4
* Prepare release v1.2.0
* Rename plugin command labels
  • Loading branch information
benji300 authored Feb 17, 2021
1 parent 8d981c7 commit 5e93e82
Show file tree
Hide file tree
Showing 17 changed files with 1,986 additions and 800 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- None

## [1.2.0] - 2021-02-17

### Added

- Ability to drag & drop notes from [note-tabs plugin](https://github.com/benji300/joplin-note-tabs) to add as favorite
- Ability to rename and delete favorites directly in panel (vertical layout only)
- Via new hover buttons on the right side

### Changed

- Drag & drop behavior to add notebooks, notes or to-dos
- Move them onto the panel to add new favorite at the dropped position
- Scroll horizontally without holding `Shift` key
- plugin command labels (Removed `Favs:` prefix)

### Fixed

- Search favorites with phrases in query cannot be opened, edited or deleted ([#4](https://github.com/benji300/joplin-favorites/issues/4))

## [1.1.0] - 2021-01-21

### Changed
Expand Down
66 changes: 35 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Joplin Favorites

Joplin Favorites is a plugin to extend the UX and UI of [Joplin's](https://joplinapp.org/) desktop application.
Favorites is a plugin to extend the UX and UI of [Joplin's](https://joplinapp.org/) desktop application.

It allows to save any notebook, note, to-do, tag, or search as favorite in an extra panel view for quick access.

Expand Down Expand Up @@ -35,7 +35,7 @@ It allows to save any notebook, note, to-do, tag, or search as favorite in an ex
- Search
- Not fully supported right now - see [here](#open-saved-search) for details
- Set and edit user defined names for the favorites
- Right-click on favorites to edit or remove
- Right-click on favorites to open edit dialog
- Change position of favorites within the panel via drag & drop
- Drag notebooks and notes from sidebar or note list directly to favorites
- Configurable style attributes
Expand All @@ -48,7 +48,7 @@ It allows to save any notebook, note, to-do, tag, or search as favorite in an ex

![favorites-top-horizontal](./assets/favorites-top-horizontal.png)

### Favorites in sidebar (vertical layout)
#### Favorites in sidebar (vertical layout)

![favorites-sidebar-vertical](./assets/favorites-sidebar-vertical.png)

Expand All @@ -65,7 +65,7 @@ It allows to save any notebook, note, to-do, tag, or search as favorite in an ex

### Manual

- Download the latest released JPL package (`joplin.plugin.benji.favorites.jpl`) from [here](https://github.com/benji300/joplin-favorites/releases)
- Download the latest released JPL package (`*.jpl`) from [here](https://github.com/benji300/joplin-favorites/releases)
- Open Joplin and navigate to `Tools > Options > Plugins`
- Press `Install plugin` and select the previously downloaded `jpl` file
- Confirm selection
Expand All @@ -74,8 +74,7 @@ It allows to save any notebook, note, to-do, tag, or search as favorite in an ex

### Uninstall

- Open Joplin
- Navigate to `Tools > Options > Plugins`
- Open Joplin and navigate to `Tools > Options > Plugins`
- Search for the `Favorites` plugin
- Press `Delete` to remove the plugin completely
- Alternatively you can also disable the plugin by clicking on the toggle button
Expand All @@ -90,47 +89,52 @@ By default the panel will be on the right side of the screen, this can be adjust
- `View > Change application layout`
- Use the arrow keys (the displayed ones, not keyboard keys) to move the panel at the desired position
- Move the splitter to reach the desired height/width of the panel
- As soon as the width of the panel goes below `400px`, it automatically switches from horizontal to vertical layout
- Press `ESC` to save the layout and return to normal mode

### Add favorite

- To add a new favorite to the panel, you have to trigger the corresponding [command](#commands)
- In the table you can see also from which menu context the commands can be triggered
- Notebooks, notes and to-dos can also be added via drag & drop the selected entries onto the `FAVORITES` title of the panel
- To enable this feature, the option `Show favorites panel title` must be enabled

The `Edit favorite before add` option lets you choose whether or not to edit the name before adding a new favorite.
- In the table you can see from which menu context the commands can be triggered

- Selected notebooks, notes or to-dos can also be added via drag & drop into the panel

- This will add new favorites at the dropped position

- This is not supported when adding multiple selected notes
- For searches the dialog is always opened to enter the search query
- The `Edit favorite before add` option lets you choose whether or not to edit the name before adding a new favorite

![add-dialog](./assets/add-dialog.png)
- This is not supported when adding multiple selected notes
- For searches the dialog is always opened to enter the search query

![add-dialog](./assets/add-dialog.png)

### Edit favorite

- Right click on one of the favorites to open the edit dialog

In the edit dialog you can change the name of any favorite.
![edit-dialog](./assets/edit-dialog.png)

![edit-dialog](./assets/edit-dialog.png)
- For searches, you can also edit the search query in the dialog

For searches, you can also edit the search query.
![edit-search-dialog](./assets/edit-search-dialog.png)

![edit-search-dialog](./assets/edit-search-dialog.png)
- Rename favorite by clicking the rename icon on the right side in the vertical layout

### Remove favorite

- Right click on one of the favorites to open the edit dialog (see screenshots above)
- Press `Delete` to remove the favorite
- Right click on a favorite to open the edit dialog (see screenshots above) and press `Delete` to remove it

- Remove favorite by clicking the delete icon on the right side in the vertical layout

Alternatively you can remove all favorites at once via the `Favorites: Remove all favorites` command.
- Remove all favorites at once via the `Remove all Favorites` command

### Open saved search

Currently favorites for searches are not fully supported. Due to restrictions of the App it is not possible to open the global search with a handled search query.
To open a saved search follow this workaround:

- Save your search via the `Favorites: Add search` command
- Save your search via the `Add search to Favorites` command
- You can enter a name and the search query in the dialog
- Click on the search favorite to copy its query to the clipboard
- This will also set the focus to the global search bar
Expand All @@ -140,14 +144,14 @@ To open a saved search follow this workaround:

This plugin provides additional commands as described in the following table.

| Command Label | Command ID | Description | Menu contexts |
| ------------------------------- | ---------------------- | -------------------------------------- | ------------------------------------------------------------------------ |
| Favorites: Add notebook | `favsAddFolder` | Add favorite for selected notebook | `Tools>Favorites`, `FolderContext`, `Command palette` |
| Favorites: Add note | `favsAddNote` | Add favorite for selected note(s) | `Tools>Favorites`, `NoteListContext`, `EditorContext`, `Command palette` |
| Favorites: Add tag | `favsAddTag` | Add favorite for selected tag | `TagContext` |
| Favorites: Add search | `favsAddSearch` | Add favorite with entered search query | `Tools>Favorites`, `Command palette` |
| Favorites: Remove all favorites | `favsClear` | Remove all favorites | `Tools>Favorites`, `Command palette` |
| Favorites: Toggle visibility | `favsToggleVisibility` | Toggle panel visibility | `Tools>Favorites`, `Command palette` |
| Command Label | Command ID | Description | Menu contexts |
| --------------------------------- | ---------------------- | -------------------------------------- | ------------------------------------------------------------------------ |
| Add notebook to Favorites | `favsAddFolder` | Add favorite for selected notebook | `Tools>Favorites`, `FolderContext`, `Command palette` |
| Add note to Favorites | `favsAddNote` | Add favorite for selected note(s) | `Tools>Favorites`, `NoteListContext`, `EditorContext`, `Command palette` |
| Add tag to Favorites | `favsAddTag` | Add favorite for selected tag | `TagContext` |
| Add search to Favorites | `favsAddSearch` | Add favorite with entered search query | `Tools>Favorites`, `Command palette` |
| Remove all Favorites | `favsClear` | Remove all favorites | `Tools>Favorites`, `Command palette` |
| Toggle Favorites panel visibility | `favsToggleVisibility` | Toggle panel visibility | `Tools>Favorites`, `Command palette` |

### Keyboard shortcuts

Expand All @@ -173,9 +177,9 @@ This plugin adds provides user options which can be changed via `Tools > Options

## Support

You like this plugin as much as I do and it helps you in your daily work with Joplin?
You like this plugin as much as I do and it improves your daily work with Joplin?

Then I would be very happy if you would buy me a beer via [PayPal](https://www.paypal.com/donate?hosted_button_id=6FHDGK3PTNU22) :wink::beer:
Then I would be very happy if you buy me a beer via [PayPal](https://www.paypal.com/donate?hosted_button_id=6FHDGK3PTNU22) :wink::beer:

## Development

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "joplin-plugin-benji-favorites",
"version": "1.1.0",
"version": "1.2.0",
"description": "Save any notebook, note, to-do, tag, or search as favorite in an extra panel view for quick access.",
"author": "Benji300",
"homepage": "https://github.com/benji300/joplin-favorites",
Expand Down
Loading

0 comments on commit 5e93e82

Please sign in to comment.