Skip to content
Snippets Groups Projects
  1. Jan 04, 2025
  2. Dec 15, 2024
  3. Dec 14, 2024
  4. Dec 10, 2024
  5. Oct 07, 2024
    • Kshitij Sharma's avatar
      Merge !87: Make card hover effect for exam/documents match that of categories · 777b6b38
      Kshitij Sharma authored
      Merges betterinformatics/edinburgh-community-solutions!87. 
      ('yutotakano/consistent-card-design' into 'master')
      
      I personally like the current homepage's hover effects on the category cards, not too jarring but clear enough.
      
      On the contrary, exam cards and document cards had no hover effects, which imo made the page feel a bit stationary and unresponsive to user actions. This MR fixes that (see screenshot below of a hover effect).
      
      In addition, two small features have been implemented:
      - Reduce the content shift on category pages when navigating back from an exam -- this is done by positioning the Loader component absolutely and in the corner instead of in the middle, which previously shifted the whole exam/document list down for a brief moment
      - Easier multi-selection of exams for download -- after ticking one exam for download, you can now click on anywhere on other exams to toggle their selection, instead of aiming at the small checkboxes. This makes it less likely to accidentally navigate to an exam and lose the selection.
      
      ![Screenshot](https://i.imgur.com/OiaHOym.png)
      777b6b38
    • Kshitij Sharma's avatar
      Merge !88: Add a hover on all time data · 62a6bb92
      Kshitij Sharma authored
      Merges betterinformatics/edinburgh-community-solutions!88. 
      ('kshitij/time-hover-fix' into 'master')
      
      Add a hover tooltip on all dates that were previous formatted to be easily readable. 
      
      ![Screenshot_2024-10-07_at_01.04.21](/uploads/30ce2fb6ca6d38bdd22e309da9f5704a/Screenshot_2024-10-07_at_01.04.21.png)
      
      ![Screenshot_2024-10-07_at_01.04.26](/uploads/213739b14a94258bf64da8da8c5eb284/Screenshot_2024-10-07_at_01.04.26.png)
      62a6bb92
    • Kshitij Sharma's avatar
      6635ab4f
  6. Oct 06, 2024
    • Yuto Takano's avatar
      Fix type lint errors in exam cards · a53dcccb
      Yuto Takano authored
      a53dcccb
    • Yuto Takano's avatar
      Reduce layout shift when navigating to category page with cached exams · bf393bcd
      Yuto Takano authored
      When navigating to a category page with the exams cached, the page
      exam section would shift downwards for a few seconds because of a
      Loader component. This was jarring and also prevented you from clicking
      on an exam quickly, despite the data already being there.
      
      This commit moves the loader to an absolute position just to the top
      right of the exam list, akin to how it is done in the home page.
      (Although, unlike the homepage, the exam data is only cached for
      SPA navigations and does not persist across page reloads -- maybe
      it's worth investigating using localstorage cache for exam data too,
      but at that point I feel like we're abusing browser local storage when
      there are other solutions out there)
      bf393bcd
    • Yuto Takano's avatar
      Make card hover effect for exam/documents match that of categories · 84d248c5
      Yuto Takano authored
      This commit also adds a feature where clicking on an exam card
      when you have another exam ticked for download, will toggle the
      ticked state for the clicked card instead of navigating away.
      (This addresses a personal pain point when I want to download
      multiple exams but accidentally click outside of the checkbox,
      losing all selections)
      84d248c5
  7. Sep 23, 2024
  8. Sep 22, 2024
  9. Sep 02, 2024
  10. Aug 11, 2024