Skip to content

Use @vseth/components components

Lukas Möller requested to merge vseth-components into staging

Implements #98 (closed), #71 (closed), #96 (closed), #93 (closed), #37 (closed), #39 (closed), #23, #40 (closed), #95 (closed)

Includes !40 (merged) (and therefore implements #10 (closed))

I reimplemented a majority of the components using functional components and hooks. The general structure wasn't changed.

  • Errors and loading states should always be indicated (loading states are missing in a very few places)
  • I will try to remove all references to glamor as it is deprecated. There are still some inline styles I have to move to emotion.
  • Currently a custom renderer is used as the old one was crashing randomly (probably due to unexpected rerendering)
  • If files / admins / experts are added in the category metadata editor pressing SAVE is now necessary.

TODO:

  • Navbar
  • Login
  • Home
  • Category
  • Feedback
  • Mod Queue
  • Scoreboard
  • Submit Transcript
  • Tutorial (Will probably mostly leave this as it is - I would still prefer an external slideshow instead of integrating it into the SPA)
  • Upload PDF
  • User Info
  • Answers
  • Comments
  • Exam admin tools: metadata editor, add cuts, remove cuts, move cuts
  • notification unread count polling
  • Remove exam in category page
  • Jump to answer
  • Flag as inappropriate
  • Expert endorsement
  • File browser
  • Exam panel buttons
  • Print-only exam / solutions
  • Move styles to emotion
Edited by Lukas Möller

Merge request reports

Loading