Skip to content

Conversation

chaimann
Copy link
Contributor

@chaimann chaimann commented Jun 27, 2025

Important

Blocked by #6294

Summary

Adds interface to create and update Tax Rates

image image image

Checklist

Check out our PR guidelines for more details.

The following are mandatory for all PRs:

@github-actions github-actions bot added changelog:solidus_core Changes to the solidus_core gem changelog:solidus_admin labels Jun 27, 2025
@chaimann chaimann force-pushed the admin-tax-rates-crud branch from 253c4db to 186a53b Compare June 27, 2025 16:33
@chaimann chaimann changed the title [Admin] tax rates crud [Admin] Create and update tax rates Jun 27, 2025
@chaimann chaimann force-pushed the admin-tax-rates-crud branch 2 times, most recently from e806679 to 7058c2c Compare June 27, 2025 17:29
chaimann added 6 commits June 27, 2025 23:11
This will allow to clean up existing forms and write more concise forms
in the future.
Custom form builder encapsulates all the calls to "render", "component()"
initializations, and assumes some defaults, e.g. if "checked" is not
passed to "f.checkbox" we get it by calling @object.send(method)
Display table cells as links to edit tax rate.
Since "zone" is an optional association, added support when zone is not
present on the record.
@chaimann chaimann force-pushed the admin-tax-rates-crud branch 2 times, most recently from 1cf788b to 151b817 Compare June 30, 2025 10:27
Copy link

codecov bot commented Jun 30, 2025

Codecov Report

Attention: Patch coverage is 86.30137% with 10 lines in your changes missing coverage. Please review.

Project coverage is 92.91%. Comparing base (bbca5cc) to head (151b817).

Files with missing lines Patch % Lines
admin/app/lib/solidus_admin/form_builder.rb 65.51% 10 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6298      +/-   ##
==========================================
+ Coverage   86.65%   92.91%   +6.26%     
==========================================
  Files         521      417     -104     
  Lines       11943     8342    -3601     
==========================================
- Hits        10349     7751    -2598     
+ Misses       1594      591    -1003     

☔ 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.

@chaimann chaimann force-pushed the admin-tax-rates-crud branch from 151b817 to d485f9a Compare June 30, 2025 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant