Skip to content

refactor(frontend): remove the unused Google People types - #9088

Merged
aglinxinyuan merged 2 commits into
apache:mainfrom
aglinxinyuan:refactor/fe-google-api-response
Oct 24, 2026
Merged

aglinxinyuan merged 2 commits into
apache:mainfrom
aglinxinyuan:refactor/fe-google-api-response

Conversation

@aglinxinyuan

Copy link
Copy Markdown
Contributor

What changes were proposed in this PR?

Deletes frontend/src/app/dashboard/type/google-api-response.ts, a type file nothing imports. −43 lines. There is no behaviour change.

The file exports GooglePeopleApiResponse and its nested Source, Metadata and Photo types. No code, spec, barrel file or path alias references the file or any of them, and no open PR adds an import.

History

Introduced by #1373 (2022-03-02), "Implement Texera User Avatars Featuer", whose user-avatar component called the Google People API
Usage removed by #2457 (2024-03-07), "Fix Google Avatar Display". It removed that call and the import

It has been unused for over two and a half years.

Any related issues, documentation, discussions?

Closes #9085

How was this PR tested?

No new tests; nothing referenced the file.

From frontend/:

  • npx tsc --noEmit -p src/tsconfig.app.json and -p src/tsconfig.spec.json: clean.
  • yarn format:ci: clean.
  • npx ng build: success.

To re-check:

git grep -n -i -e GooglePeopleApiResponse -e google-api-response   # no hits

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

Generated-by: Claude Code (Claude Opus 5.5)

🤖 Generated with Claude Code

Nothing has imported dashboard/type/google-api-response.ts since
apache#2457 removed the user avatar's People API call. Delete the file.
Copilot AI balanced review requested due to automatic review settings October 22, 2026 00:16
@aglinxinyuan aglinxinyuan self-assigned this Oct 22, 2026

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 reached their quota limit.

@aglinxinyuan aglinxinyuan changed the title refactor(frontend): remove the unused GooglePeopleApiResponse types refactor(frontend): remove the unused Google People types Oct 22, 2026
@aglinxinyuan
aglinxinyuan requested a review from kunwp1 October 22, 2026 00:25
@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:

  • No candidates found from git blame history.

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

codecov-commenter commented Oct 22, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.30%. Comparing base (6cfcfb1) to head (6e5532c).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #9088      +/-   ##
============================================
- Coverage     92.34%   92.30%   -0.04%     
+ Complexity     5046     5045       -1     
============================================
  Files          1261     1260       -1     
  Lines         54117    53903     -214     
  Branches       6767     6725      -42     
============================================
- Hits          49973    49757     -216     
- Misses         2485     2486       +1     
- Partials       1659     1660       +1     
Flag Coverage Δ *Carryforward flag
access-control-service 77.38% <ø> (ø) Carriedforward from 6a101ad
agent-service 99.16% <ø> (ø) Carriedforward from 6a101ad
amber 87.31% <ø> (-0.01%) ⬇️ Carriedforward from 6a101ad
computing-unit-managing-service 60.48% <ø> (ø) Carriedforward from 6a101ad
config-service 87.37% <ø> (ø) Carriedforward from 6a101ad
file-service 82.00% <ø> (ø) Carriedforward from 6a101ad
frontend 96.55% <ø> (-0.01%) ⬇️
notebook-migration-service 83.73% <ø> (ø) Carriedforward from 6a101ad
pyamber 98.53% <ø> (-0.05%) ⬇️ Carriedforward from 6a101ad
workflow-compiling-service 72.43% <ø> (ø) Carriedforward from 6a101ad

*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.

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.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

No open issues 🎉

Review effort: Lite

@aglinxinyuan
aglinxinyuan added this pull request to the merge queue Oct 24, 2026
Merged via the queue into apache:main with commit ae25b65 Oct 24, 2026
34 of 36 checks passed
@aglinxinyuan
aglinxinyuan deleted the refactor/fe-google-api-response branch October 24, 2026 06:57
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 GooglePeopleApiResponse type file

4 participants