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

✨🥗 Marketplace: TaxRate actions support Turbo #1347

Merged
merged 1 commit into from
Apr 11, 2023

Conversation

zspencer
Copy link
Member

I don't know why the get actions and passing as do not play nicely together, but it is annoying as heck.

@zspencer zspencer requested review from anaulin, KellyAH and a team April 11, 2023 02:35
zspencer added a commit that referenced this pull request Apr 11, 2023
- #1347

Pulled out to their own PR
- #1137
- #1338

I don't know why the get actions and passing `as` do not play nicely
together, but it is annoying as heck.
@zspencer zspencer force-pushed the marketplace/turbo-streamify-tax-rates branch from 019a0c1 to cd4b093 Compare April 11, 2023 02:37
@zspencer zspencer added ✨ feature Reduces Client's Burden or Grants them Benefits 🥗 test automation Adds some automated tests. V nutritious. labels Apr 11, 2023
@zspencer zspencer merged commit 81a050a into main Apr 11, 2023
@zspencer zspencer deleted the marketplace/turbo-streamify-tax-rates branch April 11, 2023 03:49
zspencer added a commit that referenced this pull request Apr 11, 2023
* 🌸🥗🛠️✨ `Marketplace`: Tidy up managing `TaxRate`s

- #1137
- #1187

OK this is a bit bigger than it probably should be but I came in like a
wreeeckiin' ball and:

- 🛠️ `Components`: `ApplicationComponent` exposes `policy` and `current_person`
- 🛠️ `Components`: Component Specs have `polymorphic_path`
- 🥗 `Marketplace`: Tested `TaxRate`, `TaxRateComponent` and `TaxRatesController`
- 🌸 `Marketplace`: `TaxRate#edit`, `TaxRate#update`, and
  `TaxRate#destroy` via TurboStreams
- 🌸 `Marketplace`: `TaxRate#index` and `TaxRate#show` are prettier

* ✍️ `Marketplace`: Wordsmith `TaxRate#edit` and `TaxRate#destroy` buttons

- #1137

This makes it so the text of the button is "Edit" and the label for the
button is the fuller text which includes the kind of thing being edited.

* `Marketplace`: Drop the controller changes

- #1347

Pulled out to their own PR
@zspencer zspencer added this to the 1.0 - Andromeda milestone May 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ feature Reduces Client's Burden or Grants them Benefits 🥗 test automation Adds some automated tests. V nutritious.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants