Skip to content
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

UI redesign: main navigation menu #5513

Open
terpimost opened this issue Oct 2, 2022 · 3 comments
Open

UI redesign: main navigation menu #5513

terpimost opened this issue Oct 2, 2022 · 3 comments
Labels
redesign Belonging to redesign project

Comments

@terpimost
Copy link

terpimost commented Oct 2, 2022

Main navigation menu represented as a bottom bar of actions (looks like tabs). By default we can fit 6 actions without visual labels.
These actions are shortcuts to the open list of root level sections (right side menu button opens it).
In future there might be a feature to allow user to pick which links should be displayed in the bottom bar.

Mocks

Figma frame
image
image

Transition

Menu should slide from the bottom over everything, while backdrop alpha is increasing.
ezgif-5-2e2247f8c5
Open menu animation has a custom easing function:
image
Background transparency could have linear easing.
Closing is "300ms ease in ease out"

Icons

Majority of icons for web and mobile app are from Feather or Google or customized. For mobile app they are usually 24px size, sometimes they are 16px size if they look small, but usually stroke is the same. Stroke is converted to shapes.

I will collect mobile app icons in this Figma page

menu
align-left
at-sign
clock
edit-3
hash-italic
log-out
mail
settings
star
users

smile

log-in

chevron-down

Clarifications

Bottom bar

image

Icons are placed in equally spread width of rectangles. In both themes icon color is `#666699`, active/selected icons is `#000000` in light and `rgba(255, 255, 255, 0.8)` in dark theme.

Top border is a transparent color. The bar background is not transparent
image
image

Backdrop

In the light theme is rgba(0, 0, 0, 0.4) in dark theme is rgba(0, 0, 0, 0.7)
image
image

Menu panel

Light theme:

background: #F2F2F2;
border-radius: 20px 20px 0px 0px;

Dark theme:

background: #222222;
border-radius: 20px 20px 0px 0px;

Organization selection dialog

Light theme:

background: #F2F2F2;
border-radius: 20px;

Dark theme:

background: #222222;
border-radius: 20px;

Organization name

image

image

image

Company name:

font-family: 'Source Sans 3';
font-style: normal;
font-weight: 600;
font-size: 22px;
line-height: 30px;

image

Color of chevron icon is black in light theme and white in the dark theme, 50% transparency

Separator between organization and scrollable menu

image

image

We want to have this separator with gradient from background color to transparent so when scrolled we can see it
image

Menu items container

image

image

image

Cancel button:

height: 38px;
left: 16px;
top: 8px;
background: rgba(121, 121, 134, 0.15);  /* when pressed rgba(121, 121, 134, 0.25) */
border-radius: 7px;

font-family: 'Source Sans 3';
font-style: normal;
font-weight: 600;
font-size: 20px;
line-height: 24px;
/* identical to box height, or 120% */

text-align: center;

In the dark theme:

background: rgba(255, 255, 255, 0.07); /* when pressed rgba(255, 255, 255, 0.17) */
color: rgba(255, 255, 255, 0.8); 

Search field

Light theme:

background: rgba(0, 0, 0, 0.07); /* when pressed rgba(0, 0, 0, 0.17) */
border-radius: 10px;

Dark theme:

background: rgba(255, 255, 255, 0.07); /* when pressed rgba(255, 255, 255, 0.17) */
border-radius: 10px;

image

Light: `rgba(0, 0, 0, 0.5);`, dark: `rgba(255, 255, 255, 0.5);`

image

font-family: 'Source Sans 3';
font-style: normal;
font-weight: 400;
font-size: 19px;
line-height: 26px;
/* identical to box height, or 137% */

color: rgba(0, 0, 0, 0.5); /* in dark theme rgba(255, 255, 255, 0.5);*/

Menu items

image

image

font-family: 'Source Sans 3';
font-style: normal;
font-weight: 400; /* when selected  font-weight: 600; */
font-size: 19px;
line-height: 26px;
/* identical to box height, or 137% */
color: #222222; /* in dark theme:  rgba(255, 255, 255, 0.8); */

selected list item:

background: #FFFFFF; /* in dark theme: rgba(0, 0, 0, 0.23); */
border-radius: 10px;

image

image

Counter

image

background: rgba(102, 102, 153, 0.15);
border-radius: 5px;
padding: 1px 6px 2px;

font-family: 'Source Sans 3';
font-style: normal;
font-weight: 600; /* dark theme: font-weight: 400;*/
font-size: 18px;
line-height: 21px;
/* identical to box height, or 117% */

text-align: right;
font-variant: small-caps;
color: #222222; /* dark theme: rgba(255, 255, 255, 0.8); */

Counters which are not unreads have transparent background:
image
color is the same as in regular counters but opacity: 0.5

@terpimost terpimost added the redesign Belonging to redesign project label Oct 2, 2022
@Syed-Ansar
Copy link

Syed-Ansar commented Oct 5, 2022

Hey @terpimost @alya I would like to work can you assign this issue to me.

@alya
Copy link
Collaborator

alya commented Oct 5, 2022

@Syed-Ansar please pick a "help wanted" issue to work on; I'd recommend focusing on one issue to start with. Thanks!

@alya
Copy link
Collaborator

alya commented Jul 29, 2024

Related: #5497
CZO discussion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
redesign Belonging to redesign project
Projects
None yet
Development

No branches or pull requests

3 participants