aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/src/graph/VisibilityDialog.tsx
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2023-09-03 18:04:05 +0200
committerLibravatar Kristóf Marussy <kristof@marussy.com>2023-09-03 18:05:27 +0200
commit983fea3d1aa238fd1fb6df66187248e31379a31d (patch)
tree7a47b0ca33dcf7fe8aa88cb46947a9d7df8c37c9 /subprojects/frontend/src/graph/VisibilityDialog.tsx
parentchore: prefer Prolog-style comments (diff)
downloadrefinery-983fea3d1aa238fd1fb6df66187248e31379a31d.tar.gz
refinery-983fea3d1aa238fd1fb6df66187248e31379a31d.tar.zst
refinery-983fea3d1aa238fd1fb6df66187248e31379a31d.zip
feat(frontend): hide object scopes by default
Diffstat (limited to 'subprojects/frontend/src/graph/VisibilityDialog.tsx')
-rw-r--r--subprojects/frontend/src/graph/VisibilityDialog.tsx9
1 files changed, 9 insertions, 0 deletions
diff --git a/subprojects/frontend/src/graph/VisibilityDialog.tsx b/subprojects/frontend/src/graph/VisibilityDialog.tsx
index 5c459fd1..f1fef28b 100644
--- a/subprojects/frontend/src/graph/VisibilityDialog.tsx
+++ b/subprojects/frontend/src/graph/VisibilityDialog.tsx
@@ -55,6 +55,9 @@ const VisibilityDialogRoot = styled('div', {
55 marginLeft: 0, 55 marginLeft: 0,
56 paddingTop: theme.spacing(1), 56 paddingTop: theme.spacing(1),
57 paddingLeft: theme.spacing(1), 57 paddingLeft: theme.spacing(1),
58 '& + .MuiFormControlLabel-root': {
59 paddingTop: 0,
60 },
58 }, 61 },
59 '.VisibilityDialog-scroll': { 62 '.VisibilityDialog-scroll': {
60 display: 'flex', 63 display: 'flex',
@@ -247,6 +250,12 @@ function VisibilityDialog({
247 } 250 }
248 label="Fully qualified names" 251 label="Fully qualified names"
249 /> 252 />
253 <FormControlLabel
254 control={
255 <Switch checked={graph.scopes} onClick={() => graph.toggleScopes()} />
256 }
257 label="Object scopes"
258 />
250 <div className="VisibilityDialog-scroll"> 259 <div className="VisibilityDialog-scroll">
251 {hasRows ? ( 260 {hasRows ? (
252 <table cellSpacing={0}> 261 <table cellSpacing={0}>