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

fix(NcChip): adjust border radius to new design #5924

Closed
wants to merge 1 commit into from

Conversation

marcoambrosini
Copy link
Contributor

@marcoambrosini marcoambrosini commented Aug 5, 2024

🏚️ Before

Screenshot 2024-08-05 at 18 32 48

🏡 After

Screenshot 2024-08-05 at 18 33 11

@marcoambrosini marcoambrosini self-assigned this Aug 5, 2024
@marcoambrosini marcoambrosini added 3. to review Waiting for reviews enhancement New feature or request design Design, UX, interface and interaction design labels Aug 5, 2024
@susnux
Copy link
Contributor

susnux commented Aug 5, 2024

Should we really do this? The avatar is the main focus of the userbubble, at least from my point of view having it not rounded looks weird because of the now visible corners around the avatar

@@ -190,7 +190,7 @@ const onClose = () => {
<style scoped lang="scss">
.nc-chip {
--chip-size: 24px;
--chip-radius: calc(var(--chip-size) / 2);
--chip-radius: var(--border-radius-small);
Copy link
Contributor

Choose a reason for hiding this comment

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

Does not work as this does not exist on Nextcloud 28 and 29, so the fallback to current design is needed.

@marcoambrosini
Copy link
Contributor Author

Good point @susnux, then let's keep userbubble as is and only change chip

@ShGKme ShGKme added bug Something isn't working and removed enhancement New feature or request labels Aug 6, 2024
@ShGKme ShGKme changed the title Update border radius of chip and user bubble fix(NcChip): adjust border radius to new design Aug 6, 2024
@ShGKme
Copy link
Contributor

ShGKme commented Aug 7, 2024

TBH I also like chips in pills layout more. They are small and often have rounded avatar as user bubble, for example, when they are used to select users.

@marcoambrosini marcoambrosini requested a review from susnux August 12, 2024 13:51
@marcoambrosini
Copy link
Contributor Author

They don't look ok when mixed up with other elements.
Screenshot 2024-08-12 at 15 50 38
Anything else preventing this prom getting in?

@susnux
Copy link
Contributor

susnux commented Aug 31, 2024

TBH I also like chips in pills layout more. They are small and often have rounded avatar as user bubble, for example, when they are used to select users.

Here on github it is pretty the same, GitHub is not rounded, maybe even less than our new design. Yet they use round chips for e.g. issue labels:
image

Here you can see un-rounded UI elements next to the chips:
image

@marcoambrosini
Copy link
Contributor Author

All right, let's close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working design Design, UX, interface and interaction design
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants