Skip to content

Commit

Permalink
fixed wrong github source link - prefill component issue (#450)
Browse files Browse the repository at this point in the history
  • Loading branch information
fraincs authored Sep 27, 2024
2 parents 187eb2f + 8f003d6 commit 0d3e939
Show file tree
Hide file tree
Showing 15 changed files with 17 additions and 16 deletions.
5 changes: 3 additions & 2 deletions apps/docs/app/components/[...slug]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { notFound } from "next/navigation";

import Heading from "@/app/ui/components/heading/Heading.tsx";
import SubHeader from "@/app/ui/layout/subHeader/SubHeader.tsx";
import Aside from "@/app/ui/layout/aside/Aside.tsx";
import SubHeader from "@/app/ui/layout/subHeader/SubHeader.tsx";

import { getComponentDetails } from "@/app/lib/getComponentDetails.ts";
import getSectionLinks from "@/app/lib/getSectionLinks.ts";
Expand Down Expand Up @@ -54,7 +54,8 @@ export default async function ComponentPage({ params }: PageProps) {
},
{
name: "issue",
src: "https://github.com/gsoft-inc/wl-hopper/issues/new",
// eslint-disable-next-line max-len
src: `https://github.com/gsoft-inc/wl-hopper/issues/new?title=🐛%20[${title}]%20-%20<TITLE>&body=Component:%20Button%0A%0AIssue%20Summary:%0A_Describe%20the%20issue%20or%20enhancement%20you're%20experiencing%20with%20the%20component._%0A%0ASteps%20to%20Reproduce:%0A1.%20_Step%20one..._%0A2.%20_Step%20two..._%0A%0AExpected%20Behaviour:%0A_What%20did%20you%20expect%20to%20happen?_%0A%0AActual%20Behaviour:%0A_What%20actually%20happened?_%0A%0AScreenshots%20or%20Code%20Snippet:%0A_Include%20any%20screenshots,%20GIFs,%20or%20code%20snippets%20that%20help%20explain%20the%20issue._%0A%0AEnvironment:%0A-%20Design%20System%20Version:%20_Version%20number_%0A-%20Browser%20and%20Version:%20_Browser%20and%20version%20where%20the%20issue%20occurs_%0A-%20Operating%20System:%20_OS%20and%20version_%0A%0AAdditional%20Context:%0A_Any%20other%20details%20or%20context%20related%20to%20the%20issue._`,
label: "Report an issue"
},
...(links.aria ? [{
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/components/collections/Listbox.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: ListBox
description: A list box displays actions relevant to the user’s current selection.
category: "collections"
links:
source: https://github.com/gsoft-inc/wl-hopper/blob/main/packages/components/src/listbox/src/ListBox.tsx
source: https://github.com/gsoft-inc/wl-hopper/blob/main/packages/components/src/ListBox/src/ListBox.tsx
aria: https://www.w3.org/WAI/ARIA/apg/patterns/listbox/
---

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/components/content/Avatar.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Avatar
description: An avatar is used to represent a user, team or another entity.
category: "content"
links:
source: https://github.com/gsoft-inc/wl-hopper/blob/main/packages/components/src/Avatar/src/index.tsx
source: https://github.com/gsoft-inc/wl-hopper/blob/main/packages/components/src/Avatar/src/Avatar.tsx
---

<Example src="Avatar/docs/preview" isOpen />
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/components/content/Divider.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Divider
description: A divider separates sections of content or groups.
category: "content"
links:
source: https://github.com/gsoft-inc/wl-hopper/blob/main/packages/components/src/content/src/Divider.tsx
source: https://github.com/gsoft-inc/wl-hopper/blob/main/packages/components/src/Divider/src/Divider.tsx
---

<Example src="Divider/docs/preview" isOpen />
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/components/content/Heading.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Heading
description: A heading is a primitive component matching Hopper's typography type scale.
category: "content"
links:
source: https://github.com/gsoft-inc/wl-hopper/blob/main/packages/components/src/typoegraphy/heading/src/Heading.tsx
source: https://github.com/gsoft-inc/wl-hopper/blob/main/packages/components/src/typography/Heading/src/Heading.tsx
---
<Example src="typography/Heading/docs/preview" isOpen />

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/components/content/Label.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Label
description: A label is a primitive component matching Hopper's typography type scale.
category: "content"
links:
source: https://github.com/gsoft-inc/wl-hopper/blob/main/packages/components/src/typography/Label/src/label.tsx
source: https://github.com/gsoft-inc/wl-hopper/blob/main/packages/components/src/typography/Label/src/Label.tsx
---
<Example src="typography/Label/docs/preview" isOpen />

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/components/content/Text.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Text
description: A text component is a primitive component matching Hopper's typography type scale.
category: "content"
links:
source: https://github.com/gsoft-inc/wl-hopper/blob/main/packages/components/src/typoegraphy/Text/src/Text.tsx
source: https://github.com/gsoft-inc/wl-hopper/blob/main/packages/components/src/typography/Text/src/Text.tsx
---

<Example src="typography/Text/docs/text/preview" isOpen />
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/components/forms/Form.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Form
description: Forms are used to gather information from the user.
category: "forms"
links:
source: https://github.com/gsoft-inc/wl-hopper/blob/main/packages/components/src/form/src/Form.tsx
source: https://github.com/gsoft-inc/wl-hopper/blob/main/packages/components/src/Form/src/Form.tsx
---

<Example src="Form/docs/preview" />
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/components/forms/HelperMessage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: HelperMessage
description: A helper message component displays auxiliary text to guide users in the interface.
category: "forms"
links:
source: https://github.com/gsoft-inc/wl-hopper/blob/main/packages/components/src/helpMessage/src/HelpMessage.tsx
source: https://github.com/gsoft-inc/wl-hopper/blob/main/packages/components/src/HelperMessage/src/HelperMessage.tsx
---

<Example src="HelperMessage/docs/preview" isOpen />
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/components/forms/NumberField.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: NumberField
description: A number field is a specialized input that allows a user to enter a number.
category: "forms"
links:
source: https://github.com/gsoft-inc/wl-hopper/blob/main/packages/components/src/inputs/src/NumberInputField.tsx
source: https://github.com/gsoft-inc/wl-hopper/blob/main/packages/components/src/inputs/src/NumberField.tsx
---

<Example src="inputs/docs/numberField/preview" isOpen />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: RemainingCharacterCount
description: A component that counts characters
category: "forms"
links:
source: https://github.com/gsoft-inc/wl-hopper/blob/main/packages/components/src/typography/Label/src/label.tsx
source: https://github.com/gsoft-inc/wl-hopper/blob/main/packages/components/src/inputs/src/RemainingCharacterCount.tsx
---
<Example src="inputs/docs/remainingCharacterCount/preview" isOpen />

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/components/overlays/Popover.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Popover
description: A popover displays additional content when a user interacts with a trigger element.
category: "overlays"
links:
source: https://github.com/gsoft-inc/wl-hopper/blob/main/packages/components/src/overlays/src/Popover.tsx
source: https://github.com/gsoft-inc/wl-hopper/blob/main/packages/components/src/overlays/Popover/src/Popover.tsx
---

<Example src="overlays/Popover/docs/preview" isOpen />
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/components/pickers/Select.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Select
description: A select displays a collapsible list of options from which the user can select one.
category: "pickers"
links:
source: https://github.com/gsoft-inc/wl-hopper/blob/main/packages/components/src/TBD/src/TBD.tsx
source: https://github.com/gsoft-inc/wl-hopper/blob/main/packages/components/src/Select/src/Select.tsx
---

<Example src="Select/docs/preview" isOpen />
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/components/status/Badge.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Badge
description: A badge is used to bring attention to an element.
category: "status"
links:
source: https://github.com/gsoft-inc/wl-hopper/blob/main/packages/components/src/badge/src/Badge.tsx
source: https://github.com/gsoft-inc/wl-hopper/blob/main/packages/components/src/Badge/src/Badge.tsx
---

<Example src="Badge/docs/badge/preview" isOpen />
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/components/status/FloatingBadge.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: FloatingBadge
description: A floating badge allows the user to position a badge relative to another component.
category: "status"
links:
source: https://github.com/gsoft-inc/wl-hopper/blob/main/packages/components/src/badge/src/FloatingBadge.tsx
source: https://github.com/gsoft-inc/wl-hopper/blob/main/packages/components/src/Badge/src/FloatingBadge.tsx
---

<Example src="Badge/docs/floatingbadge/preview" isOpen />
Expand Down

0 comments on commit 0d3e939

Please sign in to comment.