✂ ️ UX Paper Cuts 17.4 → Comments & system notes
Below is a list of potential candidates for this milestone based on existing issues. It is not expected to burn down all of these and the UX Paper Cuts team is not limited to this list. If you have suggestions for us please add a comment linking to an issue.
From proposal:
Comments & System notes
- Potentially tweak design (unbox?)
- Remove the mountain of CSS (over 1100 lines
😱 ) and start from scratch
Why?
- Changing anything in
notes.scssis a nightmare. It almost always causes unintentional bugs (so much so that reviewers are often reluctant to merge changes) - We could potentially unbox the design a bit while reducing the tech debt and making it easier to contribute in the future
Plan
Phase 1 --> CSS
- Create new CSS file within
page_bundles/notesfor all the styles we can't use utility classes for - Append
-v2to every unique class you need to use - Use as many Tailwind utility classes as possible
- Try not to nest things too deeply; we don't want to end up in the exact same place at the end of the milestone
😅 - Don't remove anything from
notes.scss(or any of the other existing stylesheets) unless they're only used in the note type you're refactoring and you've already replaced it with a utility class or av2class - Test thoroughly!
Phase 2
- Remove old CSS files, see what breaks, fix it
- Remove all
-v2s from classes
Types of notes
| Note type | Vue/haml | Assignee | Status | Merge request |
|---|---|---|---|---|
| System notes | @annabeldunstone | Rewrite system note CSS (!162639 - merged) | ||
| Work item system notes | @annabeldunstone | Use new CSS file for work items system notes (!163663 - merged) | ||
| System notes on diffs | @annabeldunstone | Done as part of other system note MRs | ||
| Standalone comments | @seggenberger | |||
| Replies | @seggenberger | |||
| Comments on diffs | ||||
| Multiple threads on diffs | ||||
| Pending comments | @annabeldunstone | Refactor draft notes CSS (!163676 - merged) | ||
| Confidential comments | @clavimoniere | |||
| Comments from external participants (Service Desk) | ||||
| Comments with suggestions | ||||
| Legacy notes (commits, snippets, etc) | haml | @annabeldunstone |
Legend:
-
🔧 In progress -
👀 In review -
✅ Merged
Links
- Refactor notes CSS to flexbox (high interest te... (#396749)
- Draft: Unbox activity notes (!135860 - closed)
Julia's issues
-
https://gitlab.com/gitlab-org/gitlab/-/issues/459872+s -
Update prototype for the user test -
Prepare for the user test -
https://gitlab.com/gitlab-org/ux-research/-/issues/3168+s
-
-
Feedback animations (&11500) • Unassigned -
Resolve "Illustrations > Base illustrations" (gitlab-svgs!1090 - merged) • Julia Miocene • 17.4 -
Add EmptyResult vue and rails component (!164368 - merged) • Julia Miocene • 17.4 -
Add ActionCard component to vue (!163919 - merged) • Julia Miocene • 17.4
Chad's issues
The best way to follow Chad's planned work in this milestone is to see this board: https://gitlab.com/gitlab-org/gitlab/-/boards/7319859?assignee_username=clavimoniere&milestone_title=17.4
Edited by Julia Miocene