Skip to content

refactor(frontend): remove dead ngx-drop-box class - #9142

Open
aglinxinyuan wants to merge 1 commit into
apache:mainfrom
aglinxinyuan:refactor/fe-files-uploader-drop-box
Open

aglinxinyuan wants to merge 1 commit into
apache:mainfrom
aglinxinyuan:refactor/fe-files-uploader-drop-box

Conversation

@aglinxinyuan

Copy link
Copy Markdown
Contributor

What changes were proposed in this PR?

Removes the .ngx-drop-box rule in files-uploader.component.scss and the class attribute that sets it on an <ng-template>. +1/-8 lines. There is no behaviour change. The class sits on an <ng-template>, which Angular never renders as a DOM element, so the rule can never match.

PR
Introduced by the 2024-03 gui import (#2511), earlier history not in this repo
Usage removed by never used (an <ng-template> renders no element)

It has never had an effect.

Any related issues, documentation, discussions?

Closes #9141.

How was this PR tested?

Stylesheet-only deletion. yarn format:ci and npx ng build pass from frontend/.
To re-check: git grep -n "ngx-drop-box" -- frontend/src returns no hits.

Was this PR authored or co-authored using generative AI tooling?

Generated-by: Antigravity (Claude Opus 5.5)

Removes the unused .ngx-drop-box class and selector from files-uploader.component.html and files-uploader.component.scss.
Because <ng-template> renders no DOM element, the class was never attached to any element in the DOM.
Copilot AI balanced review requested due to automatic review settings October 25, 2026 22:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@github-actions github-actions Bot added refactor Refactor the code frontend Changes related to the frontend GUI labels Oct 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Automated Reviewer Suggestions

Based on the git blame history of the changed files, we recommend the following reviewers:

  • Contributors with relevant context: @tanishqgandhi1908
    You can notify them by mentioning @tanishqgandhi1908 in a comment.

@aglinxinyuan
aglinxinyuan requested a review from kunwp1 October 25, 2026 22:41
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.34%. Comparing base (3ba45ee) to head (ae1fcb9).
⚠️ Report is 32 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##               main    #9142    +/-   ##
==========================================
  Coverage     92.33%   92.34%            
  Complexity     5045     5045            
==========================================
  Files          1261     1266     +5     
  Lines         54120    54525   +405     
  Branches       6768     6885   +117     
==========================================
+ Hits          49973    50349   +376     
- Misses         2486     2496    +10     
- Partials       1661     1680    +19     
Flag Coverage Δ *Carryforward flag
access-control-service 77.38% <ø> (ø) Carriedforward from 3ba45ee
agent-service 99.16% <ø> (ø) Carriedforward from 3ba45ee
amber 87.31% <ø> (ø) Carriedforward from 3ba45ee
computing-unit-managing-service 60.48% <ø> (ø) Carriedforward from 3ba45ee
config-service 87.37% <ø> (ø) Carriedforward from 3ba45ee
file-service 82.00% <ø> (ø) Carriedforward from 3ba45ee
frontend 96.49% <100.00%> (-0.07%) ⬇️
notebook-migration-service 83.73% <ø> (ø) Carriedforward from 3ba45ee
pyamber 98.57% <ø> (ø) Carriedforward from 3ba45ee
workflow-compiling-service 72.43% <ø> (ø) Carriedforward from 3ba45ee

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend Changes related to the frontend GUI refactor Refactor the code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove the unused .ngx-drop-box class from the files uploader

3 participants