* refactor: updated frontend-build to bump jest version to v29
* refactor: resolved failing tests
* refactor: updated frontend-build & failing snapshots
* refactor: updated snapshots
* refactor: updated frontend-build to alpha, updated snapshots
* fix: fixed peer deps issues
* refactor: updated frontend-build to the version which has eslint alpha synced with master
* refactor: updated eslintrc
* refactor: updated ci workflow
* feat: updated frontend-build and frontend-platform major versions
* refactor: updated package-lock
* refactor: updated peerDependency as per suggestion
---------
Co-authored-by: Muhammad Abdullah Waheed <abdullah.waheed@arbisoft.com>
* 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>
* 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