[BUG] Back button does not always behave accurately (redirects to incorrect page) #92

Closed
opened 2022-03-28 07:45:41 +00:00 by glyph · 2 comments
Owner

Bug reported by Maleficient.

Please fill out the sections below.
Be kind and objective when writing in text.
Thanks for the report! :)

Brief description of the bug:

Back arrows sometimes redirects to the wrong place.

Steps to reproduce the bug:

For example, Home -> Peers -> Follows -> [Profile page] -> Back takes you to the home page.

Expected behaviour:

Should redirect to the URL of the page you came from (ie. the previously-visited page).

Technical details:

N/A

Bug reported by Maleficient. > Please fill out the sections below. > Be kind and objective when writing in text. > Thanks for the report! :) **Brief description of the bug:** Back arrows sometimes redirects to the wrong place. **Steps to reproduce the bug:** For example, Home -> Peers -> Follows -> [Profile page] -> Back takes you to the home page. **Expected behaviour:** Should redirect to the URL of the page you came from (ie. the previously-visited page). **Technical details:** N/A
glyph added the
bug
label 2022-03-28 07:45:41 +00:00
Author
Owner

Thinking about how we can implement this...we could keep track of the URL of the previous request and use it to populate the href tag of the back button. The URL could either be stored in application state on the server side or possibly in a cookie that gets updated before each response.

Thinking about how we can implement this...we could keep track of the URL of the previous request and use it to populate the `href` tag of the back button. The URL could either be stored in application state on the server side or possibly in a cookie that gets updated before each response.
glyph added the
peach-web
label 2022-06-14 09:59:16 +00:00
Author
Owner

This has been addressed by #120 and will be further improved once #121 has been merged.

This has been addressed by https://git.coopcloud.tech/PeachCloud/peach-workspace/pulls/120 and will be further improved once https://git.coopcloud.tech/PeachCloud/peach-workspace/pulls/121 has been merged.
glyph closed this issue 2022-06-27 07:31:46 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: PeachCloud/peach-workspace#92
No description provided.