Skip to content
This repository was archived by the owner on Aug 5, 2026. It is now read-only.

[CLOV-1675] part2: docs: update stale bpk-component-* paths to backpack-web/src layout - #4681

Merged
Vincent Liu (xiaogliu) merged 3 commits into
mainfrom
xiaogliu/fix-stale-component-paths
Jun 15, 2026
Merged

[CLOV-1675] part2: docs: update stale bpk-component-* paths to backpack-web/src layout#4681
Vincent Liu (xiaogliu) merged 3 commits into
mainfrom
xiaogliu/fix-stale-component-paths

Conversation

@xiaogliu

@xiaogliu Vincent Liu (xiaogliu) commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Extends #4677 to fix additional stale paths missed by the original grep (which only caught bpk-component-*).

Additional files updated:

  • README.md, packages/backpack-web/README.md — non-component package links (bpk-animate-height, bpk-theming, bpk-react-utils, bpk-mixins, bpk-stylesheets)
  • AGENTS.md, CONTRIBUTING.md, decisions/modern-sass-api.mdpackages/bpk-mixins paths
  • .specify/templates/, .claude/ — stale packages/bpk-* and examples/bpk-component-*/ paths (the examples directory no longer exists; stories are colocated under packages/backpack-web/src/bpk-component-*/src/)
  • Component READMEs — relative import samples replaced with published package names (@skyscanner/backpack-web/bpk-component-*)

…k-web/src/bpk-component-*

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 9, 2026 06:55
@skyscanner-backpack-bot

Copy link
Copy Markdown
Contributor

Visit https://backpack.github.io/storybook-prs/4681 to see this build running in a browser.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@xiaogliu Vincent Liu (xiaogliu) changed the title docs: update stale bpk-component-* paths to backpack-web/src layout [CLOV-1675] part-2: docs: update stale bpk-component-* paths to backpack-web/src layout Jun 9, 2026
@xiaogliu Vincent Liu (xiaogliu) changed the title [CLOV-1675] part-2: docs: update stale bpk-component-* paths to backpack-web/src layout [CLOV-1675] part2: docs: update stale bpk-component-* paths to backpack-web/src layout Jun 9, 2026

## List of packages

[`bpk-animate-height`](/packages/bpk-animate-height)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems we do need to change this path as well

[`bpk-component-table`](/packages/backpack-web/src/bpk-component-table)
[`bpk-component-text`](/packages/backpack-web/src/bpk-component-text)
[`bpk-component-textarea`](/packages/backpack-web/src/bpk-component-textarea)
[`bpk-theming`](/packages/bpk-theming)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

Comment on lines 87 to 89
[`bpk-react-utils`](/packages/bpk-react-utils)
[`bpk-mixins`](/packages/bpk-mixins)
[`bpk-stylesheets`](/packages/bpk-stylesheets)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

Comment thread AGENTS.md

### Package Organization
```
packages/

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to change this as well

Comment thread README.md
[`bpk-component-tooltip`](/packages/bpk-component-tooltip)
[`bpk-component-ticket`](/packages/backpack-web/src/bpk-component-ticket)
[`bpk-component-tooltip`](/packages/backpack-web/src/bpk-component-tooltip)
[`bpk-react-utils`](/packages/bpk-react-utils)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here


## Anything else

The previous convention placed stories in `examples/bpk-component-{name}/`. Existing stories are being migrated in batches. When writing new stories, always use the colocated pattern.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems we don't have this path either examples/bpk-component-{name}/

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems we need to change the path here

Comment thread README.md
[`bpk-component-mobile-scroll-container`](/packages/backpack-web/src/bpk-component-mobile-scroll-container)
[`bpk-component-modal`](/packages/backpack-web/src/bpk-component-modal)
[`bpk-component-navigation-bar`](/packages/backpack-web/src/bpk-component-navigation-bar)
[`bpk-component-navigation-tab-group`](packages/backpack-web/src/bpk-component-navigation-tab-group)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keep consistency

Suggested change
[`bpk-component-navigation-tab-group`](packages/backpack-web/src/bpk-component-navigation-tab-group)
[`bpk-component-navigation-tab-group`](/packages/backpack-web/src/bpk-component-navigation-tab-group)

Comment thread AGENTS.md

### Design Token Architecture

Design tokens are centralized in `packages/bpk-mixins/_tokens.scss` which forwards all tokens from the foundations package:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be packages/backpack-web/src/bpk-mixins/_tokens.scss

@gc-skyscanner GC Zhu (gc-skyscanner) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we also need to remove the illustration added in https://github.com/Skyscanner/backpack/pull/4679/changes#diff-eca12c0a30e25b4b46522ebf89465a03ba72a03f540796c979137931d8f92055R60 ? since we already changed the path in this PR

Vincent Liu and others added 2 commits June 15, 2026 14:07
@xiaogliu
Vincent Liu (xiaogliu) force-pushed the xiaogliu/fix-stale-component-paths branch from 1cae5b0 to b7029ab Compare June 15, 2026 06:08
@skyscanner-backpack-bot

Copy link
Copy Markdown
Contributor

Visit https://backpack.github.io/storybook-prs/4681 to see this build running in a browser.

@xiaogliu

Copy link
Copy Markdown
Contributor Author

Do we also need to remove the illustration added in https://github.com/Skyscanner/backpack/pull/4679/changes#diff-eca12c0a30e25b4b46522ebf89465a03ba72a03f540796c979137931d8f92055R60 ? since we already changed the path in this PR

Removed in #4681

@xiaogliu
Vincent Liu (xiaogliu) merged commit 41ec9ed into main Jun 15, 2026
15 of 16 checks passed
@xiaogliu
Vincent Liu (xiaogliu) deleted the xiaogliu/fix-stale-component-paths branch June 15, 2026 06:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants