Upstream: Dark mode, subtle phrasing & API changes, dependency upgrades
Contains the following upstream changes:
- Dependency updates
- https://gitlab.ethz.ch/vseth/sip-com-apps/community-solutions/-/merge_requests/464
- https://gitlab.ethz.ch/vseth/sip-com-apps/community-solutions/-/merge_requests/465
- https://gitlab.ethz.ch/vseth/sip-com-apps/community-solutions/-/merge_requests/467
- https://gitlab.ethz.ch/vseth/sip-com-apps/community-solutions/-/merge_requests/469
- https://gitlab.ethz.ch/vseth/sip-com-apps/community-solutions/-/merge_requests/470
- https://gitlab.ethz.ch/vseth/sip-com-apps/community-solutions/-/merge_requests/471
- https://gitlab.ethz.ch/vseth/sip-com-apps/community-solutions/-/merge_requests/473
- https://gitlab.ethz.ch/vseth/sip-com-apps/community-solutions/-/merge_requests/475
- https://gitlab.ethz.ch/vseth/sip-com-apps/community-solutions/-/merge_requests/478
- Attempts to fix [Object object] in search results (& its reversion due to bugs)
- Fix API responding with 403 instead of 401 when unauthorized
- Fix minor phrasing / grammar in user profile settings UI
- Dark mode
Contains further Better Informatics-specific commits on top, specifically all related to the new "dark mode" feature.
- Because we don't use a TopHeader (unlike upstream which has two Headers), the color scheme toggle has to be placed on BottomHeader. This led to some icon/background coloring issues that has been fixed.
- Due to our modifications on CategoryCard (hover effects, focus outline, different text layout), we have had to fix some colouring issues caused by the new dark mode.
- Our ShimmerButton component (introduced earlier this year locally) needed some adjustments to work with dark mode.
- Our course-specific knowledge base needed some adjustments to work with dark mode.
- Our modified answer section component needed some adjustments to work with dark mode.
- SegmentedControl's root background color is identical to the page background color in dark mode, making it very difficult to distinguish the element. The color has been changed, and will soon be ported to upstream as a fix.
- The exam cutting snap bar is hardcoded to "black" color, which makes it difficult to see in dark mode. This has been fixed and will soon be ported to upstream as a fix.