Skip to content

Commit

Permalink
🔖(chore) bump release to version 2.14.0
Browse files Browse the repository at this point in the history
Added

- Add a `CourseProductList` Component
- Add a `SaleTunnel` component
- Add an `AddressesManagement` component
- Add a `PaymentButton` component
- Add a `PaymentInterface` component to lazy load the right payment component
  according to the provider used
- Create a `StepBreadcrumb` component to display progress within a step process
- Create a `useStepManager` hook to manage step process
- Create a React `Icon` component that can optionally take alternative text
  for screen reader users.
- Add a heading for screen reader users on the search results page to have a
  more understandable navigation.
- Add new page templates for various multiple columns and their own CSS to
  adjust every possible plugins to fit correctly;
- Add theme variable to change checkmark color.
- Add new placeholder 'excerpt' to Organization detail template
- Add the website's name by default in every page title, that can be changed
  or disabled by overriding the new `site_title` and `site_title_separator`
  blocks
- Add alternative text on course glimpse icons for screen reader users
- On search page, warn screen reader users when the search results change
- On search page, the "clear filters" button now have details on current
  filters for screen reader users
- Add a `__stretched-link` element to the card css block to help make
  screen reader-friendly card links

Changed

- Remove the use of Google Fonts
- Improve overall accessibility in Richie templates
- Move enroll button for the first open course run below the contact block.
  If there are more than one open run, they're all still shown on course
  detail aside block.
- Update frontend overriding system to allow to override any frontend module.
- Improve React search suggestion field labels for screen readers.
- Removed usage of deprecated Sass division '/' operator in favor of
  'math.div'.
- Organization plugin variant 'row' now use excerpt if not empty else the
  description with every markup removed
- Set font size to 1rem on some detail pages contents: Organization
  excerpt, Program body and Person main content
- Use anchors instead of buttons in search pagination to let users open pages
  in new tabs if they want
- Improve the `offscreen` class implementation to prevent potential visual
  issues for sighted user keyboards
- Change how course glimpse anchor is structured (allows text selection
  in the course glimpse + better screen reader user experience)
- Add context for screen reader users on search filters "more options" buttons
- On course page, make the organization image link clearer for
  screen reader users with a better alternative text
- Change how program glimpses HTML is structured to be clearer when using
  a screen reader
- Specify that we are on a course page in the course detail page title
- Remove contact block on course detail page

Fixed

- Clear session cache on login and register
- Make useCourseSearch hook locale sensitive
- Stop using {% blockplugin %} template tags in <header> and replace them by
  simple {% if %} tags that do the same and don't inject frontend editing markup
- Fix `get_placeholder_plugins` when placed in <header> by refactoring and
  introducing new `placeholder_as_plugins` template tag
- Prevent context processor error when WEB_ANALYTICS_ID setting is not defined.
- Fix autocomplete views tests that may failed because of result order.
- Fix section tile title with richtext and special character escaping.
- Change blogpost detail template to display author even in published mode
  except if its placeholder is empty.
- Fix missing styles for Organization plugin 'row' variant link wrapper
- Fix course glimpse layout when organization logo is too narrow
- Fix course run deletion when translation title is empty
- Reordered course glimpse text order in the DOM for better screen reader
  support.
- On course page, make the course title the first thing that is read to
  screen readers (instead of the badges)
- Fix program glimpse heading level being too high on course detail page
- Hide title _To be scheduled_, _Upcoming_, _Ongoing_ and _Archived_ when all
  course runs have catalog visibility `hidden`.
  • Loading branch information
