* feat: Add StudioHeader with optional AppMenu
StudioHeader is a graft of Header with an additional optional AppMenu.
Some Frontend Apps use Menus in their custom headers to provide more
functionality in their apps. By adding this functionality in
StudioHeader, it will be easier for frontend apps in Studio to adopt
this component without it affecting the main Header component.
* test: Add tests for StudioHeader and AppMenu
* fix: Remove orderHistory
* fix: Remove Responsive components
* fix: Redefine User Menu for Studio
The userMenu in StudioHeader will be used more for Studio related items
such as Studio Home and Studio Maintenance. This requires new messages
and reestablishing the url destinations of these menu items.
* fix: Remove loggedOutItems
* fix: Remove AUTHN_MINIMAL_HEADER items
* fix: Remove unnecessary tests
Anonymous sessions do not exist in the Studio. And Studio is not Mobile
Ready. Tests of these kind are superfluous and have been removed.
* feat: Turn mainMenu into an optional prop
* test: Add test for optional mainMenu prop
* feat: Update snapshots
* fix: Remove ResponsiveContext
* fix: Remove href and update appMenu prop
Dropping the href because having a link that also works as a dropdown
can be mildly confusing. Changing menu (type, href, content ) triplet
to stick to the pattern; so we removed "menu". Also adding brackets around
the triplet. Lastly, updating test and snapshot.
Co-authored-by: Carlos Muniz <cmuniz@trcil.org>
* docs: fleshing out the readme
Making it consistent with frontend-component-footer and much more detailed.
* fix: Removing unused variable, siteName
Also fixing logout URL in development. (We fixed this in a number of other repositories already, but somehow this one snuck through)
* refactor: rename SiteHeader to Header
* build: use frontend-build
* fix: ensure that we can handle anonymous users
* feat: anonymous header works now
Up until now we haven’t had any microfrontends that allowed anonymous usage. The Header was encountering errors rendering in such situations, though it was close. Now it properly shows the Login and Sign Up buttons.
* build: bump version of frontend-build