For a special use case I want to allow users without an account read and write to chat channels. Therefore I create channels and integrate them via an iframe appending ?layout=embedded.
If the user hit “Talk as anonymous” and enters a username the left rocket.chat sidebar appears, please look at attached animation.
hmm, can’t understand why this should be the expected behavior.
All looks fine with embedded layout and if a user wants to chat left sidebar pops up - why!?
Other question, is there a way to hide some of the menupoints in left sidebar, like “search, directory or create new” button?
The screenshots inside the document are showing all embedded layout without left sidebar. I followed exactly the documentation and embedding works, but clicking with mouse into the iframe the left sidebar appears. So whats going wrong?
I was already aware of your mentioned typo. It’s corrected at my side.
As I wrote in my first post, everything works as expected, layout is displayed in embedded mode.
But If I focus with my mouse the text entry field left sidebar appears.
Up to now I thought this must be a mistake but after player around with rocket.chat features I am unsure. If I start direct messaging with someone else, the person is displayed in left sidebar.
For me, it looks like it is not possible to complete hide left sidebar in rocket.chat!?
Can you confirm my thoughts?
But If I hit my mouse into input message field at the bottom left sidebar appears (see my first post there is a animated GIF inside).
So is this behavior normal or is something wrong?
Meanwhile my thoughts are this is normal, because in left sidebar all “direct chat” partners are listed so there is no way to hide it completely.
I will try to Embed it and try it myself later today or next week.
This is certainly not the expected behavior, as the layout=embedded should avoid the sidebar from showing up, “locking” the rendering to the channel alone.
we are refactoring a lot of UI componentes to REACT, so this may have changed.