Skip to content

Commit 95e9589

Browse files
committed
feat: add StackBlitz starter link and convert /issue page to mdx
- Replace issue.tsx redirect with issue.mdx page that lets users choose between StackBlitz and CodeSandbox starter templates - Update references in issues.mdx and contribute.mdx
1 parent 465f1e7 commit 95e9589

4 files changed

Lines changed: 33 additions & 11 deletions

File tree

packages/dnb-design-system-portal/src/docs/contribute.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Colors, fonts and logo guidelines are set in the DNB Brandbook and the digital v
119119

120120
[Jira Issue Tracking](https://dnb-asa.atlassian.net/jira/software/c/projects/EDS/summary) or [GitHub Issue Tracking](https://github.com/dnbexperience/eufemia/issues): Where you can report or find new issues
121121

122-
[Codesandbox Template](https://eufemia.dnb.no/issue/): For quickly reproducing issues when reporting bugs.
122+
[Starter Templates](https://eufemia.dnb.no/issue/): For quickly reproducing issues when reporting bugs (StackBlitz or CodeSandbox).
123123

124124
### People of Eufemia
125125

packages/dnb-design-system-portal/src/docs/contribute/style-guides/issues.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ bug report to the GitHub repository. Thanks for helping out.
1313

1414
When reporting issues or suggesting new features, we would appreciate if you use [GitHub Issues](https://github.com/dnbexperience/eufemia/issues) or our [Jira Kanban board](https://dnb-asa.atlassian.net/jira/software/c/projects/EDS/summary). Another option is to send a Slack message in [#eufemia-web](https://dnb-it.slack.com/archives/CMXABCHEY).
1515

16-
For reproduction of issues you can use our [codesandbox starter template](/issue/). Including this in your report helps us out a lot.
16+
For reproduction of issues you can use our [starter templates](/issue/) (StackBlitz or CodeSandbox). Including this in your report helps us out a lot.
1717

1818
## GitHub issues
1919

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: 'Reproduce an issue'
3+
---
4+
5+
import { Card, Flex, Anchor, P, Lead } from '@dnb/eufemia/src'
6+
7+
# Reproduce an issue
8+
9+
When reporting a bug, a minimal reproduction helps us identify and fix the problem faster. Choose one of the starter templates below to get started:
10+
11+
<Flex.Horizontal top="large" gap="large">
12+
<Card stack>
13+
### StackBlitz
14+
15+
<P>Open our StackBlitz starter template to create a reproduction right in the browser.</P>
16+
17+
<Anchor href="https://stackblitz.com/edit/u6dlg7ok?file=src%2FApp.tsx" target="_blank">
18+
Open StackBlitz Starter
19+
</Anchor>
20+
</Card>
21+
22+
<Card stack>
23+
### CodeSandbox
24+
25+
<P>Open our CodeSandbox starter template to create a reproduction right in the browser.</P>
26+
27+
<Anchor href="https://codesandbox.io/s/eufemia-starter-0gcwo" target="_blank">
28+
Open CodeSandbox Starter
29+
</Anchor>
30+
</Card>
31+
</Flex.Horizontal>

packages/dnb-design-system-portal/src/docs/issue.tsx

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)