Skip to content
Snippets Groups Projects
  1. Oct 23, 2023
    • Frank Duncan's avatar
      Start using localization · 109febb7
      Frank Duncan authored
      Mainly for things we need to override.  More to come in later commits
      109febb7
    • Frank Duncan's avatar
      Display row/total score if and only if there is data · 66f2a594
      Frank Duncan authored
      We still need to calculate the score for sorting purposes, but we
      shouldn't display the score when no one had scored it.  Similarly, even
      if there are empty comments and scores in the database for a page, we
      shouldn't display the row at all.
      66f2a594
    • Frank Duncan's avatar
      Fix ots/clients/lfc/torque-tracker#150 · 39937684
      Frank Duncan authored
      BlockLevelPass.php adds <p> tags when there are new lines, even if you
      specify that you are returning straight html that it shouldn't mess with
      (and have set nowiki=>true).  But!  It doesn't do that if there are
      <pre> tags around the text.  And!  It uses string matching to see if
      there's a <pre> tag hanging around, even if it's in the comments.
      
      Since this text is for comments from users, it needs to be exactly as
      they inputted in, without extra things being added, for when they got to
      edit.
      
      This achieves that!
      
      ots/clients/lfc/torque-tracker#150 - Line breaks in Initial Evaluation
          comments turned into `<p>` tags
      39937684
    • Frank Duncan's avatar
      Merge branch 'style-ranked-score-table' into 'main' · ca79b23c
      Frank Duncan authored
      Style ranked score table/page
      
      See merge request !4
      ca79b23c
    • Frank Duncan's avatar
      Fix error where only one user showed up in table · 942436e7
      Frank Duncan authored
      Wrong index check function (for associative array rather than array)
      meant that pages were overwriting each other and the table only showed
      one user score per page.
      942436e7
    • Frank Duncan's avatar
      More gracefully handle rankings with no score · bf80cdac
      Frank Duncan authored
      If there's just a comment, the RankedChoice->getChoice function throws
      a warning (no actualy error) into the logs.  Doing a quick check
      beforehand to make sure the choice actually exists is cleaner.
      bf80cdac
    • Frank Duncan's avatar
      Make default scores 5-1 instead of 4-0 · 50611abe
      Frank Duncan authored
      Small bug that made the scoring a little unintuitive.  Fixes
      ots/clients/lfc/torque-tracker#151
      
      ots/clients/lfc/torque-tracker#151: Scores seem to be 0–4 instead of 1–5
      50611abe
    • Justin Reese's avatar
      d1ae815a
    • Justin Reese's avatar
      Add scoring table resource module · 2ff84614
      Justin Reese authored
      Unsure if this is the correct way to go about this, but, in hopes that
      it is:
      
      - Define `ext.rankedchoice.scoretable` style resource
      - Include it on the RankedScore page
      2ff84614
  2. Oct 21, 2023
  3. Oct 20, 2023
  4. Oct 18, 2023
Loading