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

✨(website) dashboard lives on the website #2135

Merged
merged 18 commits into from
Apr 6, 2023

Commits on Apr 6, 2023

  1. ✨(website) dashboard lives on the website

    Integrate the dashboard live on the website.
    AntoLC committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    3815807 View commit details
    Browse the repository at this point in the history
  2. 🩹(frontend) state.getJwt() instead of state.jwt

    Some occurences were still using state.jwt instead of state.getJwt().
    This commit fixes this.
    AntoLC committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    7201d39 View commit details
    Browse the repository at this point in the history
  3. ⚰️(frontend) remove unused messages

    Some messages were not used inside components. We removed them.
    AntoLC committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    6249014 View commit details
    Browse the repository at this point in the history
  4. 🏷️(frontend) change the jwt type to a more generic one

    The jwt type was specific to the lti token. We had to change it
    to a more generic one to be able to use it with different tokens,
    with the web token in this case.
    We had to get some permissions directly from the ressources instead of
    the jwt, because the jwt didn't have everytime the informations depend
    the token type.
    AntoLC committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    3e6ea23 View commit details
    Browse the repository at this point in the history
  5. 📱(frontend) make the box title of the video info bar responsive

    The box title had responsive problems on smaller screens.
    This commit fixes this issue by making the box title more responsive.
    AntoLC committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    eefb667 View commit details
    Browse the repository at this point in the history
  6. 📱(lib-video) add a tab panel above the live video player on mobile

    Fix: The title was not displayed and editable on mobile.
    Feature: Make a tab panel to switch between the chat, the live
     and the viewers list.
    AntoLC committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    6af85f9 View commit details
    Browse the repository at this point in the history
  7. 📱(frontend) adapt LTI and packages with the new breakpoints

    In standalone_site we had more breakpoints available than in LTI,
    it created some issues with the live dashboard layout.
    This commit adapts the LTI and the packages with the new breakpoints
    and fix the layout issues.
    AntoLC committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    e53ac67 View commit details
    Browse the repository at this point in the history
  8. ✅(lib-video) add missing api mock on VideoWidgetProvider test

    A mock to the video option api call was missing in
    the VideoWidgetProvider test.
    This commit adds it.
    AntoLC committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    6da6f15 View commit details
    Browse the repository at this point in the history
  9. ✅(lib-video) fix missing api mock on pollForLive test

    A mock to https://marsha.education/live.m3u8 was triggered in
    the pollForLive test (Unmatched GET to https://marsha.education/live.m3u8)
    but not capture by fetchMock because of "jest.runOnlyPendingTimers();"
    This commit fixes that.
    AntoLC committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    15df6ed View commit details
    Browse the repository at this point in the history
  10. ✨(front) force xmpp disconnection when unmounting live dashboard

    On the standalone site we must manage chat connection and disconnection
    otherwise the converse client connects one to a xmpp room and never
    disconnects. So when you navigate between several webinars you are still
    seeing the same chat. First we must force chat disconnection when the
    LiveUpdate component is unmounted, we force the user to logout and to
    destroy the existing session. Then, the chat history must be reset to
    not see messages between webinars when a user navigate.
    lunika authored and AntoLC committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    14ef812 View commit details
    Browse the repository at this point in the history
  11. ✨(front) manage chat user useParticipantsStore on disconnect

    On the standalone site, when a user leaves a webinar and disconnects
    from the chat, the useParticipantsStore zustand store is not cleanup and
    the current user is not removed in it. To fix this issue, we save the
    converse user jid in the same store and remove the participant from this
    store using this converse user jid.
    lunika authored and AntoLC committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    e9a97b8 View commit details
    Browse the repository at this point in the history
  12. 💄(website) improve / fix a bit the style of the live video

    Divers style fixes and improvements for the live video.
     - Modal not high enough
     - Icon surperposition issue
     - Button suport sharing
    AntoLC committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    369cf95 View commit details
    Browse the repository at this point in the history
  13. 🚚(website) change route url from lives to webinars

    We changed the route url from /lives to /webinars
    to be more consistent with the rest of the application.
    AntoLC committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    860140e View commit details
    Browse the repository at this point in the history
  14. 📱(frontend) make the classroom box title info bar more responsive

    The box title had responsive problems on smaller screens.
    This commit fixes this issue by making the box title more responsive.
    AntoLC committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    ec0b04e View commit details
    Browse the repository at this point in the history
  15. ✅(lib-video) add React in every test

    To avoid to import unecessary React in every tsx files,
    we add it in the testSetup file.
    AntoLC committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    944f492 View commit details
    Browse the repository at this point in the history
  16. 🎨(marsha-config) mutualize jest testSetup.js

    This file is almost the same for all packages.
    We can mutualize it in marsha-config.
    AntoLC committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    d3e16b2 View commit details
    Browse the repository at this point in the history
  17. 🔥(lib-markdown) remove rollup config

    Forgot to remove the rollup config when I removed the rollup build.
    AntoLC committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    867451e View commit details
    Browse the repository at this point in the history
  18. 📦️(lti) add @babel/preset-react to lti_site

    Add @babel/preset-react to automatically add react to the jsx files
    during the transpilation process.
    AntoLC committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    6639888 View commit details
    Browse the repository at this point in the history