Skip to content

Conversation

@futa-ikeda
Copy link
Contributor

  • Ticket: [ENG-9753]
  • Feature flag: n/a

Purpose

  • Fix issue where addon provider icon does not show up on User > Settings> Addons > Connected Addons page

Summary of Changes

  • Include icon_url as requested field in included external-storage-services in request to fetch user's authorized accounts

Screenshot(s)

  • Addon logo shown in User > Settings> Addons > Connected Addons page. Note the inclusion of the icon_url attr in the network request
image

Side Effects

QA Notes

getAuthorizedAddons(addonType: string, referenceId: string): Observable<AuthorizedAccountModel[]> {
const params = {
[`fields[external-${addonType}-services]`]: 'external_service_name,credentials_format',
[`fields[external-${addonType}-services]`]: 'external_service_name,credentials_format,icon_url',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Could also be convinced to remove this fields param entirely. Will result in us overfetching stuff from the API, but it may prevent future issues on this page

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants