Uh oh!
There was an error while loading. Please reload this page.
Change sidebar file while changing file in slideshow - #394
Conversation
c726965 to
b931e2eCompareskjnldsv
commented
Feb 24, 2020
Could you add tests please? :) |
784ac6b to
59803cbCompareTest summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
3e1fdda to
dc5c5f5Comparegary-kim
commented
Feb 25, 2020
Tests added for both sidebar image changing and opening viewer with sidebar open. |
Uh oh!
There was an error while loading. Please reload this page.
skjnldsv
commented
Feb 25, 2020
/backport to stable18 |
dc5c5f5 to
904a94cCompareTest summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
Uh oh!
There was an error while loading. Please reload this page.
Signed-off-by: Gary Kim <gary@garykim.dev>
904a94c to
6fc9760Comparegary-kim
commented
Feb 25, 2020
skjnldsv
commented
Feb 25, 2020
Yes, do no commit the screenshots ;) |
skjnldsv
commented
Feb 25, 2020
Great work :) |
Checking that the sidebar does not end up under the modal when the viewer is opened with the sidebar already being opened. |
skjnldsv
commented
Feb 25, 2020
Make sense :) |
The backport to stable18 failed. Please do this backport manually. |
gary-kim
commented
Feb 26, 2020
Backport in #405 |
| * Show sidebar if sidebar is already opened | ||
| */ | ||
| changeSidebar() { | ||
| if (this.sidebarFile !== '') { |
There was a problem hiding this comment.
Eheh, this doesn't check against null or undefined.
Meaning if the sidebar is not available (no OCA.Files.Sidebar) it will still try to open :)
I'll fix in a secondary pr
…e-change Change sidebar file while changing file in slideshow
…e-change Change sidebar file while changing file in slideshow
…e-change Change sidebar file while changing file in slideshow
…e-change Change sidebar file while changing file in slideshow
…e-change Change sidebar file while changing file in slideshow
…e-change Change sidebar file while changing file in slideshow

Closes#380
Change sidebar file when changing file in slideshow.
Also made it so that the sidebar gets opened again when opening the viewer so that the sidebar does not end up under the modal.
Signed-off-by: Gary Kim gary@garykim.dev