Skip to content

Commit

Permalink
update github branch links
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinVandy committed Oct 1, 2023
1 parent c5c353f commit c1e8fe3
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Expand Up @@ -48,7 +48,7 @@ body:
attributes:
label: Minimal, Reproducible Example - (Optional, but Recommended)
description: |
Please add a link to a minimal reproduction. This can really speed up the diagnosis of the problem! A Code Sandbox is preferable, but simple code snippets are also acceptable here. Feel free to fork any of the official CodeSandbox examples: https://github.com/KevinVandy/material-react-table/tree/main/apps/material-react-table-docs/examples
Please add a link to a minimal reproduction. This can really speed up the diagnosis of the problem! A Code Sandbox is preferable, but simple code snippets are also acceptable here. Feel free to fork any of the official CodeSandbox examples: https://github.com/KevinVandy/material-react-table/tree/v2/apps/material-react-table-docs/examples
placeholder: |
e.g. Code Sandbox, Stackblitz, or relevant code snippets.
validations:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -14,7 +14,7 @@ View [Documentation](https://www.material-react-table.com/)
<a href="https://star-history.com/#kevinvandy/material-react-table&Date" target="_blank">
<img alt="" src="https://badgen.net/github/stars/KevinVandy/material-react-table?color=blue" />
</a>
<a href="https://github.com/KevinVandy/material-react-table/blob/main/LICENSE" target="_blank">
<a href="https://github.com/KevinVandy/material-react-table/blob/v2/LICENSE" target="_blank">
<img alt="" src="https://badgen.net/github/license/KevinVandy/material-react-table?color=blue" />
</a>
<a href="http://makeapullrequest.com" target="_blank">
Expand Down Expand Up @@ -193,6 +193,6 @@ _Open in [Code Sandbox](https://codesandbox.io/s/simple-material-react-table-exa

PRs are Welcome, but please discuss in [GitHub Discussions](https://github.com/KevinVandy/material-react-table/discussions) or the [Discord Server](https://discord.gg/5wqyRx6fnm) first if it is a large change!

Read the [Contributing Guide](https://github.com/KevinVandy/material-react-table/blob/main/CONTRIBUTING.md) to learn how to run this project locally.
Read the [Contributing Guide](https://github.com/KevinVandy/material-react-table/blob/v2/CONTRIBUTING.md) to learn how to run this project locally.

<!-- Use the FORCE, Luke! -->
Expand Up @@ -138,7 +138,7 @@ export const SourceCodeSnippet = ({
<Button
color="success"
endIcon={<LaunchIcon />}
href={`https://stackblitz.com/github/KevinVandy/material-react-table/tree/main/apps/material-react-table-docs/examples/${tableId}/sandbox?file=src/TS.tsx`}
href={`https://stackblitz.com/github/KevinVandy/material-react-table/tree/v2/apps/material-react-table-docs/examples/${tableId}/sandbox?file=src/TS.tsx`}
onClick={() => plausible('open-stackblitz')}
rel="noopener"
startIcon={<ElectricBoltIcon />}
Expand All @@ -151,7 +151,7 @@ export const SourceCodeSnippet = ({
<Button
color="warning"
endIcon={<LaunchIcon />}
href={`https://codesandbox.io/s/github/KevinVandy/material-react-table/tree/main/apps/material-react-table-docs/examples/${tableId}/sandbox?file=/src/TS.tsx`}
href={`https://codesandbox.io/s/github/KevinVandy/material-react-table/tree/v2/apps/material-react-table-docs/examples/${tableId}/sandbox?file=/src/TS.tsx`}
onClick={() => plausible('open-code-sandbox')}
rel="noopener"
startIcon={<CodeIcon />}
Expand All @@ -164,7 +164,7 @@ export const SourceCodeSnippet = ({
<Button
color="info"
endIcon={<LaunchIcon />}
href={`https://github.com/KevinVandy/material-react-table/tree/main/apps/material-react-table-docs/examples/${tableId}/sandbox/src/${
href={`https://github.com/KevinVandy/material-react-table/tree/v2/apps/material-react-table-docs/examples/${tableId}/sandbox/src/${
codeTab === 'ts'
? 'TS.tsx'
: codeTab === 'js'
Expand Down
Expand Up @@ -58,7 +58,7 @@ export const StatBadges = () => {
/>
</a>
<a
href="https://github.com/KevinVandy/material-react-table/blob/main/LICENSE"
href="https://github.com/KevinVandy/material-react-table/blob/v2/LICENSE"
target="_blank"
rel="noopener"
>
Expand Down
Expand Up @@ -32,7 +32,7 @@ export const Footer = () => {
color="secondary"
endIcon={<GitHub />}
startIcon={<Edit />}
href={`https://github.com/KevinVandy/material-react-table/edit/main/apps/material-react-table-docs/pages${pathname}${
href={`https://github.com/KevinVandy/material-react-table/edit/v2/apps/material-react-table-docs/pages${pathname}${
['/'].includes(pathname)
? 'index.tsx'
: ['/docs', '/docs/api', '/docs/examples', '/docs/guides'].includes(
Expand Down
4 changes: 2 additions & 2 deletions apps/material-react-table-docs/pages/about.mdx
Expand Up @@ -28,7 +28,7 @@ Material React Table started out as an attempt to upgrade the once popular [mate

### License

Material React Table is licensed under the [MIT License](https://github.com/KevinVandy/material-react-table/blob/main/LICENSE) and is free to use in both personal and commercial projects.
Material React Table is licensed under the [MIT License](https://github.com/KevinVandy/material-react-table/blob/v2/LICENSE) and is free to use in both personal and commercial projects.

### Features

Expand Down Expand Up @@ -98,7 +98,7 @@ Material React Table is licensed under the [MIT License](https://github.com/Kevi

### Contribute

If you would like to contribute code to the project, please read the [Contributing Guide](https://github.com/kevinvandy/material-react-table/blob/main/CONTRIBUTING.md) to learn how to get started.
If you would like to contribute code to the project, please read the [Contributing Guide](https://github.com/kevinvandy/material-react-table/blob/v2/CONTRIBUTING.md) to learn how to get started.

#### Support the Project

Expand Down
Expand Up @@ -171,7 +171,7 @@ By default, Material React Table uses a `fuzzy` filtering algorithm based on the

##### Pre-built MRT Filter Functions

> Pre-built filter functions from Material React Table include `between`, `betweenInclusive`, `contains`, `empty`, `endsWith`, `equals`, `fuzzy`, `greaterThan`, `greaterThanOrEqualTo`, `lessThan`, `lessThanOrEqualTo`, `notEmpty`, `notEquals`, and `startsWith`. View these algorithms [here](https://github.com/KevinVandy/material-react-table/blob/main/packages/material-react-table/src/filterFns.ts)
> Pre-built filter functions from Material React Table include `between`, `betweenInclusive`, `contains`, `empty`, `endsWith`, `equals`, `fuzzy`, `greaterThan`, `greaterThanOrEqualTo`, `lessThan`, `lessThanOrEqualTo`, `notEmpty`, `notEquals`, and `startsWith`. View these algorithms [here](https://github.com/KevinVandy/material-react-table/blob/v2/packages/material-react-table/src/filterFns.ts)
##### Pre-built TanStack Table Filter Functions

Expand Down
Expand Up @@ -22,7 +22,7 @@ If you need to, you can customize and replace some or all of the icons with your

### Replace with Custom Icons

To replace a default icon, specify the icon in the `icons` prop. You should get TS hints for the name of the icons you can replace, but you can also consult [this source file](https://github.com/KevinVandy/material-react-table/blob/main/packages/material-react-table/src/icons.ts) for a list of all the icons you can replace.
To replace a default icon, specify the icon in the `icons` prop. You should get TS hints for the name of the icons you can replace, but you can also consult [this source file](https://github.com/KevinVandy/material-react-table/blob/v2/packages/material-react-table/src/icons.ts) for a list of all the icons you can replace.

```jsx
<MaterialReactTable
Expand Down
Expand Up @@ -24,7 +24,7 @@ The following locales are included and can be imported from `'material-react-tab

`cs`, `da`, `de`, `en`, `es`, `fa`, `fi`, `fr`, `hu`, `id`, `it`, `nl`, `no`, `ja`, `pl`, `pt`, `pt-BR`, `ro`, `ru`, `sk`, `sr-Cryl-RS`, `sr-Latn-RS`, `sv`, `tr`, `uk`, `vi`, `zh-Hans`, `zh-Hant`

> If your language is not yet supported, please consider making a PR to add it to the library! See [here on GitHub](https://github.com/KevinVandy/material-react-table/tree/main/packages/material-react-table/src/locales).
> If your language is not yet supported, please consider making a PR to add it to the library! See [here on GitHub](https://github.com/KevinVandy/material-react-table/tree/v2/packages/material-react-table/src/locales).
#### Built-in Locale Examples

Expand Down Expand Up @@ -55,6 +55,6 @@ If you want to use a language that is not included in the library, you can still
/>
```

For a full list of all available translation keys, see [here](https://github.com/KevinVandy/material-react-table/blob/main/packages/material-react-table/src/locales/en.ts)
For a full list of all available translation keys, see [here](https://github.com/KevinVandy/material-react-table/blob/v2/packages/material-react-table/src/locales/en.ts)

If you end up fully translating MRT into another language that is not yet supported, please consider making a PR to add it to the library so that everyone can use it!
2 changes: 1 addition & 1 deletion packages/material-react-table/.storybook/preview.tsx
Expand Up @@ -62,7 +62,7 @@ const preview: Preview = {
>
View Source code for these examples in the code tab below or{' '}
<Link
href="https://github.com/KevinVandy/material-react-table/tree/main/packages/material-react-table/stories/features"
href="https://github.com/KevinVandy/material-react-table/tree/v2/packages/material-react-table/stories/features"
target="_blank"
>
here on GitHub.
Expand Down
4 changes: 2 additions & 2 deletions packages/material-react-table/README.md
Expand Up @@ -14,7 +14,7 @@ View [Documentation](https://www.material-react-table.com/)
<a href="https://star-history.com/#kevinvandy/material-react-table&Date" target="_blank">
<img alt="" src="https://badgen.net/github/stars/KevinVandy/material-react-table?color=blue" />
</a>
<a href="https://github.com/KevinVandy/material-react-table/blob/main/LICENSE" target="_blank">
<a href="https://github.com/KevinVandy/material-react-table/blob/v2/LICENSE" target="_blank">
<img alt="" src="https://badgen.net/github/license/KevinVandy/material-react-table?color=blue" />
</a>
<a href="http://makeapullrequest.com" target="_blank">
Expand Down Expand Up @@ -193,6 +193,6 @@ _Open in [Code Sandbox](https://codesandbox.io/s/simple-material-react-table-exa

PRs are Welcome, but please discuss in [GitHub Discussions](https://github.com/KevinVandy/material-react-table/discussions) or the [Discord Server](https://discord.gg/5wqyRx6fnm) first if it is a large change!

Read the [Contributing Guide](https://github.com/KevinVandy/material-react-table/blob/main/CONTRIBUTING.md) to learn how to run this project locally.
Read the [Contributing Guide](https://github.com/KevinVandy/material-react-table/blob/v2/CONTRIBUTING.md) to learn how to run this project locally.

<!-- Use the FORCE, Luke! -->

0 comments on commit c1e8fe3

Please sign in to comment.