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

feat(sharing): Wip #2694

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

feat(sharing): Wip #2694

wants to merge 4 commits into from

Conversation

@Merkur39 Merkur39 force-pushed the feat/vo-1244 branch 2 times, most recently from abac7b1 to f3d8620 Compare January 15, 2025 09:12
Cozy-client has been updated, allowing us to make
a few optimizations here.

The `forwardFile` function has no place here,
as it is only used on mobile (which is another component).
As we can't display the previously saved password,
we'd like to display a specific placeholder
that improves the UX.

We'll also make sure that the password value is `“”`
and not `undefined` when we deactivate it.
This makes it clear to the stack that we want to delete
the password and not keep it unchanged.
The user can find out as soon as he opens the sharing
modal whether his link sharing is secure,
and see its expiry date.
Now that new attributes such as `expiresAt` and
`password` exist, this has highlighted a bug due to the
fact that the `updateSharingLink` parameter was wrong.
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.

1 participant