Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

MV-294 Feature/sidebar component (desktop) #136

Merged
merged 9 commits into from
Mar 2, 2023

Conversation

alexmaar
Copy link
Contributor

@alexmaar alexmaar commented Feb 21, 2023

It adds a sidebar component (without chat) on the desktop dimensions. The view when the sidebar is opened and users are pinned is incompatible with Figma design for now. This use case might be handled as a separate task

image

image

vs

image

What's more, on larger screens, the x-axis padding doesn't look good when the sidebar is open. The design for this usecase requires some changes.

image

@alexmaar alexmaar marked this pull request as ready for review February 22, 2023 09:13
@alexmaar alexmaar changed the title MV-294 Feature/sidebar component MV-294 Feature/sidebar component (desktop) Feb 22, 2023
Copy link
Contributor

@pkrucz00 pkrucz00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some UI problems that need to be addressed. Details below

assets/src/features/room-page/components/Sidebar.tsx Outdated Show resolved Hide resolved
assets/src/pages/room/RoomPage.tsx Show resolved Hide resolved
<div
className={clsx(
isSidebarOpen ? "max-w-[300px]" : "max-w-0",
"overflow-hidden transition-all duration-300",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dramatic_zoom.mov

The transition looks fine by itself but it makes a dramatic zoom in on almost every video grid layout. I think it is a little distracting but it should be discussed with others whether we want to leave this animation, make a workaround for this effect or leave it as it is.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's not related to animation but to the change of width that is occupied by the grid.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still think it is strange to look at. Google meet has a very nice animation for that and a very thoughtful design for this. I think we should consider developing something similar in future.

assets/src/pages/room/RoomPage.tsx Show resolved Hide resolved
<section className="flex h-full w-full flex-col">
<section
className={clsx(
"flex h-full w-full self-center justify-self-center 3xl:max-w-[1728px]",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This breaks the change that has just landed on master (#140)

{
id: "chat",
icon: Chat,
hover: isSidebarOpen ? "Close the chat" : "Open the chat",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should think of what to say here, but since we don't have chat this isn't a helpful tooltip. I'd stick to "Close/Open the sidebar" for now

@alexmaar alexmaar merged commit 8828066 into master Mar 2, 2023
@alexmaar alexmaar deleted the feature/sidebar-component branch March 2, 2023 08:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants