CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 18:28:06 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/"9b3d7c2dd6b2f4d7bf84ae9fbbece52b"
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=ZVE%2BcHl8DZnRQ%2B%2BM85ZQ%2Fz8VLxBxpIbVfvTiGXMGT%2FS9rfVtrIVSp%2FsRaXTkD6chRR14HXLm6CniSMpKiVLpE%2BbfiWdnQbWyAg8jZXEZDKdcZ2EA7HCDmG23jeeGduBWRpeHpKormX0t2t4fujs0%2Ff7ZCPRlkhBLObuBVrQEp%2FkAa8o03Aflmj3vCgghB3811Km8zANxKRrRfmnqg1Xn8uNF%2BqbjV%2Fyds2HUXcJWt4lYBsFTld%2BvE4tH0W4lLpH7kCTWaV%2BOj1ATC98z5fssNA%3D%3D--tS8DRhxv%2FMdI5mSc--81OipWa4na4A1pl%2FuD%2Fl0Q%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.759595293.1753295285; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 18:28:05 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 18:28:05 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9EE0:3B93B0:FE197B:12C63D9:688129B5
feat(modal): Add some settings to enable two-factor authentication wh… · RSSNext/Folo@2438f07 · GitHub
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/components/ui/modal/stacked/hooks.tsx
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/components/ui/modal/stacked/types.tsx
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/modules/settings/control.tsx
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/modules/settings/helper/setting-builder.tsx
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/modules/settings/tabs/general.tsx
Copy file name to clipboardExpand all lines: locales/settings/zh-CN.json
Copy file name to clipboardExpand all lines: locales/settings/zh-TW.json
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit 2438f07
committed
feat(modal): Add some settings to enable two-factor authentication when turning on
- Introduced visual style variants ("ask", "warning", "danger") for the confirmation dialog in the modal component.
- Updated the `ask` method to accept a variant option, allowing for customized icon and button styles based on the selected variant.
- Enhanced the dialog's title rendering to include variant-specific icons for better user experience.
- Updated type definitions to include the new variant option for the dialog instance.
Signed-off-by: Innei <tukon479@gmail.com>1 parent 83697ce commit 2438f07Copy full SHA for 2438f07
File tree
Expand file treeCollapse file tree
9 files changed
+95
-23
lines changedFilter options
- apps/desktop/layer/renderer/src
- components/ui/modal/stacked
- modules/settings
- helper
- tabs
- locales/settings
Expand file treeCollapse file tree
9 files changed
+95
-23
lines changedapps/desktop/layer/renderer/src/components/ui/modal/stacked/hooks.tsx
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/components/ui/modal/stacked/hooks.tsx+38-1Lines changed: 38 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
126 | 126 |
| |
127 | 127 |
| |
128 | 128 |
| |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
129 | 136 |
| |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
130 | 160 |
| |
131 | 161 |
| |
132 |
| - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
133 | 168 |
| |
134 | 169 |
| |
135 | 170 |
| |
| |||
146 | 181 |
| |
147 | 182 |
| |
148 | 183 |
| |
| 184 | + | |
| 185 | + | |
149 | 186 |
| |
150 | 187 |
| |
151 | 188 |
| |
|
apps/desktop/layer/renderer/src/components/ui/modal/stacked/types.tsx
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/components/ui/modal/stacked/types.tsx+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
| 40 | + | |
40 | 41 |
| |
41 | 42 |
| |
42 | 43 |
| |
|
apps/desktop/layer/renderer/src/modules/settings/control.tsx
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/modules/settings/control.tsx+4-1Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
| 37 | + | |
| 38 | + | |
| 39 | + | |
37 | 40 |
| |
38 | 41 |
| |
39 | 42 |
| |
40 |
| - | |
| 43 | + | |
41 | 44 |
| |
42 | 45 |
| |
43 | 46 |
| |
|
apps/desktop/layer/renderer/src/modules/settings/helper/setting-builder.tsx
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/modules/settings/helper/setting-builder.tsx+10-1Lines changed: 10 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| 18 | + | |
18 | 19 |
| |
19 | 20 |
| |
20 | 21 |
| |
| |||
92 | 93 |
| |
93 | 94 |
| |
94 | 95 |
| |
95 |
| - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
96 | 105 |
| |
97 | 106 |
| |
98 | 107 |
| |
|
apps/desktop/layer/renderer/src/modules/settings/tabs/general.tsx
Copy file name to clipboardExpand all lines: apps/desktop/layer/renderer/src/modules/settings/tabs/general.tsx+18Lines changed: 18 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
| 23 | + | |
23 | 24 |
| |
24 | 25 |
| |
25 | 26 |
| |
| |||
65 | 66 |
| |
66 | 67 |
| |
67 | 68 |
| |
| 69 | + | |
68 | 70 |
| |
69 | 71 |
| |
70 | 72 |
| |
| |||
167 | 169 |
| |
168 | 170 |
| |
169 | 171 |
| |
| 172 | + | |
170 | 173 |
| |
171 | 174 |
| |
172 | 175 |
| |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
173 | 191 |
| |
174 | 192 |
| |
175 | 193 |
| |
|
+12-8Lines changed: 12 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
167 | 167 |
| |
168 | 168 |
| |
169 | 169 |
| |
170 |
| - | |
171 |
| - | |
| 170 | + | |
| 171 | + | |
172 | 172 |
| |
173 | 173 |
| |
174 | 174 |
| |
175 | 175 |
| |
176 | 176 |
| |
177 | 177 |
| |
178 |
| - | |
| 178 | + | |
179 | 179 |
| |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
180 | 184 |
| |
181 | 185 |
| |
182 | 186 |
| |
| |||
204 | 208 |
| |
205 | 209 |
| |
206 | 210 |
| |
207 |
| - | |
208 |
| - | |
209 |
| - | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
210 | 214 |
| |
211 |
| - | |
| 215 | + | |
212 | 216 |
| |
213 | 217 |
| |
214 | 218 |
| |
| |||
228 | 232 |
| |
229 | 233 |
| |
230 | 234 |
| |
231 |
| - | |
| 235 | + | |
232 | 236 |
| |
233 | 237 |
| |
234 | 238 |
| |
|
+4-4Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
201 | 201 |
| |
202 | 202 |
| |
203 | 203 |
| |
204 |
| - | |
205 |
| - | |
206 |
| - | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
207 | 207 |
| |
208 |
| - | |
| 208 | + | |
209 | 209 |
| |
210 | 210 |
| |
211 | 211 |
| |
|
locales/settings/zh-CN.json
Copy file name to clipboardExpand all lines: locales/settings/zh-CN.json+4-4Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
201 | 201 |
| |
202 | 202 |
| |
203 | 203 |
| |
204 |
| - | |
205 |
| - | |
206 |
| - | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
207 | 207 |
| |
208 |
| - | |
| 208 | + | |
209 | 209 |
| |
210 | 210 |
| |
211 | 211 |
| |
|
locales/settings/zh-TW.json
Copy file name to clipboardExpand all lines: locales/settings/zh-TW.json+4-4Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
201 | 201 |
| |
202 | 202 |
| |
203 | 203 |
| |
204 |
| - | |
205 |
| - | |
206 |
| - | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
207 | 207 |
| |
208 |
| - | |
| 208 | + | |
209 | 209 |
| |
210 | 210 |
| |
211 | 211 |
| |
|
You can’t perform that action at this time.
0 commit comments