579 Commits

Author SHA1 Message Date
Sergey
510b3ffd46
Merge pull request #275 from PasteBar/special-copy-paste-history-items
Special copy paste history items
2025-06-23 15:23:18 -04:00
Sergey Kurdin
d764274ce2 chore: removed htmlToPlainText using stripHtmlTags 2025-06-23 15:22:45 -04:00
Sergey Kurdin
8eb891fbee chore: remove unused stripHtmlTags function to clean up text transformation utilities 2025-06-23 15:12:23 -04:00
Sergey Kurdin
34d304d1b8 feat: enhance HTML encoding/decoding with input validation
- Improved `toHtmlEncode` to validate string input and added sanitization in `toHtmlDecode`
2025-06-23 15:00:53 -04:00
Sergey Kurdin
717a7c0729 chore: update namespace for special copy/paste translations across multiple languages
- Renamed namespace from `specailCopyPaste` to `specialCopyPaste` in locale files
2025-06-23 14:38:07 -04:00
Sergey Kurdin
e831a28b1d chore: added changeset 2025-06-23 14:27:29 -04:00
Sergey Kurdin
6ef092d896 feat: implement keyboard delete confirmation for clipboard history
- Added `useKeyboardDeleteConfirmation` hook for enhanced delete interactions.
- Integrated keyboard shortcuts for delete confirmations in clipboard history
2025-06-23 13:42:25 -04:00
Sergey Kurdin
307127c296 feat: add keyboard navigation context menus for clipboard and clip items
- Implemented context menu triggers for keyboard navigation on ClipboardHistory and ClipCard components.
- Enhanced keyboard interactions with contextual menu display
2025-06-23 00:53:07 -04:00
Sergey Kurdin
e2731f97c0 feat: Add HTML to Plain Text transformation and improve text processing
- Added `html-to-text` package for converting HTML to plain text.
- Implemented `stripHtmlTags` function to normalize whitespace and strip HTML tags.
- Introduced new transformation option for converting HTML to plain text in the format converter.
- Updated localization files for German, Spanish, French, Italian, Russian, Turkish, Ukrainian, and Chinese to include new transformation options.
- Enhanced UI text in Clipboard History Settings for better user guidance on drag-and-drop functionality.
2025-06-22 20:55:38 -04:00
Sergey Kurdin
a3c82b714b feat: implement special copy/paste operations with customizable settings and transformation options 2025-06-22 17:24:54 -04:00
Sergey
b34ace03b7
Merge pull request #273 from PasteBar/double-click-tray-icon-open-app
Enable customizable tray icon behavior on Windows
2025-06-21 14:49:37 -04:00
Sergey Kurdin
d77cd0ea04 chore: comment out debug print statements for left and right click in Windows system tray implementation 2025-06-21 14:49:28 -04:00
Sergey Kurdin
36e45f1dfd chore: update changeset to reflect customizable tray icon behavior on Windows as user settings 2025-06-21 13:54:48 -04:00
Sergey Kurdin
83c3de13f4 chore: added changeset file 2025-06-21 13:48:19 -04:00
Sergey Kurdin
0d9bffca7d Enable customizable tray icon behavior on Windows including left-click options and double-click visibility settings 2025-06-21 13:44:20 -04:00
Sergey
649f72f002
Merge pull request #260 from katelya77/patch-5
Update contextMenus.yaml
2025-06-21 09:07:22 -04:00
Sergey
bb86fb2d19
Merge pull request #261 from katelya77/patch-6
Update dashboard.yaml
2025-06-21 09:07:12 -04:00
Sergey
c30b52872c
Merge pull request #262 from katelya77/patch-7
Update help.yaml
2025-06-21 09:06:57 -04:00
Sergey
a25b3baa9c
Merge pull request #263 from katelya77/patch-8
Update history.yaml
2025-06-21 09:06:44 -04:00
Sergey
213fe91683
Merge pull request #264 from katelya77/patch-9
Update menus.yaml
2025-06-21 09:06:14 -04:00
Sergey
2a07e4032b
Merge pull request #265 from katelya77/patch-10
Update navbar.yaml
2025-06-21 09:06:03 -04:00
Sergey
fad3ef5e3d
Merge pull request #266 from katelya77/patch-11
Update settings.yaml
2025-06-21 09:05:51 -04:00
Sergey
a1754af340
Merge pull request #267 from katelya77/patch-12
Update settings2.yaml
2025-06-21 09:05:22 -04:00
Sergey
d3e8046253
Merge pull request #269 from katelya77/patch-15
Update tours.yaml
2025-06-21 09:05:10 -04:00
Sergey
2864b9f391
Merge pull request #270 from katelya77/patch-3
Update common.yaml
2025-06-21 09:04:55 -04:00
Sergey
582eb5c89a
Merge pull request #271 from katelya77/patch-14
Update tours.yaml
2025-06-21 09:04:42 -04:00
Sergey
0f86b35f26
Merge pull request #272 from katelya77/patch-4
Update common2.yaml
2025-06-21 09:04:25 -04:00
Sergey
437c9254b3
Merge pull request #268 from katelya77/patch-13
Update templates.yaml
2025-06-21 09:04:12 -04:00
katelya
5c75a17a90
Update tours.yaml 2025-06-21 15:54:34 +08:00
katelya
6846782d3d
Update tours.yaml 2025-06-21 15:54:09 +08:00
katelya
9dc0975cac
Update templates.yaml 2025-06-21 15:51:45 +08:00
katelya
8ea05dea56
Update settings2.yaml 2025-06-21 15:49:53 +08:00
katelya
37d518fb7f
Update settings.yaml 2025-06-21 15:46:14 +08:00
katelya
a4839391a3
Update navbar.yaml 2025-06-21 15:37:42 +08:00
katelya
12e14bc22a
Update menus.yaml 2025-06-21 15:34:43 +08:00
katelya
5864ea47b1
Update history.yaml 2025-06-21 15:32:12 +08:00
katelya
4b33afe456
Update help.yaml 2025-06-21 15:27:37 +08:00
katelya
357df2e5a0
Update dashboard.yaml 2025-06-21 15:22:25 +08:00
katelya
9c64eaa0ad
Update contextMenus.yaml 2025-06-21 15:09:00 +08:00
katelya
fab76153ff
Update common2.yaml 2025-06-21 15:03:23 +08:00
katelya
9da2680328
Update common.yaml 2025-06-21 15:02:05 +08:00
Sergey Kurdin
c7219cf014 fix: update history preview line limit to null and reset button action in ClipboardHistorySettings component 2025-06-20 23:44:12 -04:00
Sergey
c00ff2b33f
Merge pull request #259 from PasteBar/feat/history-preview-limit
History item preview max lines user setting
2025-06-20 23:29:03 -04:00
Sergey Kurdin
161b589f95 chore: removed console.log 2025-06-20 23:28:36 -04:00
Sergey Kurdin
9ba408d45e chore: remove redundant comments in ClipboardHistory components for cleaner code readability 2025-06-20 23:14:31 -04:00
Sergey Kurdin
618ba3ae02 chore: comment removed 2025-06-20 23:12:58 -04:00
Sergey Kurdin
c10ec6347e feat: Introduce setting for history item preview line limit
Added a new user preference to control max lines displayed in history item previews, improving customization options
2025-06-20 23:09:54 -04:00
Sergey Kurdin
e2972ecdba Merge branch 'main' into feat/history-preview-limit 2025-06-20 16:30:54 -04:00
google-labs-jules[bot]
bfb5821078 feat: Add user preference for history item preview line limit
This commit introduces a new user setting allowing you to define the
maximum number of lines displayed in the preview for text or code
clipboard history items.

Key changes:
- Added a "History Item Preview Line Limit" setting in
  `ClipboardHistorySettings.tsx` (defaulting to 5 lines), stored in
  `settingsStore.ts`.
- The `historyPreviewLineLimit` setting is now passed as a prop to
  `ClipboardHistoryRow.tsx` and `ClipboardHistoryQuickPasteRow.tsx`
  from their parent pages (`ClipboardHistoryPage.tsx` and
  `ClipboardHistoryQuickPastePage.tsx` respectively).
- Modified `ClipboardHistoryRow.tsx` and
  `ClipboardHistoryQuickPasteRow.tsx` to truncate the displayed text
  or code preview based on the `historyPreviewLineLimit` prop when
  the item is not expanded.
- The "Show all / Show less" indicators (+X lines / +Y chars) have
  been updated to accurately reflect the truncation based on the new
  line limit.
- Added comprehensive unit tests for both `ClipboardHistoryRow.tsx`
  and `ClipboardHistoryQuickPasteRow.tsx` using Vitest and React
  Testing Library to ensure the new functionality works as expected
  across various scenarios (different limits, content lengths, text vs.
  code, expanded state).
2025-06-20 20:30:21 +00:00
Sergey
2c14a69fc5
Merge pull request #258 from PasteBar/templates-global-improvments
Global templates handling in clip
2025-06-20 16:28:37 -04:00