Skip to content

feat: minimal bar-[INS-4420]#8293

Merged
CurryYangxx merged 6 commits into
developfrom
feat/minimal-bar
Feb 17, 2025
Merged

feat: minimal bar-[INS-4420]#8293
CurryYangxx merged 6 commits into
developfrom
feat/minimal-bar

Conversation

@CurryYangxx

@CurryYangxx CurryYangxx commented Jan 14, 2025

Copy link
Copy Markdown
Member

Changes

  1. add isMinimal state to control different UI
  2. extract the "Online" component because it is at different position when minimal
  3. extract the repeat UserButton and InviteButton component in Header
Screen.Recording.2025-01-15.at.18.02.16.mov

@CurryYangxx
CurryYangxx marked this pull request as draft January 14, 2025 02:45
@CurryYangxx
CurryYangxx requested a review from a team January 15, 2025 10:17
@notjaywu
notjaywu marked this pull request as ready for review January 17, 2025 01:02
@cwangsmv

Copy link
Copy Markdown
Contributor

Nit: User email is truncated when in smaller width window.

Default:
Screenshot 2025-02-12 at 17 49 07

Minimal Bar:
Screenshot 2025-02-12 at 17 48 59

)}
</div>
{!isMinimal && (
<div className="flex gap-[--padding-sm] items-center justify-end p-2">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think we should extract the invite button and user button to standalone components here.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

agree

@CurryYangxx

Copy link
Copy Markdown
Member Author

Nit: User email is truncated when in smaller width window.

Default: Screenshot 2025-02-12 at 17 49 07

Minimal Bar: Screenshot 2025-02-12 at 17 48 59

@cwangsmv Good catch! I updated style, when there is not enough space, the middle column will be compressed.
image

yaoweiprc
yaoweiprc previously approved these changes Feb 13, 2025
@CurryYangxx
CurryYangxx disabled auto-merge February 17, 2025 07:36
@CurryYangxx
CurryYangxx merged commit a3589d9 into develop Feb 17, 2025
@CurryYangxx
CurryYangxx deleted the feat/minimal-bar branch February 17, 2025 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants