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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃寪(lib_components) add the language in the request header #2394

Merged
merged 1 commit into from
Sep 5, 2023

Conversation

AntoLC
Copy link
Contributor

@AntoLC AntoLC commented Sep 1, 2023

Purpose

During an http request, the language sent to the backend was the browser one, we now send the language setted in the app to get some possible backend messages internationalized.

Proposal

Description...

  • Add Accept-Language to the header from the fetchWrapper
  • Tests
Marsha.7.webm

Review

The main changes are here and here.

@AntoLC AntoLC self-assigned this Sep 1, 2023
@AntoLC AntoLC force-pushed the feature/anthony/fetchWrapperAcceptLanguage branch 7 times, most recently from 8ffa619 to 57bf98c Compare September 4, 2023 12:37
@AntoLC AntoLC marked this pull request as ready for review September 4, 2023 12:53
CHANGELOG.md Outdated Show resolved Hide resolved
The language sent to the backend was the browser one, we now send the
the language setted in the app to get the backend messages
internationalized.
@AntoLC AntoLC force-pushed the feature/anthony/fetchWrapperAcceptLanguage branch from 57bf98c to 88b723d Compare September 5, 2023 08:23
@AntoLC AntoLC enabled auto-merge (rebase) September 5, 2023 08:24
@AntoLC AntoLC merged commit 06de1d7 into master Sep 5, 2023
33 of 34 checks passed
@AntoLC AntoLC deleted the feature/anthony/fetchWrapperAcceptLanguage branch September 5, 2023 08:39
lunika added a commit that referenced this pull request Sep 8, 2023
Added

- Add playlist is_claimable attribute
- Add the Accept-Language header to most of the http request (#2394)

Changed

- Replace grommet TextInput by Cunningham Input (#2374)
- Save classroom recording urls in a cache and remove access from db column
lunika added a commit that referenced this pull request Sep 8, 2023
Added

- Add playlist is_claimable attribute
- Add the Accept-Language header to most of the http request (#2394)

Changed

- Replace grommet TextInput by Cunningham Input (#2374)
- Save classroom recording urls in a cache and remove access from db column
lunika added a commit that referenced this pull request Sep 8, 2023
Added

- Add playlist is_claimable attribute
- Add the Accept-Language header to most of the http request (#2394)

Changed

- Replace grommet TextInput by Cunningham Input (#2374)
- Save classroom recording urls in a cache and remove access from db column
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants