-
Notifications
You must be signed in to change notification settings - Fork 621
[TOOL-3422] Dashboard: Remove unused assets, Add Delete script #6253
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
[TOOL-3422] Dashboard: Remove unused assets, Add Delete script #6253
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6253 +/- ##
=======================================
Coverage 56.86% 56.86%
=======================================
Files 1166 1166
Lines 64523 64523
Branches 5226 5226
=======================================
Hits 36694 36694
Misses 27101 27101
Partials 728 728
*This pull request uses carry forward flags. Click here to find out more. |
5e87e41 to
1d85790
Compare
size-limit report 📦
|
Merge activity
|
<!--
## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"
If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):
## Notes for the reviewer
Anything important to call out? Be sure to also clarify these in your comments.
## How to test
Unit tests, playground, etc.
-->
<!-- start pr-codex -->
---
## PR-Codex overview
This PR focuses on the deletion of numerous unused asset files from the `apps/dashboard/public/assets` directory and introduces a script for managing the deletion of these files.
### Detailed summary
- Deleted multiple unused asset files from various directories in `apps/dashboard/public/assets`.
- Introduced `deleteUnusedAssets.ts` script to handle the deletion of specified files.
- Added functionality to log deleted files and handle errors when files are not found.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
1d85790 to
90428b4
Compare

PR-Codex overview
This PR focuses on deleting numerous unused asset files from the
apps/dashboard/public/assetsdirectory and introduces a new script inapps/dashboard/scripts/deleteUnusedAssets.tsto automate the deletion of specified files.Detailed summary
deleteUnusedAssets.tsscript for automated file deletion.filesToDeletearray to specify which files to delete.deleteFilesfunction to handle file deletion and error logging.