Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
cf0cc34
feat(premium-analytics): copy data package from next-woocommerce-anal…
chihsuan May 29, 2026
2ebc240
refactor(premium-analytics): adapt data package imports and manifest …
chihsuan May 29, 2026
c660f8f
refactor(premium-analytics): decouple data package from admin-toolkit…
chihsuan May 29, 2026
6219abe
style(premium-analytics): align ported data package with jetpack lint…
chihsuan May 29, 2026
8766853
chore(premium-analytics): wire data package deps and test setup
chihsuan May 29, 2026
9b7a74c
changelog: add entry for premium-analytics data port
chihsuan May 29, 2026
2c8048b
docs(premium-analytics): use canonical package name in data README
chihsuan Jun 3, 2026
3dc2054
feat(premium-analytics): copy routing package from next-woocommerce-a…
chihsuan May 29, 2026
0b8a086
refactor(premium-analytics): adapt routing package imports and manife…
chihsuan May 29, 2026
8f9cc38
style(premium-analytics): align ported routing package with jetpack l…
chihsuan May 29, 2026
e349a33
chore(premium-analytics): extend eslint config for ported routing pac…
chihsuan May 29, 2026
26063eb
changelog: add entry for premium-analytics routing port
chihsuan May 29, 2026
efd9362
docs(premium-analytics): use canonical package name in routing READMEs
chihsuan Jun 3, 2026
b92a3b6
feat(premium-analytics): add ui package from next-woocommerce-analyti…
chihsuan Jun 3, 2026
6998770
refactor(premium-analytics): adapt ui package imports and manifest fo…
chihsuan Jun 3, 2026
cd2ec28
refactor(premium-analytics): decouple ui package from admin-toolkit u…
chihsuan Jun 3, 2026
050efb6
style(premium-analytics): align ported ui package with jetpack prettier
chihsuan Jun 3, 2026
5f71f64
fix(premium-analytics): satisfy ui package typecheck and import lint
chihsuan Jun 3, 2026
8747e24
chore(premium-analytics): wire ui package deps and relax lint for the…
chihsuan Jun 3, 2026
4c0d8f8
changelog: add entry for premium-analytics ui package port
chihsuan Jun 3, 2026
0472569
fix(premium-analytics): resolve stylelint errors in ui package scss
chihsuan Jun 3, 2026
d3aac19
Merge branch 'wooa7s-1318-integrate-components-package-into-analytics…
chihsuan Jun 5, 2026
7953f05
feat(premium-analytics): add widgets-toolkit package from next-woocom…
chihsuan Jun 5, 2026
38707ec
refactor(premium-analytics): adapt widgets-toolkit imports and manife…
chihsuan Jun 5, 2026
397f668
refactor(premium-analytics): decouple widgets-toolkit from unpublishe…
chihsuan Jun 5, 2026
36147f2
style(premium-analytics): align ported widgets-toolkit with jetpack p…
chihsuan Jun 5, 2026
284a65c
chore(premium-analytics): wire widgets-toolkit deps and relax lint fo…
chihsuan Jun 5, 2026
b42183f
fix(premium-analytics): satisfy widgets-toolkit typecheck and import …
chihsuan Jun 5, 2026
c19f282
fix(premium-analytics): rename CIAB design tokens to canonical wpds t…
chihsuan Jun 5, 2026
d874acb
changelog: add entry for premium-analytics widgets-toolkit package port
chihsuan Jun 5, 2026
09e6f07
fix(premium-analytics): resolve stylelint errors in widgets-toolkit scss
chihsuan Jun 5, 2026
01f7aa9
fix(premium-analytics): pin @wordpress/dataviews to 14.3.0 to avoid r…
chihsuan Jun 5, 2026
0f40938
Merge remote-tracking branch 'origin/trunk' into wooa7s-1319-integrat…
chihsuan Jun 10, 2026
fe781e2
feat(premium-analytics): add storybook stories for widgets-toolkit
chihsuan Jun 10, 2026
c21892f
fix(premium-analytics): provide storybook contexts and mock data for …
chihsuan Jun 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 63 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: added

Port the widgets-toolkit package (dashboard widgets, chart components, fields, and helpers) from next-woocommerce-analytics as an internal package.
27 changes: 27 additions & 0 deletions projects/packages/premium-analytics/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,32 @@ export default defineConfig(
'jsdoc/check-indentation': 'off',
'import/no-extraneous-dependencies': 'off',
},
},
{
// Same as the ui package: soften JSDoc rules for the widgets-toolkit
// port and allow the upstream inline-handler JSX style. Temporary —
// tighten these up in a follow-up alongside the other ports.
// The port also keeps a few upstream patterns as-is:
// - intentional `any` escapes in test fixtures and the router search
// record (see use-attributes-with-search-fallback.ts)
// - `__experimental*` imports from `@wordpress/components`
// (ToggleGroupControl, Grid) that have no stable equivalents yet
// - CIAB design-system tokens not yet in the local token inventory,
// plus raw/dynamic token names required by the `@automattic/charts`
// theme contract (see use-chart-theme.ts, metric-value.tsx)
files: [ 'packages/widgets-toolkit/**' ],
rules: {
'jsdoc/require-jsdoc': 'off',
'jsdoc/require-description': 'off',
'jsdoc/require-param': 'off',
'jsdoc/require-param-description': 'off',
'jsdoc/require-returns': 'off',
'jsdoc/check-indentation': 'off',
'jsdoc/escape-inline-tags': 'off',
'react/jsx-no-bind': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@wordpress/no-unsafe-wp-apis': 'off',
'@wordpress/no-unknown-ds-tokens': 'off',
},
}
);
3 changes: 3 additions & 0 deletions projects/packages/premium-analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
}
},
"dependencies": {
"@automattic/charts": "workspace:*",
"@automattic/number-formatters": "workspace:*",
"@automattic/ui": "1.0.2",
"@date-fns/tz": "1.4.1",
Expand All @@ -41,11 +42,13 @@
"@wordpress/compose": "8.1.0",
"@wordpress/core-data": "7.48.0",
"@wordpress/data": "10.48.0",
"@wordpress/dataviews": "14.3.0",
"@wordpress/i18n": "^6.9.0",
"@wordpress/icons": "^13.0.0",
"@wordpress/primitives": "4.48.0",
"@wordpress/private-apis": "1.48.0",
"@wordpress/route": "0.13.1",
"@wordpress/theme": "0.13.0",
"@wordpress/ui": "0.13.0",
"@wordpress/url": "4.48.0",
"clsx": "2.1.1",
Expand Down
Loading
Loading