Skip to content

Releases: openfun/richie

v2.21.0

22 Mar 08:18
v2.21.0
Compare
Choose a tag to compare

Added

  • Add CourseAddToWishlist button to add/remove a course from users wishlist
  • Added Enrollment's pagination in the dashboard
  • Allow multiple web analytics providers at the same time.
  • Display localizedMessage on Course Enrollment when backend has localizedMessage on the 400 error payload

Fixed

  • Fix form styles to suffix input label with "*" when a select, radio or checkbox input is required
  • Button can be use with a className prop

Changed

  • Rename web analytics providers, from google_analytics to google_universal_analytics. The google_tag_manager now uses the correct gtm.js and the google_tag uses the gtag.js. Replace the multiple web analytics settings with a single WEB_ANALYTICS dict setting. The location logic of web analytics js code has been moved to be inside the web_analytics.html template.
  • For performance reasons the default location for the web analytics js code have been changed from head to footer.
  • Rename product.certificate to certificate_definition due to Joanie API update.
  • Rework frontend file architecture
  • Hide unenroll button on CourseProductItem widget

v2.20.1

22 Feb 10:41
v2.20.1
Compare
Choose a tag to compare

Fixed

  • Fix a style bug on the course glimpse when used in a section
    with variant overriding svg color

v2.20.0

17 Feb 15:23
v2.20.0
Compare
Choose a tag to compare

Added

  • Added DashboardItemOrder that allows to select course runs
  • Add make dbshell cmd to access database in cli
  • Added support for courses-run managed by Joanie
  • Display message to user when product course it is enrolled is not yet started

Fixed

  • Prevent internal server error when course runs sync webhook targets
    a course page having a snapshot

v2.19.0

03 Feb 12:07
v2.19.0
Compare
Choose a tag to compare

Added

  • Display 'pending' label on CourseProductItem when user owns pending order

Changed

  • Improve accessibility by using darker color for info course detail label
  • Update Joanie connection documentation
  • Display error message when CourseProductItem has error

Fixed

  • Fix an issue about CourseProductItem when session state is updated
  • Prevent .icon to shrink in flexbox content

v2.18.0

12 Jan 17:37
v2.18.0
Compare
Choose a tag to compare

Added

  • Allow synchronizing course runs in bulk via the same API hook
  • JoanieBackend to identify course runs managed by Joanie

Changed

  • Migrate to useResources hooks
  • Refactor CourseProductItem as Joanie products are Richie course runs
  • Use versionned Joanie api routes
  • Migrate to React 18 and React-Query v4

Fixed

  • Prevent product course run enrollment when user owns the product
    through an invalid order
  • Display a message in the sales tunnel when at least one course has no course
    runs, to say that this product is not currently available for sale.
  • Show error message when user tries to enroll or unroll to a
    course run and the requests fails
  • Fix courses badges css.
  • Fix style in edit mode on courses with catalog visibility with
    course_only or course_and_search.

Removed

  • Remove CourseProductsList React widget

v2.17.0

28 Oct 13:15
Compare
Choose a tag to compare

Added

  • Add Dashboard router
  • Add generic dashboard component
  • Add dashboard components for Order, Enrollment
  • Add dashboard components for Credit Card management
  • Dashboard addresses management components

Changed

  • Allow editor to enforce inline_ratio and is_automatic_resizing values
    for a lti consumer plugin based on a lti provider
  • Use new Joanie Enrollment resource type
  • Modal component refactor for homogeneous use
  • New global scroll behavior for Modal
  • Add disabled style for inputs
  • Add a visually hidden title on video player iframes, meant to be announced
    to screen reader users
  • Improve sale tunnel accessibility, especially when using a keyboard
    or screen reader

Fixed

  • Fix course run synchronization when no-update fields are declared (broken
    since Richie version 2.15.0)
  • Unlocalize aspect ratio floating value rendered in lti_consumer template
    to always display value with a dot no matter active language
  • Language choices should be ordered alphabetically in course run admin form

v2.16.0

09 Sep 09:52
Compare
Choose a tag to compare

Fixed

  • Add pip requests package for open edx lms backend.
  • Fix several issues about cookiecutter template

Added

  • Display error messages in AddressForm
  • Add dns prefetch and optionally preconnect to media cdn
  • Add StorybookJS to frontend with various existing components.

Changed

  • CKEditor basic configuration should allow to include target on anchors
    for course fields: assessment, format and prerequisites.
  • Allow form messages to go on multiple lines
  • On the search page, improve accessibility of the filters pane when using a
    small screen

v2.15.1

10 Aug 15:23
Compare
Choose a tag to compare

Changed

  • Upgrade to Django CMS 3.11

Fixed

  • Import the missing stylesheet of AddressesManagement component

v2.15.0

23 Jun 08:15
Compare
Choose a tag to compare

Added

  • Get a unique LTI Context per user
  • Add a DashBoard React based view
  • Add API endpoint to search & autocomplete licences
  • Add licences-based filters on course search
  • Add a pace filter on course search

Changed

  • Migrate code and type to comply with the new Joanie API
  • On blogpost detail view, move categories list on the right side
  • Fake authentication interface when using the base api interface
  • Avoid lag experienced by user on logout by not waiting for the logout request
    to succeed
  • Improve Sale Tunnel UX
  • Improve sale tunnel theme overriding
  • Improve html header, menu and footer structure for better keyboard and
    screen reader UX
  • Improve overall accessibility, especially for screen reader users,
    on all content pages: category list, category details, blogpost list,
    blogpost details, program list, program details, organization detail.
  • Use em based media queries instead of px based media queries to fix all
    UI bugs when using the website with a huge text-only zoom
  • Upgrade documentation to use Docusaurus version 2
  • Refactor frontend scss code. Add _index.scss on each folder so the
    _main.scss could be more compact. Add !default to homegrown Richie
    shared scss settings/variables.

Fixed

  • Fix header layout issue when logo height is big
  • Fix components.SaleTunnelStepPayment.userBillingAddressNoEntry misspell
  • Remove z-index of course glimpse icon to fix an overlay issue
  • Fix erratic frontend test failure
  • Allow to configure multiple elasticsearch hosts

Removed

  • PurchasedProductMenu frontend component

v2.14.1

07 Apr 09:25
Compare
Choose a tag to compare

Fixed

  • Preserve query string on language switch
  • Fix search query string formatting
  • Fix a course glimpse title color issue when used within a section with variant