Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clipboard pane #681

Merged
merged 24 commits into from
Jul 6, 2024
Merged

Clipboard pane #681

merged 24 commits into from
Jul 6, 2024

Commits on Jun 29, 2024

  1. Clipboard history pane

    Work in progress: It's not yet possible to paste from the pane.
    
    The pane can be switched to and from and displays the strings recently
    added to the clipboard.
    
    ClipboardHistoryService listens for change to the system clipboard and
    keep the history in memory.
    This data is not persisted to the storage.
    
    The maximum size limits the amount of user data stored in memory but
    also gives a sense to the user that the history is not persisted and can
    be forgotten as soon as the app stops.
    Julow committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    58cb6ca View commit details
    Browse the repository at this point in the history
  2. clipboard: Pinning

    Allow recent clips to be pinned. Pinned clips are put a different place
    and are persistent.
    
    The pane is split in two columns, the clipboard history and the pinned
    clips.
    
    Pinned clips are stored in a new preference file.
    
    Improved pinning layout
    
    clipboard: Remove history entry after pinning
    Julow committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    3d95af5 View commit details
    Browse the repository at this point in the history
  3. clipboard: Forget recent copied text after 5 minutes

    Slightly improves privacy. Entries older than that are not useful in the
    intended use case.
    Julow committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    d657d51 View commit details
    Browse the repository at this point in the history
  4. clipboard: Vertical layout

    Put the recently copied text at the top and the pinned text at the
    bottom.
    This should remain intuitive as the recent history should stay small.
    Julow committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    3b2fad8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    461f966 View commit details
    Browse the repository at this point in the history
  6. clipboard: Enable history collection with a checkbox

    The feature is off by default for privacy reasons. The checkbox state is
    persisted in the configuration.
    
    The history is immediately cleared when it's disabled. The content of
    the system clipboard is visible when the history is enabled.
    Julow committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    d5f3688 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    59d2d05 View commit details
    Browse the repository at this point in the history
  8. clipboard: Pasting

    The paste button send the content of the pinned clip to the editor the
    same way as a string key.
    Julow committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    700b7e9 View commit details
    Browse the repository at this point in the history
  9. clipboard: Confirmation dialog before deletion

    Prevent accidentally deleting a saved clipboard.
    Julow committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    8d29d80 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    2f8a291 View commit details
    Browse the repository at this point in the history
  11. clipboard: Improve bottom row

    Julow committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    143718b View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    dcfda35 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    100e157 View commit details
    Browse the repository at this point in the history
  14. Change the "paste as plain text" icon

    To make it less ambiguous with the clipboard key icon.
    Julow committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    1b401e5 View commit details
    Browse the repository at this point in the history
  15. Icon for the clipboard key

    Julow committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    a3bf491 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    9b00e33 View commit details
    Browse the repository at this point in the history
  17. clipboard: Night mode icons

    Julow committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    f7cd55e View commit details
    Browse the repository at this point in the history
  18. Update check_layout.output

    Julow committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    318d979 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2024

  1. Configuration menu
    Copy the full SHA
    caa397d View commit details
    Browse the repository at this point in the history
  2. clipboard: Remove keyboard switching keys

    These don't have any effect.
    Julow committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    32ae633 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    618aac2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    26ce238 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    076177a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e22fc22 View commit details
    Browse the repository at this point in the history