[PR #751] [CLOSED] Add clipboard status component #879

Closed
opened 2026-03-03 00:23:37 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BoostIO/BoostNote-App/pull/751
Author: @Komediruzecki
Created: 12/30/2020
Status: Closed

Base: masterHead: feature/clipboard-state-status-bar


📝 Commits (2)

  • 0bfb017 Fix copy snippet without language
  • bfb3173 Add clipboard status component

📊 Changes

4 files changed (+67 additions, -21 deletions)

View changed files

📝 src/components/atoms/MarkdownPreviewer.tsx (+6 -6)
📝 src/components/atoms/markdown/CodeFence.tsx (+20 -15)
src/components/molecules/ClipboardStatus.tsx (+39 -0)
📝 src/components/organisms/NoteDetail.tsx (+2 -0)

📄 Description

Add clipboard status component

  • Add clipboard status component in the status bar
  • Add clipboard status for text and image

This PR features also no language code snippet copy fix!

When user copies some text it goes into status bar. When user copies image, the message is displayed that image is in clipboard.

Examples:

Simple copy (works for code snippets, code blocks, any copied text outside or inside boostnote)
ClipboardSimple

Image copied to clipboard
ClipboardImage

Multiline clipboard selection copied, on hover, it shows whole content:
MultilineClipboardHover

Test

  • In electron Linux App (dev)
  • In electron Linux App production version (appImage)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/BoostIO/BoostNote-App/pull/751 **Author:** [@Komediruzecki](https://github.com/Komediruzecki) **Created:** 12/30/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `feature/clipboard-state-status-bar` --- ### 📝 Commits (2) - [`0bfb017`](https://github.com/BoostIO/BoostNote-App/commit/0bfb017e27d35d85c04e3e20de634dce49afa137) Fix copy snippet without language - [`bfb3173`](https://github.com/BoostIO/BoostNote-App/commit/bfb3173a03e55b72ce11e666b55754957ecedc99) Add clipboard status component ### 📊 Changes **4 files changed** (+67 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `src/components/atoms/MarkdownPreviewer.tsx` (+6 -6) 📝 `src/components/atoms/markdown/CodeFence.tsx` (+20 -15) ➕ `src/components/molecules/ClipboardStatus.tsx` (+39 -0) 📝 `src/components/organisms/NoteDetail.tsx` (+2 -0) </details> ### 📄 Description **Add clipboard status component** - Add clipboard status component in the status bar - Add clipboard status for text and image This PR features also no language code snippet copy fix! When user copies some text it goes into status bar. When user copies image, the message is displayed that image is in clipboard. Examples: Simple copy (works for code snippets, code blocks, any copied text outside or inside boostnote) ![ClipboardSimple](https://user-images.githubusercontent.com/18196945/103352992-f4ae7580-4aa7-11eb-9ad2-8d5a02be7331.png) Image copied to clipboard ![ClipboardImage](https://user-images.githubusercontent.com/18196945/103352986-f37d4880-4aa7-11eb-9120-6faa925b291a.png) Multiline clipboard selection copied, on hover, it shows whole content: ![MultilineClipboardHover](https://user-images.githubusercontent.com/18196945/103352996-f6783900-4aa7-11eb-8dbd-fba65e2b8424.png) Test - In electron Linux App (dev) - In electron Linux App production version (appImage) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 00:23:37 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/BoostNote-App#879
No description provided.