-
Notifications
You must be signed in to change notification settings - Fork 63
[ENG-3243][ENG-3417] Revisions bugfixes #1359
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
[ENG-3243][ENG-3417] Revisions bugfixes #1359
Conversation
Pull Request Test Coverage Report for Build 1496329879
💛 - Coveralls |
| {{#if this.revisions}} | ||
| {{#each this.revisions as |revision index|}} | ||
| <Registries::UpdateDropdown::ListItem | ||
| @onRevisionSelect={{action this.onRevisionSelect dd.close}} |
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.
I tried to do something more simple like @onClick={{dd.close}}, but doing so caused the page to do a full load every time. I don't think this is the best way of closing the dropdown on click, but other attempts have either run into the problem where it does a full app load as opposed to a transition, or doesn't show which revision is the currently selected one (like when using <OsfLink>
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.
Is there any reason why it does a full page load ?
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.
I'm not exactly sure why. I tried messing around with some different approaches, but basically anything that closed the dropdown before the transition finished would trigger a full page load. I'm guessing there's something about how the transition is being called that gets messy when the dropdown is closed, but I couldn't quite figure out how to remedy that.
Purpose
Summary of Changes
Screenshot(s)
Side Effects
QA Notes