Add school grade as an option

Created on 16 June 2023, almost 2 years ago

Problem/Motivation

Add a grade level rating as an option to show along side the regular rating. This should be configurable, globally, as there are different grading systems around the world.

User interface changes

- UI for admin area to change global settings
- Add the ability to turn on/off the grade level to settings form per field
- Add grade level to rating area

API changes

None.

Data model changes

Config additions

✨ Feature request
Status

Active

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States codechefmarc

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @codechefmarc
  • Status changed to Needs review 3 days ago
  • πŸ‡ΊπŸ‡ΈUnited States codechefmarc

    Latest dev version on 1.2.x branch has these and other fixes that are ready for testing:
    https://git.drupalcode.org/project/reading_rating/-/tree/1.2.x?ref_type=...

    • Adds grade level rating - configurable per field and all grade level text can be changed (and translated) in settings
    • Fixes bug in 1.1.1 where sometimes the rating would not update dynamically
    • Reworks HTML output from being rendered in JavaScript to Twig for future enhancements
    • Fixes an issue with the API where custom fields with column names that were not value would not work. See updated API documentation to support fields with custom "value" column names
Production build 0.71.5 2024