Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita9274ee

Browse files
committed
fix: add migration, PR comments
1 parent30b3624 commita9274ee

File tree

4 files changed

+35
-1
lines changed

4 files changed

+35
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-- Nothing to restore
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
UPDATE usersSET theme_preference=''WHERE theme_preference='darkBlue';

‎site/src/pages/UsersPage/storybookData/users.ts

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,22 @@ export const MockUsers: User[] = [
336336
},
337337
],
338338
},
339+
{
340+
id:"59da0bfe-9c99-47fa-a563-f9fdb18449d0",
341+
created_at:"2022-08-15T08:30:10.343828Z",
342+
updated_at:"2024-09-05T12:27:22.098297Z",
343+
last_seen_at:"2024-09-05T12:27:22.098297Z",
344+
status:"active",
345+
login_type:"oidc",
346+
theme_preference:"dark",
347+
organization_ids:["703f72a1-76f6-4f89-9de6-8a3989693fe5"],
348+
roles:[
349+
{
350+
name:"owner",
351+
display_name:"Owner",
352+
},
353+
],
354+
},
339355
{
340356
id:"12b03f43-1bb7-4fca-967a-585c97f31682",
341357
created_at:"2022-08-10T15:35:20.553581Z",
@@ -400,6 +416,22 @@ export const MockUsers: User[] = [
400416
},
401417
],
402418
},
419+
{
420+
id:"c323e5c3-57cb-45e7-81c4-56d6cacb2f8c",
421+
created_at:"2024-03-04T11:12:41.201352Z",
422+
updated_at:"2024-09-05T07:24:39.32465Z",
423+
last_seen_at:"2024-09-05T07:24:39.324649Z",
424+
status:"active",
425+
login_type:"oidc",
426+
theme_preference:"darkBlue",
427+
organization_ids:["703f72a1-76f6-4f89-9de6-8a3989693fe5"],
428+
roles:[
429+
{
430+
name:"owner",
431+
display_name:"Owner",
432+
},
433+
],
434+
},
403435
{
404436
id:"9e7815af-bc48-435a-91c7-72dcbf26f036",
405437
created_at:"2024-05-24T14:53:53.996555Z",

‎site/src/theme/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ export const DEFAULT_THEME = "dark";
3333
consttheme={
3434
dark,
3535
light,
36-
}satisfiesRecord<"dark"|"light",Theme>;
36+
}satisfiesRecord<string,Theme>;
3737

3838
exportdefaulttheme;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp