36 Commits

Author SHA1 Message Date
Bilal Qamar
6c02962e0d refactor: updated frontend-build & resolved eslint issues 2022-10-26 10:37:57 -03:00
Adolfo R. Brandes
90351083aa Merge pull request #256 from openedx/abdullahwaheed/transifex-languages-list-update
Supported Transifex languages in Makefile
2022-10-20 16:15:57 -03:00
Adolfo R. Brandes
6f75684ad9 Merge pull request #271 from brian-smith-tcril/studio-header-component
refactor: make studio header more flexible
2022-10-20 14:24:44 -03:00
Brian Smith
a54f099d68 refactor: make studio header more flexible 2022-10-19 10:20:10 -04:00
Jenkins
e8a28b09bc chore(i18n): update translations 2022-10-09 16:30:19 -04:00
Jenkins
ab371f1c3a chore(i18n): update translations 2022-10-02 16:30:36 -04:00
Abdullah Waheed
de9eb63b07 feat: added new translations in Makefile and updated all the translations 2022-09-06 20:05:09 +05:00
edx-semantic-release
d06929ca2b chore(i18n): update translations 2022-08-07 16:29:27 -04:00
edx-semantic-release
137701d10c chore(i18n): update translations 2022-05-12 16:05:09 -04:00
Carlos Muniz
c35df7ef60 feat: Add StudioHeader with optional AppMenu (#199)
* 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>
2022-04-21 13:43:37 -04:00
edX Transifex Bot
3ab658ffa0 chore(i18n): update translations 2022-01-23 15:32:36 -05:00
edX Transifex Bot
b90db977a0 chore(i18n): update translations 2022-01-02 15:31:58 -05:00
edX Transifex Bot
0de0a3f07f chore(i18n): update translations 2021-12-19 15:31:34 -05:00
edX Transifex Bot
2f0a07b7eb chore(i18n): update translations 2021-12-08 22:22:31 +05:00
Asad Iqbal
2db0fd5c33 feat: Introduced Learning Course Header in Header MFE. (#133)
Co-authored-by: asadiqbal08 <asad.iqbal@arbisoft.com>
2021-12-02 14:17:17 -05:00
ChrisChV
f2632fb449 feat: Order history item added in user menu
In Header.jsx, the Order history item was added in the user menu using the ORDER_HISTORY_URL environment variable as href.
Environment Variables section in README.rst updated with the description of ORDER_HISTORY_URL.
2021-06-05 10:43:06 -05:00
David Joy
0c58362b49 docs: Updating README with repository details. (#101)
* 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)
2021-05-13 14:57:25 -04:00
uzairr
e84843d83a add skipnav link in header 2021-03-19 14:57:42 +05:00
uzairr
917e748fc5 fix: align logo to left on authn mfe 2021-02-08 13:18:42 +05:00
adeelehsan
9415709b81 fix: logistration renamed to authn 2021-01-28 13:08:25 +05:00
Adeel Ehsan
18dd01d3d2 Revert "logistration renamed to auth n" 2021-01-28 12:52:31 +05:00
adeelehsan
5662e5daa3 logistration renamed to auth n 2021-01-28 12:27:17 +05:00
Waheed Ahmed
7de6ba4381 fix: logistration hide user menu icon on mobile screens (#84)
VAN-227
2020-12-22 13:02:55 +05:00
Adam Stankiewicz
14fe2d9bc6 fix: use LOGO_URL and move to GH actions (#81)
* fix: use LOGO_URL and move to GH actions

* fix: duplicate i18n message id
2020-12-01 09:48:38 -05:00
Waheed Ahmed
78573e30f1 feat: add LOGISTRATION_MINIMAL_HEADER env variable (#75)
The LOGISTRATION_MINIMAL_HEADER environment variable removes the main menu links
from the header. It also removes login/register links from the menu if user
is unauthenticated.
2020-11-23 15:04:20 +05:00
Adam Stankiewicz
ae014d2f24 feat: use logo from config settings, retheme with @edx/brand 2020-11-20 11:20:50 -05:00
Waheed Ahmed
726aff9f8d Revert "modify header for logistration mfe (#73)" (#74)
This reverts commit bb7c5cb39f.
2020-11-18 11:24:13 +05:00
Uzair Rasheed
bb7c5cb39f modify header for logistration mfe (#73)
* modify header for logistration mfe

* Update .gitignore

Co-authored-by: Waheed Ahmed <waheed.ahmed@arbisoft.com>
2020-11-17 20:04:07 +05:00
Adam Butterworth
b503643603 feat: upgrade to frontend-platform (#31)
BREAKING CHANGE: This package now depends on frontend-platform instead of individual runway packages
2019-11-21 17:19:16 -05:00
David Joy
57e05c4d88 Modernize build and fix the anonymous header (#26)
* 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
2019-11-04 09:58:36 -05:00
David Joy
5d77fab8f3 fix: bumping frontend-base version (#15) 2019-10-01 17:50:32 -04:00
David Joy
2a8793d4ac fix: updating frontend-base to 3.0.0 (#7)
Also locking package.json versions and updating associated @edx libraries
2019-09-30 13:59:32 -04:00
David Joy
f9d173462d fix: upgrading to frontend-base 2.0.0 (#3) 2019-09-18 23:17:37 -04:00
Adam Butterworth
fc5b02c28c fix: export i18n messages properly 2019-09-18 09:18:35 -04:00
Adam Butterworth
94b3f19ed5 feat: add i18n pipeline tools 2019-09-17 11:37:26 -04:00
Adam Butterworth
afe6705ba5 fix: initial commit 2019-09-13 16:49:04 -04:00