Skip to content

BB-3777 Add ButtonStyles component

Boros Gábor requested to merge arjun/bb-3777 into master

Created by: arjunsinghy96

Adds a ButtonStyles component extracted out of ButtonCustomizationPage component.

Tickets BB-3777 Gitlab#710

Screenshots: See Gitlab issues

Testing Instructions

  1. Checkout to this branch
  2. Start OCIM backend in vagrant using make run.dev
  3. Start frontend using npm run start --prefix=frontend
  4. Make sure you have a BetaTestApplication with a test user already created. If not visit admin and create appropriate records. Without these the Frontend will not be fully functional.
  5. Visit http://localhost:3000/console/theming/buttons
  6. In react devtools, check that ButtonStyles component is used to display the color pickers collapsible
  7. Update color values and check Button Previews is updated.
  8. Check in django admin that theming changes are reflected in the BetaTestApplication

Merge request reports