-
Notifications
You must be signed in to change notification settings - Fork 0
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
fix: Browser Back button not functioning after redirecting to the Analytics page from the Project details page gf-540 #542
Conversation
s1rserg
commented
Sep 25, 2024
•
edited
Loading
edited
- Browser Back button is now working after redirecting to the Analytics page on contributor item click.
- Added search preselected for contributor name.
- Fixed activity chart not clickable.
@@ -20,7 +20,15 @@ const useSearchFilters = ({ | |||
: ""; | |||
const [search, setSearch] = useState<string>(searchParameter); | |||
|
|||
const [isInitialLoad, setIsInitialLoad] = useState<boolean>(true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure this works as expected? I was thinking maybe the problem in place where we call navigate? like there different methods for navigation, push, replace etc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works only for the redirection from click on contributor item to analytics page. But for example when user is on contributors page and then clicks on sidebar to get to access management page and tries to click back it doesn't go back. It appears to be related to query parameters. I'm unsure if this qualifies as a bug, as the QA team only mentioned that specific redirection in the ticket, so they may consider the current behavior acceptable for these pages.
…after-redirecting-to-the-analytics-page