Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

menu: add Id option for menu and submenu #206

Merged
merged 1 commit into from
Jul 16, 2020

Conversation

blankoworld
Copy link
Contributor

  • Adds Id option for menu

Co-Authored-by: Bertrand Zuchuat bertrand.zuchuat@rero.ch
Co-Authored-by: Alicia Zangger alicia.zangger@rero.ch
Co-Authored-by: Olivier DOSSMANN git@dossmann.net

Why are you opening this PR?

US1565 Adapt checkout needs some ID in menu for testing purposes.

This commit adds Id option to menu entries.

Code review check list

  • Commit message template compliance.
  • Commit message without typos.
  • File names.
  • Functions names.
  • Functions docstrings.
  • Unnecessary commited files?
  • Extracted translations?

@blankoworld blankoworld requested a review from jma July 13, 2020 15:20
@blankoworld blankoworld marked this pull request as ready for review July 13, 2020 15:20
@iGormilhit iGormilhit added this to the v0.11.0 (rero-ils) milestone Jul 14, 2020
@blankoworld blankoworld self-assigned this Jul 14, 2020
@blankoworld blankoworld force-pushed the doo-#1565-adapt-checkout branch from 514b1d6 to 413b0cd Compare July 14, 2020 08:28
@blankoworld blankoworld requested a review from jma July 14, 2020 08:28
Cypress tests reveals a difficulty to target some menu. If you're in
different languages you cannot use an item description (as
"User"/"Utilisateur").
Cypress gives the possibility to use "id=" in html content to target a
specific item in the menu.
This commit improves menu component to also display "id=" in html
content if the menu entry gives an id parameter.

* Adds Id option for menu

Co-Authored-by: Bertrand Zuchuat <bertrand.zuchuat@rero.ch>
Co-Authored-by: Alicia Zangger <alicia.zangger@rero.ch>
Co-Authored-by: Olivier DOSSMANN <git@dossmann.net>
@blankoworld blankoworld force-pushed the doo-#1565-adapt-checkout branch from 413b0cd to 0caf613 Compare July 14, 2020 08:34
@iGormilhit iGormilhit self-requested a review July 14, 2020 08:48
Copy link

@iGormilhit iGormilhit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commit message approved.

@blankoworld blankoworld requested a review from sebdeleze July 15, 2020 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants