Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improvement: ability to configure default pattern info code panel #1155 #1156

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
d3c47ab
improvement: ability to configure default pattern info code panel #1155
mfranzke Apr 24, 2020
61f2cd1
Merge remote-tracking branch 'upstream/dev' into improvement-ability-…
Apr 25, 2020
53d2dd6
chore(config): added new default config value #1155
Apr 25, 2020
d5d6bf4
chore(config): added new default config value #1155
Apr 25, 2020
ea4c2c2
docs(config): added the default config values #1155
Apr 25, 2020
50771b4
docs(config): added the default config values #1155
Apr 25, 2020
753b91a
Revert "chore(config): added new default config value #1155"
Apr 25, 2020
00480e4
Merge branch 'dev' into improvement-ability-to-configure-default-patt…
mfranzke Apr 27, 2020
33749eb
Merge branch 'dev' into improvement-ability-to-configure-default-patt…
bmuenzenmeyer Apr 28, 2020
535da4e
Merge branch 'dev' into improvement-ability-to-configure-default-patt…
mfranzke Apr 29, 2020
6d23004
Merge branch 'dev' into improvement-ability-to-configure-default-patt…
mfranzke May 1, 2020
ecab814
Revert "chore(config): added new default config value #1155"
May 1, 2020
1efdc51
Merge branch 'dev' into improvement-ability-to-configure-default-patt…
bmuenzenmeyer May 1, 2020
20ee664
Merge branch 'dev' into improvement-ability-to-configure-default-patt…
mfranzke May 2, 2020
8bfa53c
Merge branch 'dev' into improvement-ability-to-configure-default-patt…
mfranzke May 5, 2020
ee44cf0
Merge branch 'dev' into improvement-ability-to-configure-default-patt…
mfranzke May 5, 2020
9bf3587
Merge branch 'dev' into improvement-ability-to-configure-default-patt…
mfranzke May 5, 2020
8ba015b
Merge branch 'dev' into improvement-ability-to-configure-default-patt…
mfranzke May 7, 2020
2f8568a
Merge branch 'dev' into improvement-ability-to-configure-default-patt…
mfranzke May 9, 2020
dcb4183
Merge branch 'dev' into improvement-ability-to-configure-default-patt…
mfranzke May 11, 2020
698078e
Merge branch 'dev' into improvement-ability-to-configure-default-patt…
mfranzke May 23, 2020
1349086
Merge branch 'dev' into improvement-ability-to-configure-default-patt…
mfranzke May 24, 2020
be211e8
Merge branch 'dev' into improvement-ability-to-configure-default-patt…
mfranzke May 24, 2020
623a5ad
Merge branch 'dev' into improvement-ability-to-configure-default-patt…
mfranzke Jun 28, 2020
05c8cc2
Merge branch 'dev' into improvement-ability-to-configure-default-patt…
JosefBredereck Aug 25, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions packages/docs/src/docs/advanced-config-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ Sets whether or not you want the styleguide to load with the pattern info open o

**default**: `false`

### defaultPatternInfoPanelCode (optional)

Sets default active pattern info code panel by file extension - if unset, uses the value out of _patternExtension_ config value, or instead use value `html` to display the html code initially, or the value defined for the _patternExtension_.

**default**: _patternExtension_ value (`"hbs"` | `"mustache"` | `"twig"` | `"html"`)

### ishControlsHide

Sets whether or not to hide navigation options within the styleguide.
Expand Down
2 changes: 1 addition & 1 deletion packages/uikit-workshop/src/scripts/components/panels.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function init(event) {
Panels.add({
id: 'pl-panel-html',
name: 'HTML',
default: false,
default: window.config.defaultPatternInfoPanelCode && window.config.defaultPatternInfoPanelCode === 'html',
templateID: 'pl-panel-template-code',
httpRequest: true,
httpRequestReplace: fileSuffixMarkup + '.html',
Expand Down