Skip to content

Conversation

@xabg2
Copy link
Contributor

@xabg2 xabg2 commented Jan 23, 2026

Description

Implementing the custom hooks that contains the logic for Share Dialog.

Related Issues

Related Pull Requests

Checklist

  • Changes have been tested locally.
  • Unit tests have been written or updated as necessary.
  • The code adheres to the repository's coding standards.
  • Relevant documentation has been added or updated.
  • No new warnings or errors have been introduced.
  • SonarCloud issues have been reviewed and addressed.
  • QA Passed

Testing Process

Additional Notes

@xabg2 xabg2 self-assigned this Jan 23, 2026
@xabg2 xabg2 added the enhancement New feature or request label Jan 23, 2026
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 23, 2026

Deploying drive-web with  Cloudflare Pages  Cloudflare Pages

Latest commit: cf29d11
Status: ✅  Deploy successful!
Preview URL: https://231aa578.drive-web.pages.dev
Branch Preview URL: https://feature-share-dialog-custom.drive-web.pages.dev

View logs

@xabg2 xabg2 marked this pull request as ready for review January 23, 2026 09:04
@xabg2
Copy link
Contributor Author

xabg2 commented Jan 23, 2026

There is duplicated code because some functions are in the main component (Share Dialog) and the custom hooks. It will be resolved in the following PR

interface ShareItemActionsProps {
itemToShare: ItemToShare | null;
isPasswordSharingAvailable: boolean;
dispatch: any;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Add the type :)

@sonarqubecloud
Copy link

@xabg2 xabg2 merged commit 43e17fa into master Jan 27, 2026
9 of 10 checks passed
@xabg2 xabg2 deleted the feature/share-dialog-custom-hooks branch January 27, 2026 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants