Merge pull request #1075 from dbgate/feature/json-wrap

feat: add jsonPreviewWrap option to settings
This commit is contained in:
Jan Prochazka
2025-04-03 14:49:54 +02:00
committed by GitHub
2 changed files with 14 additions and 0 deletions

View File

@@ -431,6 +431,12 @@ ORDER BY
<FormCheckboxField name="behaviour.useTabPreviewMode" label="Use tab preview mode" defaultValue={true} />
<FormCheckboxField
name="behaviour.jsonPreviewWrap"
label={_t('settings.behaviour.jsonPreviewWrap', { defaultMessage: 'Wrap json in preview' })}
defaultValue={false}
/>
<div class="tip">
<FontIcon icon="img tip" /> When you single-click or select a file in the "Tables, Views, Functions" view, it
is shown in a preview mode and reuses an existing tab (preview tab). This is useful if you are quickly browsing