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

SolidusAdmin customer picker for order #5462

Merged
merged 12 commits into from
Nov 13, 2023
Merged

SolidusAdmin customer picker for order #5462

merged 12 commits into from
Nov 13, 2023

Conversation

elia
Copy link
Member

@elia elia commented Oct 26, 2023

Summary

for reviewers: most of the initial commits are one-liners, so don't get scared

image image image

Checklist

Check out our PR guidelines for more details.

The following are mandatory for all PRs:

The following are not always needed:

  • 📖 I have updated the README to account for my changes.
  • 📑 I have documented new code with YARD.
  • 🛣️ I have opened a PR to update the guides.
  • ✅ I have added automated tests to cover my changes.
  • 📸 I have attached screenshots to demo visual changes.

@elia elia self-assigned this Oct 26, 2023
@elia elia force-pushed the elia/admin/customer-picker branch 2 times, most recently from 848bff8 to 88ce971 Compare October 30, 2023 15:53
@elia elia force-pushed the elia/admin/customer-picker branch from 88ce971 to 9019ea6 Compare November 8, 2023 18:54
@elia elia force-pushed the elia/admin/customer-picker branch 2 times, most recently from 9181973 to 3085cf7 Compare November 9, 2023 16:53
Copy link

codecov bot commented Nov 9, 2023

Codecov Report

Merging #5462 (de59f4a) into main (378ed49) will decrease coverage by 0.07%.
The diff coverage is 62.85%.

@@            Coverage Diff             @@
##             main    #5462      +/-   ##
==========================================
- Coverage   88.65%   88.58%   -0.07%     
==========================================
  Files         627      629       +2     
  Lines       15037    15061      +24     
==========================================
+ Hits        13331    13342      +11     
- Misses       1706     1719      +13     
Files Coverage Δ
.../components/solidus_admin/orders/show/component.rb 100.00% <ø> (ø)
...dus_admin/orders/show/customer_search/component.rb 100.00% <100.00%> (ø)
...ponents/solidus_admin/ui/forms/search/component.rb 100.00% <100.00%> (ø)
.../solidus_admin/ui/forms/search/result/component.rb 100.00% <100.00%> (ø)
...app/components/solidus_admin/ui/panel/component.rb 100.00% <100.00%> (ø)
.../controllers/solidus_admin/customers_controller.rb 92.85% <83.33%> (-7.15%) ⬇️
...app/controllers/solidus_admin/orders_controller.rb 87.50% <20.00%> (-9.65%) ⬇️
...in/orders/show/customer_search/result/component.rb 0.00% <0.00%> (ø)

📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

The search component becomes more adaptable this way and can be placed
in more ways within or without a panel.

The panel component gained an `actions` slot and updated paddings,
removing the need for the previously used negative margins.
The button that we used initially was to high.
Also make the header and footer sticky.
@elia elia requested a review from rainerdema November 10, 2023 19:10
@elia elia marked this pull request as ready for review November 10, 2023 19:10
@elia elia requested a review from a team as a code owner November 10, 2023 19:10
Copy link
Contributor

@rainerdema rainerdema left a comment

Choose a reason for hiding this comment

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

Amazing work! 👏 (+ The commits are very well organized and clearly structured 🌟)

@elia elia merged commit 6bbb872 into main Nov 13, 2023
8 of 10 checks passed
@elia elia deleted the elia/admin/customer-picker branch November 13, 2023 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants