-
Couldn't load subscription status.
- Fork 58
fix(image-editor): open newly created image when closing the image editor #2894
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
Conversation
216bac4 to
48eb0ae
Compare
|
/compile |
8646b0d to
5073730
Compare
5073730 to
72ee207
Compare
| if (fileId) { | ||
| const newParams = window.OCP.Files.Router.params | ||
| newParams.fileId = fileId | ||
| window.OCP.Files.Router.goToRoute(null, newParams, window.OCP.Files.Router.query) |
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.
Does this actually works?
Since it's most likely that the file isn't known to the files app yet, specifying an unknown fileid should warn the current user of a file not found toast
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.
This is added for history/ potential refresh and consistency.
The file is loaded manually in https://github.com/nextcloud/viewer/pull/2894/files#diff-110c577f5691b638686742afb3bc883a4fe999c8ebbfea070ea80c63955c5fc0R665
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.
One comment, otherwise looks good
Cypress tests would be nice
7e6a27a to
1a7319b
Compare
This comment was marked as outdated.
This comment was marked as outdated.
04d4722 to
69c2a27
Compare
This comment was marked as outdated.
This comment was marked as outdated.
b326968 to
1facc5f
Compare
This comment was marked as outdated.
This comment was marked as outdated.
0283d07 to
83cac36
Compare
|
/compile |
|
I'm not sure if the cypress failures are related |
No, but something is broken and I cannot find where it's coming from |
…itor Signed-off-by: Hamza <hamzamahjoubi221@gmail.com>
f23bd81 to
aaed256
Compare
|
/compile |
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
|
/backport to stable31 please |
|
/backport to stable30 please |
Reproduction:
expected behaviour
image2.png is open in viewer