Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filters is using Deprecated Sheet #5749

Closed
meganmajewski opened this issue May 9, 2022 · 6 comments
Closed

Filters is using Deprecated Sheet #5749

meganmajewski opened this issue May 9, 2022 · 6 comments
Labels
Bug Something is broken and not working as intended in the system. no-issue-activity

Comments

@meganmajewski
Copy link

meganmajewski commented May 9, 2022

Issue summary

When using the <Filters/> component I get a deprecation notice for <Sheet/>

Expected behavior

should be updated to not include Sheet component. It looks like the error message is disabled here

Actual behavior

Shopify/product-reviews-sample-app#63

Reduced test case

https://github.com/Shopify/product-reviews-sample-app/blob/main/pages/products/index.js#L146

Specifications

  • Are you using the React components? (Y/N): Y
  • Polaris version number: 9.6.0
  • Browser: Chrome 101.0.4951.54
  • Device: M1
  • Operating System: Mac

Or run npx envinfo --system --binaries --browsers --npmPackages react,react-dom,@shopify/polaris to provide specifications on your environment including version numbers, browser, device, and operating system.

Paste the results here:

  System:
    OS: macOS 12.3.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 189.20 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.14.0 - /usr/local/bin/node
    npm: 8.3.1 - /usr/local/bin/npm
  Browsers:
    Chrome: 101.0.4951.54
    Firefox Developer Edition: 97.0
    Safari: 15.4
  npmPackages:
    @shopify/polaris: ^9.6.0 => 9.6.0
    react: ^16.10.1 => 16.14.0
    react-dom: ^16.10.1 => 16.14.0
@meganmajewski meganmajewski added the Bug Something is broken and not working as intended in the system. label May 9, 2022
@ghost
Copy link

ghost commented May 9, 2022

👋 Thanks for opening your first issue. A contributor should give feedback soon. If you haven’t already, please check out the contributing guidelines.

@alex-page
Copy link
Member

Thanks @meganmajewski! This is definitely something on our radar. We hope to replace the filter pattern in the future and remove the sheet entirely from the design system. For now feel free to use it.

@github-actions
Copy link
Contributor

Hi! We noticed there hasn’t been activity on this issue in a while. After 30 days, it will close automatically.

If it’s still relevant, or you have updates, comment and let us know. And don’t worry, you can always re-open later if needed.

@IlyaZha
Copy link

IlyaZha commented May 14, 2023

It's still relevant. @shopify/polaris: 10.49.1

@alex-page
Copy link
Member

Yep. We plan to remove this in v12 of Polaris. Thanks @zhernosekim

Copy link
Contributor

Hi! We noticed there hasn’t been activity on this issue in a while. After 30 days, it will close automatically.

If it’s still relevant, or you have updates, comment and let us know. And don’t worry, you can always re-open later if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken and not working as intended in the system. no-issue-activity
Projects
None yet
Development

No branches or pull requests

4 participants