Skip to content

Fix Google Avatar Display - #2457

Merged
aglinxinyuan merged 5 commits into
masterfrom
xinyuan-fix-avatar
Mar 7, 2024
Merged

aglinxinyuan merged 5 commits into
masterfrom
xinyuan-fix-avatar

Conversation

@aglinxinyuan

@aglinxinyuan aglinxinyuan commented Mar 7, 2024 •

Copy link
Copy Markdown
Contributor

Fix Google Avatar Display by getting the image URL with Google OAuth instead of deprecated Google People API and store the URL in the MySql Database.

Current databases can be updated with core/scripts/sql/update/10.sql

@aglinxinyuan aglinxinyuan added ddl-change Changes to the TexeraDB DDL fix labels Mar 7, 2024

@Yicong-Huang Yicong-Huang 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.

LGTM. Although I really hope there is a way we do not store user image url.

@aglinxinyuan aglinxinyuan self-assigned this Mar 7, 2024
@aglinxinyuan
aglinxinyuan merged commit 20efa03 into master Mar 7, 2024
@aglinxinyuan
aglinxinyuan deleted the xinyuan-fix-avatar branch March 7, 2024 19:39
yangzhang75 pushed a commit to yangzhang75/texera that referenced this pull request Jun 22, 2026
renovate-bot pushed a commit to renovate-bot/apache-_-texera that referenced this pull request Oct 24, 2026
### 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** | apache#1373 (2022-03-02), "Implement Texera User Avatars
Featuer", whose user-avatar component called the Google People API |
| **Usage removed by** | apache#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 apache#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](https://claude.com/claude-code)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ddl-change Changes to the TexeraDB DDL fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants