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

[Settings v2] Use history back for settings v2 pages navbar #4804

Merged

Conversation

IniZio
Copy link
Contributor

@IniZio IniZio commented Oct 7, 2024

ref DEV-2094

Initially wanted to hide back button when there is no prior history. However window.history.length actually always return all backword + forward navigations.

We cannot reliably check if current page is the last item in the stack

@IniZio IniZio changed the title [TBC] Use history back for settings v2 pages navbar [TBC] [Settings v2] Use history back for settings v2 pages navbar Oct 7, 2024
@IniZio IniZio changed the title [TBC] [Settings v2] Use history back for settings v2 pages navbar [Settings v2] Use history back for settings v2 pages navbar Oct 8, 2024
@louischan-oursky louischan-oursky self-requested a review October 8, 2024 08:28
@louischan-oursky louischan-oursky self-assigned this Oct 8, 2024
@louischan-oursky
Copy link
Collaborator

Build failed.

@IniZio IniZio force-pushed the DEV-2094-settings-back-button branch 3 times, most recently from a8bd639 to e6c49d3 Compare October 8, 2024 09:32
@IniZio IniZio force-pushed the DEV-2094-settings-back-button branch from e6c49d3 to b17bef1 Compare October 9, 2024 03:31
@louischan-oursky louischan-oursky self-requested a review October 9, 2024 10:22
@louischan-oursky louischan-oursky merged commit cd9c255 into authgear:main Oct 9, 2024
7 checks passed
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.

2 participants