CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 18:32:59 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/"5148ffb42f395590fb56cbc8ce811862"
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=56IbwumNJgcY5D7Vxy9oJ6R9vcRJi69wE31Ca5dScuuRm3NbawjzzwX7RAvyThpawxJuYjrXrhrGkTT0%2F3qwbYSESqjRuZ3OajTjxNs1uz5RU6pnkhjxPYWFNCnr%2FwKXDiiS04ziqXiVSuCmFtmYxYTev1UWOpIxQmu%2B%2BCiYjcLNwyvhtnmHeJh9Dct%2ByCFgLri%2FYxMVjo5VYEtWDk5KP%2FTkoQgKI7v1Cmnb8gV58pYVmSFyKnCBrREUmS9YYyCQBetRTGHPudM8bMwrHMFBlw%3D%3D--mqjA2R6sBxntcVIH--bmdbiIwXXCHDcluRsv2QmA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1924269703.1753295578; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 18:32:58 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 18:32:58 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: AB70:26221E:FD5DB2:12BCF4C:68812ADA
feat: enhance command binding and shortcut management · RSSNext/Folo@262a7ce · GitHub
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/modules/app-layout/feed-column/desktop.tsx
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/modules/command/commands/entry-render.tsx
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/modules/command/commands/id.ts
Copy file name to clipboard
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/modules/command/hooks/use-register-hotkey.ts
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/modules/entry-column/EntryColumnShortcutHandler.tsx
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/modules/entry-content/actions/header-actions.tsx
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/modules/entry-content/hooks.tsx
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit 262a7ce
committed
feat: enhance command binding and shortcut management
- Introduced `useCommandBinding` to streamline the registration of command hotkeys.
- Added new entry navigation commands for scrolling to the next and previous entries.
- Updated existing components to utilize the new command binding approach, improving consistency and maintainability.
- Refactored shortcut handling to support new entry render commands, enhancing user experience.
This update aims to improve the overall efficiency of command and shortcut management in the application.
Signed-off-by: Innei <tukon479@gmail.com>1 parent 93f19c4 commit 262a7ceCopy full SHA for 262a7ce
File tree
Expand file treeCollapse file tree
14 files changed
+197
-126
lines changedFilter options
- apps/desktop/layer/renderer/src
- modules
- app-layout/feed-column
- command
- commands
- hooks
- entry-column
- entry-content
- actions
- timeline-column
- providers
- packages/internal
- components/src/common
- utils/src
Expand file treeCollapse file tree
14 files changed
+197
-126
lines changedapps/desktop/layer/renderer/src/modules/app-layout/feed-column/desktop.tsx
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/modules/app-layout/feed-column/desktop.tsx+2-4Lines changed: 2 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 |
| - | |
36 | 35 |
| |
37 | 36 |
| |
38 | 37 |
| |
39 | 38 |
| |
40 | 39 |
| |
41 | 40 |
| |
42 | 41 |
| |
43 |
| - | |
| 42 | + | |
44 | 43 |
| |
45 | 44 |
| |
46 | 45 |
| |
| |||
244 | 243 |
| |
245 | 244 |
| |
246 | 245 |
| |
247 |
| - | |
| 246 | + | |
248 | 247 |
| |
249 |
| - | |
250 | 248 |
| |
251 | 249 |
| |
252 | 250 |
| |
|
apps/desktop/layer/renderer/src/modules/command/commands/entry-render.tsx
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/modules/command/commands/entry-render.tsx+39-3Lines changed: 39 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| 11 | + | |
| 12 | + | |
11 | 13 |
| |
12 | 14 |
| |
13 | 15 |
| |
| 16 | + | |
| 17 | + | |
14 | 18 |
| |
15 | 19 |
| |
16 | 20 |
| |
17 | 21 |
| |
18 | 22 |
| |
19 | 23 |
| |
20 | 24 |
| |
21 |
| - | |
| 25 | + | |
22 | 26 |
| |
23 | 27 |
| |
24 | 28 |
| |
25 | 29 |
| |
26 | 30 |
| |
27 | 31 |
| |
28 | 32 |
| |
29 |
| - | |
| 33 | + | |
30 | 34 |
| |
31 | 35 |
| |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
32 | 54 |
| |
33 | 55 |
| |
34 | 56 |
| |
| |||
42 | 64 |
| |
43 | 65 |
| |
44 | 66 |
| |
45 |
| - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + |
apps/desktop/layer/renderer/src/modules/command/commands/id.ts
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/modules/command/commands/id.ts+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
| 58 | + | |
| 59 | + | |
58 | 60 |
| |
59 | 61 |
| |
60 | 62 |
| |
|
apps/desktop/layer/renderer/src/modules/command/hooks/use-command-shortcut.ts
Copy file name to clipboard+40Lines changed: 40 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 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + |
apps/desktop/layer/renderer/src/modules/command/hooks/use-register-hotkey.ts
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/modules/command/hooks/use-register-hotkey.ts+24-10Lines changed: 24 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| 6 | + | |
| 7 | + | |
6 | 8 |
| |
7 | 9 |
| |
8 | 10 |
| |
| |||
14 | 16 |
| |
15 | 17 |
| |
16 | 18 |
| |
17 |
| - | |
| 19 | + | |
18 | 20 |
| |
19 | 21 |
| |
20 |
| - | |
21 |
| - | |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
25 | 28 |
| |
26 | 29 |
| |
27 | 30 |
| |
| |||
55 | 58 |
| |
56 | 59 |
| |
57 | 60 |
| |
58 |
| - | |
59 |
| - | |
60 |
| - | |
61 |
| - | |
62 |
| - | |
| 61 | + | |
63 | 62 |
| |
64 | 63 |
| |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + |
apps/desktop/layer/renderer/src/modules/entry-column/EntryColumnShortcutHandler.tsx
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/modules/entry-column/EntryColumnShortcutHandler.tsx+6-9Lines changed: 6 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 |
| - | |
9 | 8 |
| |
10 | 9 |
| |
11 | 10 |
| |
12 | 11 |
| |
13 | 12 |
| |
14 | 13 |
| |
15 |
| - | |
| 14 | + | |
16 | 15 |
| |
17 | 16 |
| |
18 | 17 |
| |
| |||
26 | 25 |
| |
27 | 26 |
| |
28 | 27 |
| |
29 |
| - | |
30 |
| - | |
| 28 | + | |
31 | 29 |
| |
32 | 30 |
| |
33 | 31 |
| |
34 | 32 |
| |
35 |
| - | |
36 |
| - | |
| 33 | + | |
37 | 34 |
| |
38 | 35 |
| |
39 | 36 |
| |
40 | 37 |
| |
41 |
| - | |
42 |
| - | |
| 38 | + | |
43 | 39 |
| |
44 | 40 |
| |
45 | 41 |
| |
46 | 42 |
| |
47 | 43 |
| |
48 | 44 |
| |
| 45 | + | |
49 | 46 |
| |
50 | 47 |
| |
51 | 48 |
| |
| |||
60 | 57 |
| |
61 | 58 |
| |
62 | 59 |
| |
63 |
| - | |
| 60 | + | |
64 | 61 |
| |
65 | 62 |
| |
66 | 63 |
| |
|
apps/desktop/layer/renderer/src/modules/entry-content/actions/header-actions.tsx
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/modules/entry-content/actions/header-actions.tsx+2-4Lines changed: 2 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
7 | 6 |
| |
8 | 7 |
| |
9 |
| - | |
| 8 | + | |
10 | 9 |
| |
11 | 10 |
| |
12 | 11 |
| |
| |||
23 | 22 |
| |
24 | 23 |
| |
25 | 24 |
| |
26 |
| - | |
| 25 | + | |
27 | 26 |
| |
28 |
| - | |
29 | 27 |
| |
30 | 28 |
| |
31 | 29 |
| |
|
apps/desktop/layer/renderer/src/modules/entry-content/hooks.tsx
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/modules/entry-content/hooks.tsx+1-18Lines changed: 1 addition & 18 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
3 |
| - | |
| 2 | + | |
4 | 3 |
| |
5 | 4 |
| |
6 | 5 |
| |
7 | 6 |
| |
8 | 7 |
| |
9 | 8 |
| |
10 | 9 |
| |
11 |
| - | |
12 |
| - | |
13 |
| - | |
14 |
| - | |
15 |
| - | |
16 |
| - | |
17 |
| - | |
18 |
| - | |
19 |
| - | |
20 |
| - | |
21 |
| - | |
22 |
| - | |
23 |
| - | |
24 |
| - | |
25 |
| - | |
26 |
| - | |
27 | 10 |
| |
28 | 11 |
| |
29 | 12 |
| |
|
You can’t perform that action at this time.
0 commit comments