Skip to content

Commit 30db311

Browse files
committed
config: make previously invisible by default panels visible
Signed-off-by: 🕷️ <[email protected]>
1 parent be970c4 commit 30db311

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

src/api/storage/storage.local.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export type TPanel = {
3232
key: TPanelKey;
3333
label: string;
3434
visible: boolean;
35-
wrap: boolean | null;
35+
wrap?: boolean;
3636
};
3737
export type TPanelMap = {
3838
[K in TPanelKey]: TPanel;
@@ -42,9 +42,9 @@ export type TConfig = typeof DEFAULT_CONFIG;
4242
export type TConfigField = Partial<TConfig>;
4343

4444
export const DEFAULT_PANELS: TPanel[] = [
45-
{ key: 'callsSummary', label: 'Summary Bar', visible: false, wrap: null },
46-
{ key: 'media', label: 'Media', visible: true, wrap: null },
47-
{ key: 'activeTimers', label: 'Active Timers', visible: true, wrap: null },
45+
{ key: 'callsSummary', label: 'Summary Bar', visible: false },
46+
{ key: 'media', label: 'Media', visible: true },
47+
{ key: 'activeTimers', label: 'Active Timers', visible: true },
4848
{ key: 'worker', label: 'Worker', visible: true, wrap: true },
4949
{ key: 'scheduler', label: 'Scheduler', visible: true, wrap: true },
5050
{ key: 'eval', label: 'eval', visible: true, wrap: false },
@@ -70,25 +70,25 @@ export const DEFAULT_PANELS: TPanel[] = [
7070
{
7171
key: 'requestAnimationFrame',
7272
label: 'requestAnimationFrame',
73-
visible: false,
73+
visible: true,
7474
wrap: true,
7575
},
7676
{
7777
key: 'cancelAnimationFrame',
7878
label: 'cancelAnimationFrame',
79-
visible: false,
79+
visible: true,
8080
wrap: true,
8181
},
8282
{
8383
key: 'requestIdleCallback',
8484
label: 'requestIdleCallback',
85-
visible: false,
85+
visible: true,
8686
wrap: true,
8787
},
8888
{
8989
key: 'cancelIdleCallback',
9090
label: 'cancelIdleCallback',
91-
visible: false,
91+
visible: true,
9292
wrap: true,
9393
},
9494
];

src/api/storage/storage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export const CONFIG_VERSION = '2025-07-28';
1+
export const CONFIG_VERSION = '2025-07-31';
22
export const SESSION_VERSION = '2025-04-25';
33

44
export const local = /*@__PURE__*/ (() => {

src/view/menu/TogglePanels.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
>{panel.label}</a>
8181
</td>
8282

83-
{#if panel.wrap !== null}
83+
{#if panel.wrap !== undefined}
8484
<td class="-right">
8585
<button
8686
class="btn-toggle"

0 commit comments

Comments
 (0)