Skip to content
Snippets Groups Projects
Commit 0a687782 authored by Anton Kulyk's avatar Anton Kulyk Committed by Reza Lotun
Browse files

Bootstrap collections plugin, add collection types form (#17071)

* Add badge icon

* Add empty PLUGIN_FORM_WIDGETS

* Add empty PLUGIN_COLLECTIONS

* Extract `getWidgetComponent` from FormWidget

* Allow adding EE-only form widgets

* Add `authority_level` field to collections

* Fix SegmentedControl's `value` prop-type

* Specify icon sizes for SegmentedControl's options

* Add FormCollectionAuthorityLevel form widget

* Add `PLUGIN_COLLECTION_COMPONENTS`

* Add CollectionAuthorityLevelIcon

* Move ToggleMobileSidebarIcon out of PageHeading

* Display official badge on collection page

* Add authority level to collections plugin

* Rename `AUTHORITY_LEVELS` to `EE_AUTHORITY_LEVELS`

* Patch collections plugin with EE authority levels

* Fix authority level value for new collection form

* Add `cy.createCollection` command

* Add `describeWithoutToken` Cypress helper

* Test user can manage collection authority level

* Test collection types available only in EE

* Run prettier

* Keep regular collection opts in AUTHORITY_LEVEL

* Fix test comment

* Translate collection type names

* Avoid aliasing regular authority level
parent 96879396
Branches
Tags
No related merge requests found
Showing
with 319 additions and 18 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment