4149: Improve back navigation from the regions page#4184
Conversation
steffenkleinle
left a comment
There was a problem hiding this comment.
Nice work! Works as expected :)
| "shareQrCodeDescription": "Teile diese Seite einfach, indem du den QR-Code auf einem anderen Gerät scannst.", | ||
| "qrCode": "QR-Code" | ||
| "qrCode": "QR-Code", | ||
| "backToContent": "Zurück zum Inhalt" |
There was a problem hiding this comment.
@ulyanahoy-cloud is Back to content/Zurück zum Inhalt necessary or would a simple Go Back/Zurück be enough? That would save us another translation :)
|
@steffenkleinle I noticed that I need to run |
I think it is always necessary due to the switch to esm in #2404 |
How about we run it once after a |
We could do that, but I think it would not fix your problem. You still need to run it manually after adjusting the translations. |
…placed useRef with useState
2edb0d5 to
316ce40
Compare
@andrew8er mentioned it before here #4093 (comment) and he said that he will implement this step as well in #4166 if I understood correctly |
I'll see how I can implement that. What needs to be run for the translations? |
|
Short Description
Add a visible "Back to content" action on the region selection page (mobile only).
This would provide users with a clear recovery path when they unintentionally open the region selection flow and help them return to the page they were previously reading.
Proposed Changes
window.history.state?.idxreads React Router's current position in the browser history stack.yarn test(It assumes one Jest at the workspace root) so I addedjest.virtualFoldersto vsCode settings.Side Effects
N/A
Checklist
Testing
Resolved Issues
Fixes: #4149