CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 18:32:23 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/RSSNext/Folo.git
etag: W/"e39328bc7fc860b73832bb7275180d3f"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=ISxhkM9%2FfaMp%2BivkW7S9MX9W0l2%2F6REiaYe%2Fo1WQwMN8ZOLJK7FjyZCEJsXy%2BWwP1p1J0yA1QpEvxK0GpQkpSprP%2B2Zj%2BPzpdnauYSrPxogB0U7uS582zxUAZ5VOwara96Txi1377FYH2iNZGtMy%2FnkYHRemEwqQJRepIANNrYQdL1bpNvfpYI95icOupjPAkWIm0nlQcebIQ9LIJcjcEc2ryet%2BNJVYNRjYgoKQCZf%2BQnc8li5lbKb3Qpq3USpDCHzWw0qSNFVCfF4dAuIkPw%3D%3D--FEv%2FND1apuKnZ72F--fXvqPzdZy3glhXyWhaZ%2FBw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1759604377.1753295542; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 18:32:22 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 18:32:22 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: C47A:D3350:FE03EE:12C70EE:68812AB6
feat: support share actions and import from clipboard · RSSNext/Folo@394d00f · GitHub
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/components/common/SharePanel.tsx
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/components/ui/button/CopyButton.tsx
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/hooks/biz/useFeedActions.tsx
Copy file name to clipboard
Copy file name to clipboard
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/modules/action/action-setting.tsx
Copy file name to clipboard
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/modules/command/commands/entry.tsx
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/modules/command/commands/list.tsx
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/modules/entry-column/layouts/EntryItemWrapper.tsx
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit 394d00f
committed
feat: support share actions and import from clipboard
- Added a new utility function `copyToClipboard` to handle clipboard operations with error handling.
- Refactored existing clipboard interactions across various components and hooks to utilize the new utility function.
- Introduced import/export functionality for action rules, allowing users to copy rules to clipboard and import from clipboard.
- Enhanced user feedback with toast notifications for clipboard actions.
This update improves code reusability and user experience when interacting with the clipboard.
Signed-off-by: Innei <tukon479@gmail.com>1 parent 1ace5ea commit 394d00fCopy full SHA for 394d00f
File tree
Expand file treeCollapse file tree
17 files changed
+378
-22
lines changedFilter options
- apps/desktop/layer/renderer/src
- components
- common
- ui/button
- hooks/biz
- lib
- modules
- action
- command/commands
- entry-column/layouts
- settings/tabs
- subscription-column
- icons/mgc
- packages/internal
- components/src/ui/radio-group
- store/src/action
- utils/src
Expand file treeCollapse file tree
17 files changed
+378
-22
lines changedapps/desktop/layer/renderer/src/components/common/SharePanel.tsx
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/components/common/SharePanel.tsx+4-3Lines changed: 4 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
| 9 | + | |
9 | 10 |
| |
10 | 11 |
| |
11 | 12 |
| |
| |||
136 | 137 |
| |
137 | 138 |
| |
138 | 139 |
| |
139 |
| - | |
| 140 | + | |
140 | 141 |
| |
141 | 142 |
| |
142 | 143 |
| |
143 | 144 |
| |
144 | 145 |
| |
145 |
| - | |
| 146 | + | |
146 | 147 |
| |
147 | 148 |
| |
148 | 149 |
| |
| |||
153 | 154 |
| |
154 | 155 |
| |
155 | 156 |
| |
156 |
| - | |
| 157 | + | |
157 | 158 |
| |
158 | 159 |
| |
159 | 160 |
| |
|
apps/desktop/layer/renderer/src/components/ui/button/CopyButton.tsx
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/components/ui/button/CopyButton.tsx+2-1Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
| 4 | + | |
4 | 5 |
| |
5 | 6 |
| |
6 | 7 |
| |
| |||
11 | 12 |
| |
12 | 13 |
| |
13 | 14 |
| |
14 |
| - | |
| 15 | + | |
15 | 16 |
| |
16 | 17 |
| |
17 | 18 |
| |
|
apps/desktop/layer/renderer/src/hooks/biz/useFeedActions.tsx
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/hooks/biz/useFeedActions.tsx+7-6Lines changed: 7 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
| 26 | + | |
26 | 27 |
| |
27 | 28 |
| |
28 | 29 |
| |
| |||
293 | 294 |
| |
294 | 295 |
| |
295 | 296 |
| |
296 |
| - | |
| 297 | + | |
297 | 298 |
| |
298 | 299 |
| |
299 | 300 |
| |
300 | 301 |
| |
301 | 302 |
| |
302 | 303 |
| |
303 | 304 |
| |
304 |
| - | |
| 305 | + | |
305 | 306 |
| |
306 | 307 |
| |
307 | 308 |
| |
308 | 309 |
| |
309 | 310 |
| |
310 | 311 |
| |
311 |
| - | |
| 312 | + | |
312 | 313 |
| |
313 | 314 |
| |
314 | 315 |
| |
| |||
424 | 425 |
| |
425 | 426 |
| |
426 | 427 |
| |
427 |
| - | |
| 428 | + | |
428 | 429 |
| |
429 | 430 |
| |
430 | 431 |
| |
431 | 432 |
| |
432 | 433 |
| |
433 | 434 |
| |
434 |
| - | |
| 435 | + | |
435 | 436 |
| |
436 | 437 |
| |
437 | 438 |
| |
| |||
466 | 467 |
| |
467 | 468 |
| |
468 | 469 |
| |
469 |
| - | |
| 470 | + | |
470 | 471 |
| |
471 | 472 |
| |
472 | 473 |
| |
|
apps/desktop/layer/renderer/src/lib/clipboard.ts
Copy file name to clipboard+24Lines changed: 24 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + |
apps/desktop/layer/renderer/src/lib/export.ts
Copy file name to clipboard+34Lines changed: 34 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + |
apps/desktop/layer/renderer/src/modules/action/action-setting.tsx
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/modules/action/action-setting.tsx+112Lines changed: 112 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| 10 | + | |
10 | 11 |
| |
11 | 12 |
| |
12 | 13 |
| |
13 | 14 |
| |
14 | 15 |
| |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
15 | 25 |
| |
16 | 26 |
| |
| 27 | + | |
| 28 | + | |
17 | 29 |
| |
18 | 30 |
| |
19 | 31 |
| |
| |||
59 | 71 |
| |
60 | 72 |
| |
61 | 73 |
| |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
62 | 146 |
| |
63 | 147 |
| |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
64 | 176 |
| |
65 | 177 |
| |
66 | 178 |
| |
|
apps/desktop/layer/renderer/src/modules/action/utils.ts
Copy file name to clipboard+6Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + |
apps/desktop/layer/renderer/src/modules/command/commands/entry.tsx
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/modules/command/commands/entry.tsx+3-2Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
| 31 | + | |
31 | 32 |
| |
32 | 33 |
| |
33 | 34 |
| |
| |||
186 | 187 |
| |
187 | 188 |
| |
188 | 189 |
| |
189 |
| - | |
| 190 | + | |
190 | 191 |
| |
191 | 192 |
| |
192 | 193 |
| |
| |||
220 | 221 |
| |
221 | 222 |
| |
222 | 223 |
| |
223 |
| - | |
| 224 | + | |
224 | 225 |
| |
225 | 226 |
| |
226 | 227 |
| |
|
apps/desktop/layer/renderer/src/modules/command/commands/list.tsx
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/modules/command/commands/list.tsx+3-2Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
| 9 | + | |
9 | 10 |
| |
10 | 11 |
| |
11 | 12 |
| |
| |||
68 | 69 |
| |
69 | 70 |
| |
70 | 71 |
| |
71 |
| - | |
| 72 | + | |
72 | 73 |
| |
73 | 74 |
| |
74 | 75 |
| |
| |||
80 | 81 |
| |
81 | 82 |
| |
82 | 83 |
| |
83 |
| - | |
| 84 | + | |
84 | 85 |
| |
85 | 86 |
| |
86 | 87 |
| |
|
apps/desktop/layer/renderer/src/modules/entry-column/layouts/EntryItemWrapper.tsx
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/modules/entry-column/layouts/EntryItemWrapper.tsx+2-1Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
| 29 | + | |
29 | 30 |
| |
30 | 31 |
| |
31 | 32 |
| |
| |||
157 | 158 |
| |
158 | 159 |
| |
159 | 160 |
| |
160 |
| - | |
| 161 | + | |
161 | 162 |
| |
162 | 163 |
| |
163 | 164 |
| |
|
You can’t perform that action at this time.
0 commit comments