Skip to content

YU000jp/logseq-plugin-sticky-popup

Repository files navigation

Logseq Plugin: Sticky Popup 📍

  • Show selected text in a movable pop-up and positioning calendar.
  • Displays user messages by day of the week, with the added functionality of reminding about overdue tasks. When the Journal template is loaded, they are displayed.

Warning

This plugin does not work with Logseq db version.

latest release version License Downloads Published 2023/04/18

Features

  • Pop-ups possible to be moved around and resized.

    demo image

Sticky Text (Pop-up)

  • Select text and click the same block. Registered in pop-up and automatically locked.

Markdown is not reflected.

image

"Unlock" is a button that overwrites the next selected text, and "pin" is a button that saves the position of the popup.

Sticky Calendar (Pop-up)

Sample

image

  • require install Block Calendar Plugin for rendering

  • Set custom(Widget Location) and #StickyCalendar(Provide CSS selector) on the plugin settings

    Settings of Block Calendar plugin

Overdue tasks board

  • Display overdue tasks from yesterday. (If found)

Daily message board

  • Display user message each day. Supports HTML instead of markdown.

As showcase

  • Display user favorite image by HTML each day. <img src="FilePath"/>

⚠️Use direct file paths instead of indirect


Getting Started

Install from Logseq Marketplace

  • Press [---] on the top right toolbar to open [Plugins]
  • Select Marketplace
  • Type popup in the search field, select it from the search results and install

image

Usage

  • Open the plugin settings screen and do the necessary changes. By default, Sticky Calendar is set to "off" in the initial configuration.

Toolbar Icon

  • To reopen popups, press on 📌button in the toolbar
    • For Daily message board: 💬
    • For Overdue tasks board:

Plugin Settings

Sticky Text

  • (Sticky Text) Visible or not: select
    • Journal
    • Not-Journal
    • All default
    • None
  • (Sticky Text) Showing over sidebar or not: toggle
    • true default
    • false

Sticky Calendar

  • (Sticky Calendar) Visible or not: select
    • Journal default
    • Not-Journal
    • All
    • None
  • (Sticky Calendar) Showing over sidebar or not: toggle
    • true default
    • false

Overdue task board

Enabled when toggles are on. Can be called from the toolbar button.

  • Show the board when journal template is loaded: toggle true false default
  • Show the board when Logseq is loaded: toggle true false default

Daily message board

Enabled when toggles are on. Can be called from the toolbar button.

  • Show the board when today journal is created: toggle true default false
  • Show the board when Logseq loaded: toggle true default false
  • Enable close the board timeout: toggle true default false
  • Close the board timeout [ms]: select
    • [8000, 9000, 10000 default, 12000, 14000, 16000, 18000, 20000]
  • Background color (from theme): select
    • var(--ls-primary-background-color) default
    • var(--ls-secondary-background-color)
    • var(--ls-tertiary-background-color)
    • var(--ls-quaternary-background-color)
    • var(--ls-table-tr-even-background-color)
    • var(--ls-block-properties-background-color)
    • var(--ls-page-properties-background-color)
  • Font Color (from theme): select
    • var(--ls-primary-text-color) default
    • var(--ls-secondary-text-color)
    • var(--ls-title-text-color)
    • var(--ls-link-text-color)
  • The board title, select localize (your language) or English: select
    • default default
    • en: English
  • Show Monday message board: toggle
    • true
    • false default
  • Message for Monday (Supports HTML instead of markdown)
    • (textarea)
  • alias Tuesday...Sunday

Showcase / Questions / Ideas / Help

Go to the Discussions tab to ask and find this kind of things.

Prior art & Credit