Skip to content

Conversation

@marcoambrosini
Copy link
Member

@marcoambrosini marcoambrosini commented Dec 28, 2023

Summary

shared state

Screenshot from 2023-12-28 14-13-36

unshared state

Screenshot from 2023-12-28 14-13-59

TODO

  • ...

Checklist

@skjnldsv
Copy link
Member

Seems like the first icon on your screenshot isn't what is being discussed on the mentioned issue: #40202
I fear we don't use that icon anywhere else :)
image

<template #icon>
<LinkIcon v-if="shareButtonType === Type.SHARE_TYPE_LINK" />
<ShareVariantIcon v-else :size="20" />
<FolderAccountIcon v-if="shareButtonType !== null" />
Copy link
Member

Choose a reason for hiding this comment

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

@jancborchardt shall we lose the share link icon too?

Copy link
Member

Choose a reason for hiding this comment

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

If it’s shared by link, that should be reflected?

Copy link
Member

Choose a reason for hiding this comment

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

I agree, but this PR removes that

Copy link
Member Author

Choose a reason for hiding this comment

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

@jancborchardt we said in yesterday's design review that we're not going to use this icon in iOS in favor of the native one. I think that in line with that, we should use the material folder-shared icon that @szaimen proposed in the issue both in the web interface and in the android apps.

@skjnldsv skjnldsv added bug feature: files papercut Annoying recurring UX issue with possibly simple fix. design Design, UI, UX, etc. and removed enhancement labels Dec 28, 2023
@marcoambrosini
Copy link
Member Author

marcoambrosini commented Dec 29, 2023

Seems like the first icon on your screenshot isn't what is being discussed on the mentioned issue: #40202

I see now that @jancborchardt refers to the folder with the link in it. I think that the folder-share material design icon is more appropriate, both here and in the files list.

@jancborchardt
Copy link
Member

@marcoambrosini @skjnldsv let’s indeed focus on the issue at hand here to prevent creating deadlocks like these. :)

This icon https://fonts.google.com/icons?selected=Material%20Icons%3Aperson_add_alt_1%3A communicates both "Share" and "Add to share", so it can be used in both unshared and shared state, which we currently do not separate in the breadcrumbs either.

type="tertiary"
@click="openSharingSidebar">
<template #icon>
<LinkIcon v-if="shareButtonType === Type.SHARE_TYPE_LINK" />
Copy link
Contributor

Choose a reason for hiding this comment

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

this should probably be restored?

Copy link
Member

Choose a reason for hiding this comment

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

@marcoambrosini
Copy link
Member Author

let’s indeed focus on the issue at hand

The issue at hand proposes the usage of this new icon @jancborchardt

which we currently do not separate in the breadcrumbs either.

We currently have separate states in the breadcrumbs icon, just with a worse logic. A different icon is shown only if the folder is shared by link. No distinction is made between unshared and shared without link.
I think it's just better to distinguish between shared and not shared.
Ref #40192

@jancborchardt
Copy link
Member

So as @skjnldsv said, we don’t use the proposed icon anywhere. What we do use is these ones:
image
image

The core issue is mainly that in the breadcrumbs we still use the "triangle" share icon, and that needs to be replaced. If we discuss more than that then it will of course lead to unnecessary discussion and block a simple fix as this → so let’s keep the matters separate.

@jancborchardt
Copy link
Member

Moving assignment from @marcoambrosini to @szaimen as discussed in the design team call. :)

@szaimen
Copy link
Contributor

szaimen commented Feb 7, 2024

Superceded by #43433

@szaimen szaimen closed this Feb 7, 2024
@szaimen szaimen deleted the feature/40202/fix-sharing-con branch February 7, 2024 13:25
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 design Design, UI, UX, etc. feature: files papercut Annoying recurring UX issue with possibly simple fix.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

adjust icon of shared state in broadcrumb

5 participants