Skip to content

[PB-5819]: feature/add original location column for trash#1951

Merged
xabg2 merged 7 commits into
masterfrom
feature/trash-redesign
May 11, 2026
Merged

[PB-5819]: feature/add original location column for trash#1951
xabg2 merged 7 commits into
masterfrom
feature/trash-redesign

Conversation

@xabg2
Copy link
Copy Markdown
Contributor

@xabg2 xabg2 commented May 8, 2026

Description

Adding a column for trash view called "Original location" where we display the parent folder name to give the user more context.

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

cloudflare-workers-and-pages Bot commented May 8, 2026

Deploying drive-web with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2807ca3
Status: ✅  Deploy successful!
Preview URL: https://10db1584.drive-web.pages.dev
Branch Preview URL: https://feature-trash-redesign.drive-web.pages.dev

View logs

@xabg2 xabg2 marked this pull request as ready for review May 8, 2026 11:29
@xabg2 xabg2 requested review from CandelR and larryrider as code owners May 8, 2026 11:29
Comment on lines +97 to +100
parent?: {
plainName: string;
status: FileStatus;
};
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

we should add the field to the sdk types also?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Not needed as this type is only for trashed items (an EP only used for web - GET /trash/paginated).


{isTrash && (
<div className="block shrink-0 w-date items-center whitespace-nowrap">
<p>{parentFolderName}</p>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I've tested it and I can only see the “parent” field as null in the folders, it doesn't appear in the files, and it always comes back as null.
Is the backend ready yet?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The backend is not merged yet.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The backend has been merged (it will be deployed in ~5 min)

@xabg2 xabg2 requested a review from CandelR May 8, 2026 12:15
larryrider
larryrider previously approved these changes May 11, 2026
CandelR
CandelR previously approved these changes May 11, 2026
@xabg2 xabg2 dismissed stale reviews from CandelR and larryrider via 872797b May 11, 2026 10:32
@xabg2 xabg2 requested review from CandelR and larryrider May 11, 2026 12:11
@sonarqubecloud
Copy link
Copy Markdown

@xabg2 xabg2 merged commit 8f1eb9c into master May 11, 2026
11 checks passed
@xabg2 xabg2 deleted the feature/trash-redesign branch May 11, 2026 14:08
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