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

bugfix[DYN-6170]clicking-on-library-category-does-not-navigate-to-respective-category #14313

Conversation

Enzo707
Copy link
Contributor

@Enzo707 Enzo707 commented Aug 24, 2023

Untitled-min

Purpose

This PR fix the navigation to a clicked category within library search results list.

Declarations

Check these if you believe they are true

  • The codebase is in a better state after this PR
  • Is documented according to the standards
  • The level of testing this PR includes is appropriate
  • User facing strings, if any, are extracted into *.resx files
  • All tests pass using the self-service CI.
  • Snapshot of UI changes, if any.
  • Changes to the API follow Semantic Versioning and are documented in the API Changes document.
  • This PR modifies some build requirements and the readme is updated
  • This PR contains no files larger than 50 MB

Release Notes

This PR renames the function that dispatch forward delete event dispatchEvent to eventDispatcher avoiding side effects that prevent navigation to the clicked library category.

Reviewers

@QilongTang

FYIs

@avidit

@QilongTang QilongTang added this to the 2.19.0 milestone Aug 24, 2023
@@ -362,7 +362,7 @@ private void Browser_KeyDown(object sender, KeyEventArgs e)
{
if (e.Key == Key.Delete)
{
_ = ExecuteScriptFunctionAsync(browser, "dispatchEvent");
_ = ExecuteScriptFunctionAsync(browser, "eventDispatcher");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Enzo707 Why the previous name of the function does not work?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@QilongTang It had the same name as javascript dispatchEvent method so it was re-trigged the event twice

@QilongTang QilongTang merged commit 5480180 into DynamoDS:master Aug 24, 2023
@QilongTang
Copy link
Contributor

@Enzo707 Given this is a regression in v2.19, please also cherry-pick to RC2.19.0_master branch

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