Skip to content

PB-788 : Mobile/tablet help menu section#1028

Merged
pakb merged 3 commits intodevelopfrom
fix-PB-788-help-menu-section
Sep 11, 2024
Merged

PB-788 : Mobile/tablet help menu section#1028
pakb merged 3 commits intodevelopfrom
fix-PB-788-help-menu-section

Conversation

@pakb
Copy link
Contributor

@pakb pakb commented Aug 13, 2024

With lang selector being transformed into an extra button of this new help section

Test link

@github-actions github-actions bot added the bug label Aug 13, 2024
@github-actions github-actions bot changed the title PB-788 : Mobile/tablet help menu section PB-788 : Mobile/tablet help menu section - #patch Aug 13, 2024
@cypress
Copy link

cypress bot commented Aug 13, 2024

web-mapviewer    Run #3277

Run Properties:  status check passed Passed #3277  •  git commit 50b316c9af: PB-788 : add a little CSS trick to circumvent iOS Safari bug
Project web-mapviewer
Branch Review fix-PB-788-help-menu-section
Run status status check passed Passed #3277
Run duration 04m 51s
Commit git commit 50b316c9af: PB-788 : add a little CSS trick to circumvent iOS Safari bug
Committer Pascal Barth
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 21
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 210
View all changes introduced in this branch ↗︎

@pakb pakb force-pushed the fix-PB-788-help-menu-section branch from 4bfbada to de61bf3 Compare August 30, 2024 06:00
@github-actions github-actions bot changed the title PB-788 : Mobile/tablet help menu section - #patch PB-788 : Mobile/tablet help menu section - #minor Aug 30, 2024
@pakb pakb changed the base branch from master to develop August 30, 2024 06:01
@pakb pakb force-pushed the fix-PB-788-help-menu-section branch from de61bf3 to 9dd69d4 Compare August 30, 2024 06:01
@pakb pakb changed the title PB-788 : Mobile/tablet help menu section - #minor PB-788 : Mobile/tablet help menu section Aug 30, 2024
@pakb pakb force-pushed the fix-PB-788-help-menu-section branch from 9dd69d4 to 633b3bc Compare August 30, 2024 06:14
@pakb pakb marked this pull request as ready for review August 30, 2024 06:27
@pakb pakb requested review from ismailsunni, ltkum and ltshb August 30, 2024 06:28
Copy link
Contributor

@ltshb ltshb left a comment

Choose a reason for hiding this comment

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

Did we not discussed to put the version information in a new window called About ? If I remember well we talk to rename the configuration to help as you did, but then in the help section to add a button About which would open a window with the application informations like version, copyright, condition and terms, link to geo.admin.ch etc.
Otherwise the current help view is not very nice, buttons are way too big and some are not recognize as buttons
image

In the help section I would only keep the following buttons

  • Give feedback (only shown on test.map.geo.admin.ch)
  • Report a problem
  • Help
  • About

About open a new modal window with the following informations:

  • app version
  • copyright
  • link to geo.admin.ch
  • link to term and condition
  • link to more information

@pakb
Copy link
Contributor Author

pakb commented Sep 2, 2024

no we didn't discuss that, but that might be a good idea.

Copy link
Contributor

@ltkum ltkum left a comment

Choose a reason for hiding this comment

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

I have not yet made a deep review, but I noticed the tooltips are no longer reactive to language change. If we switch from french to german (for example), the content of the tooltip remains in french.

@pakb
Copy link
Contributor Author

pakb commented Sep 4, 2024

I have not yet made a deep review, but I noticed the tooltips are no longer reactive to language change. If we switch from french to german (for example), the content of the tooltip remains in french.

That's already the case on map.geo.admin.ch and isn't a regression coming from the changes on this PR

@pakb pakb force-pushed the fix-PB-788-help-menu-section branch 3 times, most recently from 4c791bc to da7d1b7 Compare September 6, 2024 10:06
@pakb pakb requested review from ltkum and ltshb September 6, 2024 10:06
@pakb pakb force-pushed the fix-PB-788-help-menu-section branch from da7d1b7 to 0355da9 Compare September 9, 2024 13:17
Copy link
Contributor

@ltshb ltshb left a comment

Choose a reason for hiding this comment

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

Good just some minor remarks

It wasn't handled properly when a child component was declaring the ID itself, the parent MenuTray couldn't access the value of ID.
and add the language button as an extra button of this new section, so that it may be more easily accessed on mobile/touch devices.
select tags are insensitive to `text-align` prop on Safari, very old bug... So using another "technique" to have the text centered

removing/refactoring most component that were previously used in both instances but are now distinct flavors
@pakb pakb force-pushed the fix-PB-788-help-menu-section branch from 0355da9 to 50b316c Compare September 11, 2024 06:44
@pakb pakb merged commit d19c2c5 into develop Sep 11, 2024
@pakb pakb deleted the fix-PB-788-help-menu-section branch September 11, 2024 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants