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

fix: Browser Back button not functioning after redirecting to the Analytics page from the Project details page gf-540 #542

Conversation

s1rserg
Copy link
Collaborator

@s1rserg s1rserg commented Sep 25, 2024

  • 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);
Copy link
Collaborator

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

Copy link
Collaborator Author

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.

@s1rserg s1rserg requested a review from liza-veis September 26, 2024 15:40
@liza-veis liza-veis merged commit 4c8d9dd into main Sep 26, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

Successfully merging this pull request may close these issues.

5 participants