Skip to content

pre 1.0 todos #1

Description

@WilliamHsieh

Popup Management & Interaction

  • Close all: close all popups
  • integrations
    • fzf-lua custom action
  • Zoom: Temporarily maximize the top popup in the stack.
    • Consider adding a visual indicator (e.g., virtual text icon) on the zoomed popup.
  • Toggle Visibility: Temporarily hide all popups in the current stack.
    • Consider adding a visual indicator on the original window/position when popups are hidden.
  • Minimize All: Minimize all popups in the current stack.
  • Open in Split/Original: Add actions to open the content of the current popup in a new split or back in the original window it was opened from.
  • peek_file: similar to what gf does but in popup
  • refactor adapter and get rid of metatable
  • add scratch buffer adapter
  • create popup size determined by editor size instead of window size (too small for smaller screen)
  • auto resize when window / editor size change

Stack Navigation & Context

  • Stack Context View: Provide a way to view all popups currently in the stack.
    • Option 1: List in virtual text near the original window.
    • Option 2: A focusable buffer/window with a list of popups.
    • Preference: A focusable buffer seems more scalable and could integrate fuzzy finding to select/focus a specific popup.
  • Navigation in popup: when switching buffer in popup, title and buffer local settings (e.g. keymap) should be updated and tracked.

Documents

  • mini.docs

Advanced Features & Modes

  • Whiteboard Mode: Explore a concept allowing multiple independent popup stacks, potentially associated with a scratch buffer, similar to visual note-taking apps like Heptabase.
  • Per-Window Stacks: Investigate associating popup stacks with specific windows rather than globally.
  • resize and move: resize and move the popups around. similar to window manager?
  • window navigation: what's a proper way to navigate between splits when they all have popups

UI & Visual Enhancements

  • Dynamic Title Update: Automatically update the popup title when the underlying buffer changes (e.g., navigating through definitions).
  • Highlight on Close: Provide a visual cue (like vim.highlight.on_yank) at the popup's original location briefly after it's closed.

Refactor

  • stack: element type should simply be popup
  • tests: is current mock test stable enough?
  • ai: review && refactor all ai generated code

CI

  • bot: release me please

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions