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

Fix admin variants table UX #4322

Merged
merged 4 commits into from
Apr 1, 2022

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Mar 30, 2022

Description

The product variants table was lacking some UX. Please read commit messages for further details.

Before

Variants - before

After

Variants - after

Variants - empty result

Checklist:

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have attached screenshots to this PR for visual changes

The search field was visually pushed to the side, because the "with deleted" checkbox was not always visible.
@tvdeyen tvdeyen added UI changelog:solidus_backend Changes to the solidus_backend gem labels Mar 30, 2022
@tvdeyen tvdeyen self-assigned this Mar 30, 2022
@kennyadsl
Copy link
Member

Thanks @tvdeyen! In the After screenshot the error message doesn't look correct:

CleanShot 2022-03-31 at 09 57 52@2x

@tvdeyen
Copy link
Member Author

tvdeyen commented Mar 31, 2022

Thanks @tvdeyen! In the After screenshot the error message doesn't look correct:

CleanShot 2022-03-31 at 09 57 52@2x

Ha, good eyes @kennyadsl! I made the screenshot before fixing it

The "No search results" warning was never displayed, because the table was hidden if no variants were found.

Also make the warning a warning and translate it properly.
@tvdeyen
Copy link
Member Author

tvdeyen commented Mar 31, 2022

@kennyadsl fixed specs

@tvdeyen tvdeyen removed their assignment Mar 31, 2022
@tvdeyen tvdeyen merged commit 094bd7d into solidusio:master Apr 1, 2022
@tvdeyen tvdeyen deleted the fix-admin-variants-table branch April 1, 2022 07:34
@tvdeyen tvdeyen restored the fix-admin-variants-table branch August 16, 2022 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:solidus_backend Changes to the solidus_backend gem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants