Skip to content

Commit

Permalink
playground: enable policy workspace
Browse files Browse the repository at this point in the history
This is to enable review of cue-fmt UX only.

DO NOT REVIEW
DO NOT SUBMIT

Signed-off-by: Jonathan Matthews <[email protected]>
Change-Id: I89948a22ead2a61f883894601f939114fa46ed91
Dispatch-Trailer: {"type":"trybot","CL":1205273,"patchset":7,"ref":"refs/changes/73/1205273/7","targetBranch":"master"}
  • Loading branch information
jpluscplusm authored and cueckoo committed Dec 8, 2024
1 parent 012d0da commit f5d5086
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion playground/src/config/workspaces/policy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { OPTION_TYPE, optionCUE, optionJSON, optionTerminal, optionYAML } from '
import { deepFreeze } from '@helpers/deep-freeze';

export const policyWorkspace: Workspace = deepFreeze<Workspace>({
enabled: false,
enabled: true,
type: WORKSPACE.POLICY,
title: 'Policy',
description: 'In the Policy Workspace you can play around with multiple inputs: Policy, Input & Data.',
Expand Down
4 changes: 2 additions & 2 deletions playground/src/containers/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import { setupWorkspaceConfig } from '@helpers/workspace';
import { DropdownChange } from '@models/dropdown';
import { Example } from '@models/example';
import { HASH_KEY, hashParams } from '@models/hashParams';
import { OPTION_TYPE, optionCUE } from '@models/options';
import { OPTION_TYPE } from '@models/options';
import { WORKSPACE, Workspace, Workspaces, WorkspaceTab } from '@models/workspace';

interface AppProps
Expand Down Expand Up @@ -270,7 +270,7 @@ export class App extends React.Component<AppProps, AppState>
actions: {
format: {
show: true,
disabled: tab.selected.value !== optionCUE.value
disabled: false,
},
},
} }
Expand Down

0 comments on commit f5d5086

Please sign in to comment.