Skip to content

[PB-4450]: refactor/extract components from Share Dialog#1818

Merged
xabg2 merged 9 commits intomasterfrom
refactor/share-dialog-components
Jan 21, 2026
Merged

[PB-4450]: refactor/extract components from Share Dialog#1818
xabg2 merged 9 commits intomasterfrom
refactor/share-dialog-components

Conversation

@xabg2
Copy link
Contributor

@xabg2 xabg2 commented Jan 20, 2026

Description

Extracting components from the Share Dialog component to organize them.

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 20, 2026
@xabg2 xabg2 added the enhancement New feature or request label Jan 20, 2026
@cloudflare-workers-and-pages
Copy link

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

Deploying drive-web with  Cloudflare Pages  Cloudflare Pages

Latest commit: ed7319a
Status: ✅  Deploy successful!
Preview URL: https://2536e658.drive-web.pages.dev
Branch Preview URL: https://refactor-share-dialog-compon.drive-web.pages.dev

View logs

Copy link
Collaborator

@CandelR CandelR left a comment

Choose a reason for hiding this comment

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

Remember to check the list of description

Comment on lines 7 to 10
userList;
invitedUsers: InvitedUserProps[];
areInvitedUsersLoading: boolean;
user;
Copy link
Collaborator

Choose a reason for hiding this comment

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

missing types

invitedUsers: InvitedUserProps[];
areInvitedUsersLoading: boolean;
user;
openUserOptions: (e: any, user: InvitedUserProps, selectedIndex: number | null) => void;
Copy link
Collaborator

Choose a reason for hiding this comment

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

avoid any always as possible

import { useTranslationContext } from 'app/i18n/provider/TranslationProvider';
import { AccessMode } from '../../types';

export const LoadingState = ({ isLoading }: { isLoading: boolean }) => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

no need to export if is only used in this file

import { Views } from '../types';

interface HeaderProps {
itemToShare;
Copy link
Collaborator

Choose a reason for hiding this comment

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

missing type

@xabg2 xabg2 requested a review from CandelR January 20, 2026 16:36
@sonarqubecloud
Copy link

@xabg2 xabg2 merged commit 0367551 into master Jan 21, 2026
9 of 10 checks passed
@xabg2 xabg2 deleted the refactor/share-dialog-components branch January 21, 2026 10:16
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.

3 participants