Giter VIP home page Giter VIP logo

frontend-app-communications's Issues

[frontend-app-communications] Localization issues

Description

(This is being tracked via openedx/wg-translations#16.)

There have been independent reports of problems with localization related to this MFE, which has been made part of the official Tutor release as of Palm. The main objective here is to find out what the problems are, and then to coordinate fixes.

Report 1

This was first noted on Slack by @sambapete on 2023-08-04. Thread summary:

Report 2

An issue was opened in this repository noting that there doesn't seem to be a Transifex resource for frontend-app-communications.

Solution space

In a separate thread started to coordinate fixing this and other outstanding i18n issues, it was hypothesized that the Jenkins bot responsible for exporting strings to Transifex was not properly set up. Evidence: no commits by edx-transifex-bot to src/i18n.

Assuming this is the only problem, a solution was proposed where instead of trying to hunt down the maintainers of the bot - a recurring issue - frontend-app-communications should be one of the first repositories to work exclusively with https://github.com/openedx/openedx-atlas (as introduced via OEP-58).

The potential downside is that for Quince, and until all repositories are ported to openedx-atlas, translators would have to work with two Transifex projects. However:

  • At least one active Transifex user (@sambapete) noted that that would be acceptable.
  • @OmarIthawi notes that it might be possible to synchronize Transifex projects so translators need not know about the separate projects

Standing questions

Additional references

PRs

  1. OmarIthawi

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to get an update now.

  • fix(deps): update dependency jquery to v3.6.2
  • fix(deps): update dependency @edx/frontend-component-header to v3.6.0
  • chore(deps): update dependency @edx/frontend-build to v12
  • chore(deps): update dependency @testing-library/react to v13
  • chore(deps): update dependency es-check to v7
  • chore(deps): update dependency glob to v8
  • chore(deps): update dependency husky to v8
  • chore(deps): update dependency jest to v29
  • chore(deps): update node.js to v18
  • fix(deps): update dependency @edx/frontend-platform to v3
  • fix(deps): update dependency @edx/paragon to v20
  • fix(deps): update dependency @tinymce/tinymce-react to v4
  • fix(deps): update dependency axios to v1
  • fix(deps): update dependency react-redux to v8
  • fix(deps): update dependency tinymce to v6
  • fix(deps): update font awesome to v6 (major) (@fortawesome/fontawesome-svg-core, @fortawesome/free-brands-svg-icons, @fortawesome/free-regular-svg-icons, @fortawesome/free-solid-svg-icons)
  • fix(deps): update react monorepo to v18 (major) (react, react-dom)
  • fix(deps): update react-router monorepo to v6 (major) (react-router, react-router-dom)

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/ci.yml
  • actions/checkout v2
  • actions/setup-node v2
  • codecov/codecov-action v2
npm
package.json
  • @edx/brand 1.1.0
  • @edx/frontend-component-footer 11.2.1
  • @edx/frontend-component-header 3.5.0
  • @edx/frontend-platform 2.6.2
  • @edx/paragon 19.25.3
  • @edx/tinymce-language-selector 1.1.0
  • @fortawesome/fontawesome-svg-core 1.2.36
  • @fortawesome/free-brands-svg-icons 5.15.4
  • @fortawesome/free-regular-svg-icons 5.15.4
  • @fortawesome/free-solid-svg-icons 5.15.4
  • @fortawesome/react-fontawesome 0.2.0
  • @tinymce/tinymce-react 3.14.0
  • axios 0.27.2
  • classnames 2.3.2
  • core-js 3.26.1
  • jquery 3.6.1
  • popper.js 1.16.1
  • prop-types 15.8.1
  • react 16.14.0
  • react-dom 16.14.0
  • react-redux 7.2.9
  • react-router 5.3.4
  • react-router-dom 5.3.4
  • redux 4.2.0
  • regenerator-runtime 0.13.11
  • tinymce 5.10.7
  • @edx/frontend-build 9.2.2
  • @testing-library/jest-dom 5.16.5
  • @testing-library/react 12.1.5
  • axios-mock-adapter 1.21.2
  • codecov 3.8.3
  • es-check 6.2.1
  • glob 7.2.3
  • husky 7.0.4
  • jest 27.5.1
  • prettier 2.8.1
  • reactifex 1.1.1
  • rosie 2.1.0
nvm
.nvmrc
  • node 16

  • Check this box to trigger a request for Renovate to run again on this repository

Course-id is incorrect when public path is not /

In the navigation compoenet which suppose to link back to instructor tab in the lms

href={`${getConfig().LMS_BASE_URL}/courses/${window.location.pathname.split('/')[2]}/instructor#view-course-info`}

The probelm is; window.location.pathname.split('/')[2] woud return course-id if public path is / the case The typical case of edx, while it would return courses if public path, is something, the case of tutor.

Extra context

window.location.pathname in tutor would equal to /PUBLIC_PATH/courses/cours-id/bulk_email course id is the third index.

While if public is set to / it would equal courses/cours-id/bulk_email course id is the second index.

image

Suggest solution:

  • Use state to get course-id instead of link.
  • Figure out if public path is used, if it's used then get it course by getting the third index instead of the second.

This bug was found while checking this #125.

PRs

  1. open-source-contribution

Node 20 upgrade

Description

See the parent ticket for the general description and motivation, openedx/public-engineering#267. Make sure to follow its recommendations for each step of the process.

Tasks

No Transifex resource!!!

Hi
I couldn't find the frontend-app-communications resource in the transifex. maybe you forgot to add it there?

Upgrade React JS to v17

This repo is currently using React JS v16. We need to upgrade it to React 17 before moving to latest React version(v18).
React 17 doesn’t add any new developer-facing features, so its upgrade might not cause any breaking changes. Our end goal is to upgrade React to v18 but v18 no longer support enzyme, so we are upgrading to React 17 and then we’ll migrate from enzyme.

Epic Link

React 17 upgrade

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.