Add `frontend_viewable` checkbox to the legacy backend order form
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 5.3k
- Forks
- 1.4k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 62
Description
Currently we are hard coding frontend_viewable: false into the order params in the admin orders controller. What about making this a checkbox on the admin orders screen? Then a customer agent could decide if the order created is visible by the customer or not.
Originally posted by @tvdeyen in https://github.com/solidusio/solidus/issues/6362#issuecomment-3489650281
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with backend/app/controllers/spree/admin/orders_controller.rb at the linked order-parameter handling, then trace the legacy admin order form that submits those parameters. Add the checkbox so an agent can choose customer visibility, and verify that the resulting order receives the selected frontend_viewable value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rails, ruby
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100