Skip to content

Comments

Add filtering to assign modal dialog#6327

Merged
witoszekdev merged 18 commits intomainfrom
eng-1192-add-filtering-modals
Feb 12, 2026
Merged

Add filtering to assign modal dialog#6327
witoszekdev merged 18 commits intomainfrom
eng-1192-add-filtering-modals

Conversation

@witoszekdev
Copy link
Member

@witoszekdev witoszekdev commented Feb 10, 2026

Added filtering by "Model type" to Assign modal dialog.

Refactored AssignContainerRows so that it supports dialog with filters (generic ui used for all "Assign ..." dialogs except products)

CleanShot 2026-02-11 at 16 01 36@2x CleanShot 2026-02-11 at 16 01 32@2x CleanShot 2026-02-11 at 16 01 27@2x

@changeset-bot
Copy link

changeset-bot bot commented Feb 10, 2026

🦋 Changeset detected

Latest commit: 025f0f4

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@codecov
Copy link

codecov bot commented Feb 10, 2026

Codecov Report

❌ Patch coverage is 71.82320% with 51 lines in your changes missing coverage. Please review.
✅ Project coverage is 42.68%. Comparing base (5669ef5) to head (025f0f4).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...lFilters/entityConfigs/ModalPageFilterProvider.tsx 36.84% 12 Missing ⚠️
src/products/views/ProductUpdate/ProductUpdate.tsx 0.00% 11 Missing ⚠️
...ttributeValueDialog/AssignAttributeValueDialog.tsx 25.00% 6 Missing ⚠️
...components/AssignModelDialog/AssignModelDialog.tsx 86.36% 3 Missing ⚠️
src/modeling/views/PageCreate.tsx 0.00% 3 Missing ⚠️
src/modeling/views/PageDetails.tsx 0.00% 3 Missing ⚠️
src/products/views/ProductCreate/ProductCreate.tsx 0.00% 3 Missing ⚠️
...c/products/views/ProductVariant/ProductVariant.tsx 0.00% 3 Missing ⚠️
src/products/views/ProductVariantCreate.tsx 0.00% 3 Missing ⚠️
...ts/AssignContainerDialog/AssignContainerDialog.tsx 95.83% 1 Missing ⚠️
... and 3 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6327      +/-   ##
==========================================
+ Coverage   42.55%   42.68%   +0.13%     
==========================================
  Files        2499     2505       +6     
  Lines       43338    43411      +73     
  Branches    10236    10247      +11     
==========================================
+ Hits        18442    18532      +90     
- Misses      23580    24841    +1261     
+ Partials     1316       38    -1278     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@witoszekdev witoszekdev marked this pull request as ready for review February 11, 2026 16:43
@witoszekdev witoszekdev requested a review from a team as a code owner February 11, 2026 16:43
Comment on lines +66 to +77
const AssignAttributeValueDialog = (props: AssignAttributeValueDialogProps) => {
const {
entityType,
pages,
products,
collections,
categories,
attribute,
initialConstraints,
onFilterChange,
...rest
} = props;
Copy link
Member

Choose a reason for hiding this comment

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

I guess not needed change, maybe we can add some static check or claude rule to pick one of the syntaxes so agents dont try to change that with no reason

@witoszekdev witoszekdev enabled auto-merge (squash) February 12, 2026 10:41
@witoszekdev witoszekdev merged commit 4f81c86 into main Feb 12, 2026
14 checks passed
@witoszekdev witoszekdev deleted the eng-1192-add-filtering-modals branch February 12, 2026 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants