npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

joplin-plugin-benji-favorites

v1.3.2

Published

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

Downloads

10

Readme

Joplin Favorites

Favorites is a plugin to extend the UX and UI of Joplin's desktop application.

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

:warning: CAUTION - Requires Joplin v2.1.5 or newer

Features

  • Save any of the following item types as favorites
    • Notebook
    • Note, To-do
    • Tag
    • Search
      • Not fully supported right now - see here for details
  • Set and edit user defined names for the favorites
  • 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
  • Support horizontal and vertical layout
  • Toggle panel visibility

Screenshots

Favorites above note content

favorites-top-horizontal

Favorites in sidebar (vertical layout)

favorites-sidebar-vertical

NOTE - The used UI theme on this screenshot can be downloaded here.

Installation

Automatic (Joplin v1.6.4 and newer)

  • Open Joplin and navigate to Tools > Options > Plugins
  • Search for the plugin name and press install
  • Restart Joplin to enable the plugin
  • By default the panel will appear on the right side of the screen, see how to place the panel

Manual

  • Download the latest released JPL package (*.jpl) from here
  • Open Joplin and navigate to Tools > Options > Plugins
  • Press Install plugin and select the previously downloaded jpl file
  • Confirm selection
  • Restart Joplin to enable the plugin
  • By default the panel will appear on the right side of the screen, see how to place the panel

Uninstall

  • Open Joplin and navigate to Tools > Options > Plugins
  • Search for the plugin name and press Delete to remove the plugin completely
    • Alternatively you can also disable the plugin by clicking on the toggle button
  • Restart Joplin

Usage

Place the panel

By default the panel will be on the right side of the screen, this can be adjusted by:

  • 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

    • 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
  • The Edit favorite before add option lets you choose whether or not to edit the name before adding a new favorite

    • This is not supported when adding multiple selected notes
    • For searches the dialog is always opened to enter the search query

    add-dialog

Edit favorite

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

    edit-dialog

  • For searches, you can also edit the search query in the dialog

    edit-search-dialog

  • Rename favorite by clicking the rename icon on the right side in the vertical layout

Remove 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

  • 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 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
  • Paste the clipboard content to the search bar and press Enter

Match with sidebar look

If you placed the favorites panel in the sidebar above or below the notebooks and tags (as shown here), you may also want to customize the look of this panel to match the sidebar. To do this, you can apply the following settings in the plugin advanced options. This will make the panel look the same as the actual sidebar, regardless of the app theme. Just copy and paste the following values:

  • Background color: var(--joplin-background-color2)
  • Hover background color: var(--joplin-background-hover)
  • Foreground color: var(--joplin-color2)
  • Divider color: var(--joplin-background-color2)

Then you're settings should look like:

favorites-top-horizontal

:warning: CAUTION - After changing the style of the favorites panel as described above, a small white border will appear below the panel. It is created by the App, not the plugin. Pleas see here for details.

Commands

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

| 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

Keyboard shortcuts can be assigned in user options via Tools > Options > Keyboard Shortcuts to all commands which are assigned to the Tools>Favorites menu context. In the keyboard shortcut editor, search for the command label where shortcuts shall be added.

User options

This plugin adds provides user options which can be changed via Tools > Options > Favorites (Windows App).

NOTE - If default is set for an advanced style setting, the corresponding default color, font family, etc. will be used to match the common App look.

NOTE - In case color settings shall be overwritten, they must be specified as valid CSS attribute values, e.g. #ffffff, rgb(255,255,255), etc.

Feedback

  • :question: Need help?
  • :bulb: An idea to improve or enhance the plugin?
  • :bug: Found a bug?
    • Check the Forum if anyone else already reported the same issue. Otherwise report it by yourself.

Support

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 buy me a :beer: or :coffee: via PayPal :wink:

Contributing

Contributions to this plugin are most welcome. Feel free to open a pull request or an issue. Make sure to use conventional commit messages if you're creating a pull request.

Development

The npm package of the plugin can be found here.

Building the plugin

If you want to build the plugin by your own simply run npm run dist.

Updating the plugin framework

To update the plugin framework, run npm run update.

Changes

See CHANGELOG for details.

License

Copyright (c) 2021 Benjamin Seifert

MIT License. See LICENSE for more information.