Skip to content

Commit

Permalink
Update domain
Browse files Browse the repository at this point in the history
  • Loading branch information
carysmills committed Dec 2, 2024
1 parent 4adc8b1 commit a978543
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 16 deletions.
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

## Code of conduct

We expect all participants to read our [code of conduct](https://polaris-viz.shopify.com/?path=/docs/contributing-code-of-conduct--page) to understand which actions are and aren’t tolerated.
We expect all participants to read our [code of conduct](https://polaris-viz.shopify.dev/?path=/docs/contributing-code-of-conduct--page) to understand which actions are and aren’t tolerated.

<br/>
<hr/>
Expand All @@ -16,7 +16,7 @@ We expect all participants to read our [code of conduct](https://polaris-viz.sho
## Development
<!-- TODO UPDATE LINK -->

👩🏾‍💻 For local development instructions, head to the [Contributing/Local Development](http://polaris-viz.shopify.com/?path=/story/contributing-local-development--page) section
👩🏾‍💻 For local development instructions, head to the [Contributing/Local Development](http://polaris-viz.shopify.dev/?path=/story/contributing-local-development--page) section

<br/>
<hr/>
Expand All @@ -34,7 +34,7 @@ Every significant change is documented in the [CHANGELOG](/CHANGELOG.md).

## Contributor License Agreement (CLA)

Each contributor is required to [sign a CLA](https://cla.shopify.com/). This process is automated as part of your first pull request and is only required once. If any contributor has not signed or does not have an associated GitHub account, the CLA check will fail and the pull request is unable to be merged.
Each contributor is required to [sign a CLA](https://cla.shopify.dev/). This process is automated as part of your first pull request and is only required once. If any contributor has not signed or does not have an associated GitHub account, the CLA check will fail and the pull request is unable to be merged.

<br/>
<hr/>
Expand Down
8 changes: 4 additions & 4 deletions LOCAL_DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Will type check all packages
Will start the jest test runner

- **`yarn dev`:**
Builds all libraries and automatically rebuilds on code change. This can be combined with the [Sandbox](http://polaris-viz.shopify.com/?path=/docs/contributing-sandbox--page) to get near live updates.
Builds all libraries and automatically rebuilds on code change. This can be combined with the [Sandbox](http://polaris-viz.shopify.dev/?path=/docs/contributing-sandbox--page) to get near live updates.

- **`yarn storybook`:**
Runs storybook locally
Expand All @@ -48,7 +48,7 @@ The root `package.json` merely contains `devDependencies` that are needed to bui

### Developing in React Native

To test `@shopify/polaris-viz-native` code please use our [Sandbox](http://polaris-viz.shopify.com/?path=/docs/contributing-sandbox--page).
To test `@shopify/polaris-viz-native` code please use our [Sandbox](http://polaris-viz.shopify.dev/?path=/docs/contributing-sandbox--page).

<br>

Expand All @@ -66,7 +66,7 @@ In the packages folder you'll find the source code of the libraries that get pub

`@shopify/polaris-viz-core` contains platform agnostic code shared by both `@shopify/polaris-viz` and `@shopify/polaris-viz-native`

This monorepo is managed with Shopify's [Loom](https://www.npmjs.com/package/@shopify/loom) for building and testing and [Lerna](https://github.com/lerna/lerna) for the publishing workflow. To learn more about how to create releases please see our [Creating Releases page](http://polaris-viz.shopify.com/?path=/docs/contributing-creating-releases--page).
This monorepo is managed with Shopify's [Loom](https://www.npmjs.com/package/@shopify/loom) for building and testing and [Lerna](https://github.com/lerna/lerna) for the publishing workflow. To learn more about how to create releases please see our [Creating Releases page](http://polaris-viz.shopify.dev/?path=/docs/contributing-creating-releases--page).


<br>
Expand All @@ -84,4 +84,4 @@ For complex props, like callback functions, consider adding a select to stories

### `/sandbox`

The sandbox folder contains an [Expo](https://docs.expo.dev/) app pre-configured so you can test the build of each library in a web browser, an iOS simulator or an Android simulator. Read more about how to use it on the [Sandbox page](http://polaris-viz.shopify.com/?path=/docs/contributing-sandbox--page).
The sandbox folder contains an [Expo](https://docs.expo.dev/) app pre-configured so you can test the build of each library in a web browser, an iOS simulator or an Android simulator. Read more about how to use it on the [Sandbox page](http://polaris-viz.shopify.dev/?path=/docs/contributing-sandbox--page).
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ It is composed of two consumer-facing libraries:

<br/>

Both libraries use the same [Data Structure](https://polaris-viz.shopify.com/?path=/docs/shared-data-structure--page), [Utility functions](https://polaris-viz.shopify.com/?path=/docs/shared-utilities-accessibility-color-vision-events--page), [Themes](https://polaris-viz.shopify.com/?path=/docs/shared-themes-default-themes--page) and SubComponents. _All things shared_ between `@shopify/polaris-viz` and `@shopify/polaris-viz-native` are documented in the Storybook's `Shared` folder
Both libraries use the same [Data Structure](https://polaris-viz.shopify.dev/?path=/docs/shared-data-structure--page), [Utility functions](https://polaris-viz.shopify.dev/?path=/docs/shared-utilities-accessibility-color-vision-events--page), [Themes](https://polaris-viz.shopify.dev/?path=/docs/shared-themes-default-themes--page) and SubComponents. _All things shared_ between `@shopify/polaris-viz` and `@shopify/polaris-viz-native` are documented in the Storybook's `Shared` folder


- [📓 Docs & Examples](https://polaris-viz.shopify.com/)
- [🖥 Getting Started with Polaris Viz](https://polaris-viz.shopify.com/?path=/docs/polaris-viz-getting-started--page)
- [📱 Getting Started with Polaris Viz **Native**](https://polaris-viz.shopify.com/?path=/docs/polaris-viz-native-getting-started--page)
- [📓 Docs & Examples](https://polaris-viz.shopify.dev/)
- [🖥 Getting Started with Polaris Viz](https://polaris-viz.shopify.dev/?path=/docs/polaris-viz-getting-started--page)
- [📱 Getting Started with Polaris Viz **Native**](https://polaris-viz.shopify.dev/?path=/docs/polaris-viz-native-getting-started--page)


<br/>
Expand Down
2 changes: 1 addition & 1 deletion WRITING_STORIES.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Visit the Storybook docs for more information on [how default exports provide ad
## Story guidelines

- Stories should use data that is as close to real-world data as possible.
- Stories should only include examples that are useful to consumers. If you have a story that handles a certain edge-case, or it would be useful to developers, each chart has a `Playground` folder that is not included in the [consumer facing docs site](https://polaris-viz.shopify.com/), where you can test your story.
- Stories should only include examples that are useful to consumers. If you have a story that handles a certain edge-case, or it would be useful to developers, each chart has a `Playground` folder that is not included in the [consumer facing docs site](https://polaris-viz.shopify.dev/), where you can test your story.

## Chromatic stories

Expand Down
6 changes: 5 additions & 1 deletion packages/polaris-viz/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

<!-- ## Unreleased -->
## Unreleased

### Changed

- Updated Polaris Viz domain in documentation

## [15.3.3] - 2024-12-02

Expand Down
2 changes: 1 addition & 1 deletion packages/polaris-viz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"private": false,
"license": "SEE LICENSE IN LICENSE.md",
"author": "Shopify <dev@shopify.com>",
"homepage": "https://polaris-viz.shopify.com/",
"homepage": "https://polaris-viz.shopify.dev/",
"repository": "https://github.com/Shopify/polaris-viz",
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/polaris-viz/src/storybook/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export const RENDER_BUCKET_LEGEND_LABEL_ARGS = {
};

export const RENDER_TOOLTIP_DESCRIPTION =
'This accepts a function that is called to render the tooltip content. When necessary it calls `formatXAxisLabel` and/or `formatYAxisLabel` to format the `DataSeries[]` values and passes them to `<TooltipContent />`. [RenderTooltipContentData type definition.](https://polaris-viz.shopify.com/?path=/docs/polaris-viz-subcomponents-tooltipcontent-rendertooltipcontent--page)';
'This accepts a function that is called to render the tooltip content. When necessary it calls `formatXAxisLabel` and/or `formatYAxisLabel` to format the `DataSeries[]` values and passes them to `<TooltipContent />`. [RenderTooltipContentData type definition.](https://polaris-viz.shopify.dev/?path=/docs/polaris-viz-subcomponents-tooltipcontent-rendertooltipcontent--page)';

export const DATA_ARGS = {
description:
Expand Down
2 changes: 1 addition & 1 deletion scripts/character-widths/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 📏 Character Widths

To speed up the truncation logic for [Labels](https://polaris-viz.shopify.com/?path=/docs/shared-labels--page) we use a pre-built `json` file that includes the width of each available character the browser provides. This includes multiple languages.
To speed up the truncation logic for [Labels](https://polaris-viz.shopify.dev/?path=/docs/shared-labels--page) we use a pre-built `json` file that includes the width of each available character the browser provides. This includes multiple languages.

Currently this process is manual, but it only needs to be re-ran if the font size, or family changes.

Expand Down

0 comments on commit a978543

Please sign in to comment.