jbpenrath committed Apr 4, 2022
1 parent 7b2b575 commit 88cc197
Show file tree
Hide file tree
Showing 34 changed files with 4,216 additions and 962 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Versioning](https://semver.org/spec/v2.0.0.html).

## [Unrealeased]

## [2.14.0] - 2022-04-01

### Added

- Add a `CourseProductList` Component
Expand Down Expand Up @@ -1607,7 +1609,8 @@ us:
- finish integrating the missing pages and improve the sandbox environment;
- test and polish the use of richie as a django app / node dependency.

[unreleased]: https://github.com/openfun/richie/compare/v2.13.0...master
[unreleased]: https://github.com/openfun/richie/compare/v2.14.0...master
[2.14.0]: https://github.com/openfun/richie/compare/v2.13.0...v2.14.0
[2.13.0]: https://github.com/openfun/richie/compare/v2.12.0...v2.13.0
[2.12.0]: https://github.com/openfun/richie/compare/v2.11.0...v2.12.0
[2.11.0]: https://github.com/openfun/richie/compare/v2.10.0...v2.11.0
Expand Down
49 changes: 49 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,26 @@ $ make migrate

## Unreleased

## 2.13.x to 2.14.x

- New frontend widgets has been added, you have to update stylesheets as follows:
- `_main.scss`
```diff
+ @import 'richie-education/scss/tools/utils';

+ @import '../js/components/AddressesManagement/styles';
+ @import '../js/components/CourseProductCertificateItem/styles';
+ @import '../js/components/CourseProductCourseRuns/styles';
+ @import '../js/components/CourseProductItem/styles';
+ @import '../js/components/PaymentButton/styles';
+ @import '../js/components/RegisteredCreditCard/styles';
+ @import '../js/components/SaleTunnel/styles';
+ @import '../js/components/SaleTunnelStepPayment/styles';
+ @import '../js/components/SaleTunnelStepResume/styles';
+ @import '../js/components/SaleTunnelStepValidation/styles';
+ @import '../js/components/StepBreadcrumb/styles';
...
+ @import './components/templates/richie/multiple-columns';
```

- Only if you have overridden `_palette.scss`:
Expand All @@ -43,10 +53,49 @@ $ make migrate
+ active: $active-scheme,
)
...
+product-item: (
+ base-background: r-color('white'),
+ base-border: r-color('purplish-grey'),
+ light-color: r-color('white'),
+ base-color: r-color('charcoal'),
+ lighter-color: r-color('battleship-grey'),
+ button-color: r-color('white'),
+ button-background: r-color('firebrick6'),
+),
+registered-credit-card: (
+ title-color: r-color('charcoal'),
+ base-color: r-color('purplish-grey'),
+),
...
+shadowed-box: (
+ base-background: r-color('white'),
+ base-shadow: 0 2px 4px rgba(5, 18, 42, 0.19),
+),
...
+steps-breadcrumb: (
+ icon-background-active: r-color(purplish-grey),
+ icon-background: transparent,
+ icon-border-active: transparent,
+ icon-border: r-color('light-grey'),
+ icon-fill-active: r-color('white'),
+ icon-fill: r-color('light-grey'),
+ icon-outline: rgba(r-color(purplish-grey), 0.25),
+ label-color-active: r-color('charcoal'),
+ label-color: r-color('light-grey'),
+ separator-background-active: rgba(r-color(purplish-grey), 0.6),
+ separator-background: rgba(r-color(purplish-grey), 0.25),
+),
+steps-content: (
+ content-color: r-color(purplish-grey),
+ icon-background: r-color(indianred3),
+ icon-color: r-color('white'),
+ icon-big-background: transparent,
+ icon-big-color: r-color('charcoal'),
+ icon-success-background: r-color('mantis'),
+ icon-success-color: r-color('white'),
+ title-color: r-color('charcoal'),
+ subtitle-color: r-color(purplish-grey),
+)
```

- The `get_placeholder_plugins` and `get_page_plugins` template tags were merged in a single
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
;;
[metadata]
name = richie
version = 2.13.0
version = 2.14.0
description = A CMS to build learning portals for open education
long_description = file:README.md
long_description_content_type = text/markdown
Expand Down
Loading

0 comments on commit 88cc197

Please sign in to comment.