Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
d3ce7b9
Initial plan
Copilot Nov 25, 2025
5882383
test: add E2E test structure with visual regression tests for atomic-…
Copilot Nov 25, 2025
cfc94ad
add snapshots
y-lakhdar Nov 26, 2025
13f17a5
Add generated files
developer-experience-bot[bot] Nov 26, 2025
2ead124
feat: migrate atomic-rating-range-facet from Stencil to Lit (Step 1)
Copilot Nov 26, 2025
9d78bb1
test: add comprehensive unit tests for atomic-rating-range-facet (Ste…
Copilot Nov 26, 2025
ec37ac8
docs: add MDX documentation and Cypress migration analysis (Steps 6-7)
Copilot Nov 26, 2025
5f2f0cb
fix: resolve TypeScript errors in atomic-rating-range-facet
Copilot Nov 26, 2025
afe0890
chore: delete Stencil component and pcss file after migration to Lit
Copilot Nov 27, 2025
da5cde5
move component outside facet folder
y-lakhdar Nov 28, 2025
212db8c
fix e2e
y-lakhdar Dec 1, 2025
e750a1e
Merge branch 'main' into copilot/migrate-atomic-rating-range-facet
y-lakhdar Dec 1, 2025
639c147
move snapshots
y-lakhdar Dec 1, 2025
dc47c7c
smoll commit to make the snapshot test pass
y-lakhdar Dec 1, 2025
14e48ee
increase e2e snaposhot pixel threshold
y-lakhdar Dec 1, 2025
c2f167f
remove snapshots
y-lakhdar Dec 1, 2025
8668246
break component on purpose for testing
y-lakhdar Dec 1, 2025
2e06b13
fix e2e
y-lakhdar Dec 1, 2025
b357815
Merge branch 'main' into copilot/migrate-atomic-rating-range-facet
y-lakhdar Dec 1, 2025
bdc5224
update import
y-lakhdar Dec 1, 2025
b21e65b
Merge branch 'copilot/migrate-atomic-rating-range-facet' of github.co…
y-lakhdar Dec 1, 2025
c6e4950
add missing functional component
y-lakhdar Dec 1, 2025
8cf5853
fix maxValueInIndex initial state
y-lakhdar Dec 2, 2025
c6564da
apply corrections
y-lakhdar Dec 2, 2025
613091f
delete cypress tests
y-lakhdar Dec 3, 2025
575fe26
Merge branch 'main' into copilot/migrate-atomic-rating-range-facet
y-lakhdar Dec 3, 2025
5eca9e2
apply comments
y-lakhdar Dec 3, 2025
17b3ead
apply corrections
y-lakhdar Dec 3, 2025
b3448e6
add comment
y-lakhdar Dec 3, 2025
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
6 changes: 4 additions & 2 deletions .github/agents/stencil-to-lit-migration-v2.agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ test.describe('Visual Regression', () => {

const screenshot = await component.captureScreenshot();
expect(screenshot).toMatchSnapshot('component-default.png', {
maxDiffPixelRatio: 0.01,
// Setting maxDiffPixelRatio to 4% to avoid CI test failures due to minor rendering differences across environments
maxDiffPixelRatio: 0.04,
});
});

Expand All @@ -166,7 +167,8 @@ test.describe('Visual Regression', () => {

const screenshot = await component.captureScreenshot();
expect(screenshot).toMatchSnapshot('component-after-interaction.png', {
maxDiffPixelRatio: 0.01,
// Setting maxDiffPixelRatio to 4% to avoid CI test failures due to minor rendering differences across environments
maxDiffPixelRatio: 0.04,
});
});
});
Expand Down
7 changes: 7 additions & 0 deletions packages/atomic-react/src/components/search/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import {
AtomicPager as LitAtomicPager,
AtomicQueryError as LitAtomicQueryError,
AtomicQuerySummary as LitAtomicQuerySummary,
AtomicRatingRangeFacet as LitAtomicRatingRangeFacet,
AtomicRecsInterface as LitAtomicRecsInterface,
AtomicResult as LitAtomicResult,
AtomicResultBadge as LitAtomicResultBadge,
Expand Down Expand Up @@ -173,6 +174,12 @@ export const AtomicQuerySummary = createComponent({
elementClass: LitAtomicQuerySummary,
});

export const AtomicRatingRangeFacet = createComponent({
tagName: 'atomic-rating-range-facet',
react: React,
elementClass: LitAtomicRatingRangeFacet,
});

export const AtomicRecsInterface = createComponent({
tagName: 'atomic-recs-interface',
react: React,
Expand Down
Loading
Loading