Skip to content

Url routing expands current element#244

Merged
wiiitek merged 5 commits intomasterfrom
url-routing-expands-current-element
Apr 23, 2018
Merged

Url routing expands current element#244
wiiitek merged 5 commits intomasterfrom
url-routing-expands-current-element

Conversation

@michaldziubek
Copy link
Copy Markdown
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');

Copy link
Copy Markdown

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
Copy Markdown
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