Skip to content
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

chore: remove axios dependency #2458

Merged
merged 1 commit into from Jan 5, 2024
Merged

Conversation

mstykow
Copy link
Collaborator

@mstykow mstykow commented Jan 4, 2024

Summary of changes

  • replace last remaining axios usage with fetch API
  • simplify logic and tests for UpdateAppPopup
  • extract common spinner

Context and reason for change

There is no need for a library to do our fetching since we can use the fetch API. Some parts of the app already use the fetch API and this PR makes sure that all remaining requests also do so now.

How can the changes be tested

Check that the "update app popup" still works as expected, i.e., shows message to download new release.

- replace last remaining axios usage with fetch API
- simplify logic and tests for UpdateAppPopup
- extract common spinner

Signed-off-by: Maxim Stykow <maxim.stykow@tngtech.com>
@mstykow mstykow force-pushed the chore-remove-axios-dependency branch from 15bf088 to 59396a0 Compare January 5, 2024 11:37
@mstykow mstykow merged commit a32ef0e into main Jan 5, 2024
5 checks passed
@mstykow mstykow deleted the chore-remove-axios-dependency branch January 5, 2024 15:23
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.

None yet

2 participants