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: added frontend proxy, added translation logic for weblate to i18n #990

Merged
merged 2 commits into from
Jan 25, 2024

Conversation

web-mi
Copy link
Contributor

@web-mi web-mi commented Jan 19, 2024

Fixes #

Proposed Changes

@web-mi web-mi force-pushed the OB-TranslationBackend branch from 7f7bd1f to 40f2679 Compare January 19, 2024 14:30
Copy link

what-the-diff bot commented Jan 19, 2024

PR Summary

  • Updated NodeJS and Weblate Configuration
    Various configuration files linked to NodeJS and Weblate have been modified, including the introduction of new configurations for these tools.

  • Improved Code and Build Process
    The Docker file, along with several configuration files have been modified to make the code more efficient and improve the build-up process.

  • Updated and Added New Dependencies
    The versions of several dependencies have been updated, along with the addition of new ones, which includes development and functional dependencies.

  • Developed Frontend Node.js Proxy Layer
    New files have been added to set up and manage a frontend Node.js proxy layer, which includes details of package dependencies and various scripts.

  • Modified UI Component Files
    Different User Interface components have been updated to interact with newly created contexts.

  • Added New Global States
    Global states have been incorporated to handle user data and locale information.

  • Updated Locale Support
    The LocaleProvider.tsx has been updated to support multiple languages with the aid of the settings.weblate parameter.

  • Import Updates in Various Providers
    Providers such as RocketChatUnreadProvider.tsx and UserDataProvider.tsx have updated their imports for UserDataContext

  • Changed Structure for Translation Resources
    The structure and location of translation resource files have been modified in i18n.ts.

  • Proxy Setup
    A new file setupProxy.js has been added that will help configure the interaction of the application with the internet.

  • URL Parameters Handling
    The useUrlParamsLoader.tsx has been updated for improved handling URLs.

@web-mi web-mi force-pushed the OB-TranslationBackend branch 14 times, most recently from 1c90ec7 to b0edd78 Compare January 24, 2024 00:51
Copy link
Contributor

@janrembold janrembold left a comment

Choose a reason for hiding this comment

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

Great job! 🚀

Sind alles nur Kleinigkeiten und aus der SonarCloud ebenfalls....

cypress/e2e/tokens.cy.ts Outdated Show resolved Hide resolved
proxy/routes/weblate.js Show resolved Hide resolved
proxy/routes/weblate.js Show resolved Hide resolved
proxy/routes/weblate.js Show resolved Hide resolved
proxy/server.js Show resolved Hide resolved
src/components/overlay/overlay.styles.scss Show resolved Hide resolved
src/components/profile/profile.styles.scss Show resolved Hide resolved
src/components/select/select.styles.scss Show resolved Hide resolved
src/resources/scripts/endpoints.ts Show resolved Hide resolved
@web-mi web-mi force-pushed the OB-TranslationBackend branch 13 times, most recently from 25aaba2 to b6c018f Compare January 25, 2024 02:57
@web-mi web-mi force-pushed the OB-TranslationBackend branch 8 times, most recently from ab993af to 315557f Compare January 25, 2024 12:53
@web-mi web-mi force-pushed the OB-TranslationBackend branch from 315557f to c4a55c6 Compare January 25, 2024 12:55
@web-mi web-mi marked this pull request as ready for review January 25, 2024 14:29
@web-mi web-mi force-pushed the OB-TranslationBackend branch from c4a55c6 to 21e2b5e Compare January 25, 2024 14:31
@web-mi web-mi force-pushed the OB-TranslationBackend branch from 21e2b5e to c25393d Compare January 25, 2024 14:35
Copy link

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

5 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@web-mi web-mi merged commit 10fe114 into develop Jan 25, 2024
8 checks passed
@web-mi web-mi deleted the OB-TranslationBackend branch January 25, 2024 14:47
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.

3 participants