Kompakkt / Kompakkt/Repo

Need guidelines for Angular Material menus, dropdowns, autocomplete, etc.

Open
#137 1 comment 0 reactions 0 assignees View on GitHub
cleanup design approved
Dominant language
TypeScript
Stars
17
Forks
2
PR merge metrics
No merged PRs in 30d

Description

We have many points in the application where a menu or something like a drop down is created by Angular material, but the styles for these are not consistent.

**Menu**

The best looking template would be (in my opinion) the style of the menus, for example, when using the triple dot or the account circle:
Image

Image

It's changed from the default Angular Material menu in the following points:
- rounded
- removed paddings
- added colors (customizable)
- font-size 14px and font letter-spacing normal

**Autocomplete (without styles from menu)**

Autocomplete without any styling applied has a different font-size and letter-spacing, and padding on top and bottom.

Search bar:
Image

Metadata persons and institutions:
Image

**Autocomplete (with styles from menu)**

Removing the padding and making the font-size the same as the search bar looks better (in my opinion).

Image

Image

We could theoretically also make the options tighter, to fit more content at once.

Image

**Selection dropdown (without styles from menu)**

Can be seen in visibility dialog and explore filters.

Image

Image

**Selection dropdown (with styles from menu)**

Looks better again (in my opinion), but I don't think changing the height of the options makes sense for these

Image

Image

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named. Start by locating the Angular Material menu, autocomplete, and selection-dropdown usages in the search bar, metadata persons and institutions, visibility dialog, and explore filters. Compare their current styles with the examples and define a consistent result for menus, autocompletes, and selection dropdowns.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
design, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.