Skip to content

Commit

Permalink
chore: hide workspace switch menu in selected workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
lpatiny committed Jan 11, 2024
1 parent dbab8f8 commit 9b417dc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/component/workspaces/exercise.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export const exercise: InnerWorkspace = {
general: {
hideGeneralSettings: true,
hideLogs: true,
hideWorkspaces: true,

Check warning on line 10 in src/component/workspaces/exercise.ts

View check run for this annotation

Codecov / codecov/patch

src/component/workspaces/exercise.ts#L10

Added line #L10 was not covered by tests
},
panels: {
spectraPanel: { display: true, open: true },
Expand Down
5 changes: 5 additions & 0 deletions src/component/workspaces/prediction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ export const prediction: InnerWorkspace = {
invert: false,
},
display: {
general: {
hideGeneralSettings: true,
hideLogs: true,
hideWorkspaces: true,
},

Check warning on line 19 in src/component/workspaces/prediction.ts

View check run for this annotation

Codecov / codecov/patch

src/component/workspaces/prediction.ts#L15-L19

Added lines #L15 - L19 were not covered by tests
panels: {
spectraPanel: { display: true },
rangesPanel: { display: true },
Expand Down
5 changes: 5 additions & 0 deletions src/component/workspaces/simulation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ export const simulation: InnerWorkspace = {
invert: false,
},
display: {
general: {
hideGeneralSettings: true,
hideLogs: true,
hideWorkspaces: true,
},

Check warning on line 19 in src/component/workspaces/simulation.ts

View check run for this annotation

Codecov / codecov/patch

src/component/workspaces/simulation.ts#L15-L19

Added lines #L15 - L19 were not covered by tests
panels: {
spectraPanel: { display: true },
simulationPanel: { display: true, open: true },
Expand Down

0 comments on commit 9b417dc

Please sign in to comment.