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

Url routing expands current element #244

Merged
merged 5 commits into from
Apr 23, 2018

Conversation

michaldziubek
Copy link
Contributor

As a result of this change - side panel will be scrolled now to the element which is being navigated to via url.

Description

Whenever user navigates to report using url that leads to specific test/url, sidepanel will be scrolled to it's position.

Motivation and Context

Previously, user didn't know where the currently opened test/url is located on side panel and had to find it manually.

Screenshots (if appropriate):

2018-04-20_12h52_13

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

I hereby agree to the terms of the AET Contributor License Agreement.

$parentElement.click();
performScroll($parentElement);
$reportGroup.addClass('is-expanded');

Choose a reason for hiding this comment

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

intentional blank line?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nope, missed that. Thanks!

@wiiitek wiiitek merged commit d98535f into master Apr 23, 2018
@wiiitek wiiitek deleted the url-routing-expands-current-element branch April 23, 2018 07:56
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.

5 participants