Open marcoambrosini opened 1 year ago
@marcoambrosini When the viewer is open, could the sidebar just act as if it's also fullscreen? That is, overlap the header, and no gap on right and bottom (and no rounded corners)?
So basically it should look the same as if it's the Files sidebar in the viewer. Note right now the Viewer also overlaps the left part of the sidebar a bit.
It's a bug in text. Viewer is handling the sidebar just fine https://github.com/nextcloud/viewer/issues/1633
Sorry I was still slowly writing the description @skjnldsv, it's not about the width
When the viewer is open, could the sidebar just act as if it's also fullscreen? That is, overlap the header, and no gap on right and bottom (and no rounded corners)?
What about the header though? We'd loose notifications and status setting.
Ok, it seems the Talk sidebar is missing some stuff then We do the sidebar fullscreen on files, the specs have already been defined. :)
https://github.com/nextcloud/server/blob/ea67129b64eaf56f185dda0a1b6a57887021f686/apps/files/src/views/Sidebar.vue#L242 https://github.com/nextcloud/server/blob/ea67129b64eaf56f185dda0a1b6a57887021f686/apps/files/src/views/Sidebar.vue#L481-L490 https://github.com/nextcloud/viewer/blob/c926f1836fd0609945dd2d233b060e874fd0d3f7/src/views/Viewer.vue#L467-L474
I think it would make sense to have this straight as a prop in nc-vue. It's also not really about a discussion on how it should look, as this has been addressed before. But how should the api look like for all Sidebar to be compatible with Viewer imho :)
That could be a very good first step to get rid of this awful looking bug in talk, but it has some drawbacks:
Going forward, could we have both full and non fullscreen options for the viewer+sidebar combo and link them together?