New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: UI overhaul #169
feat: UI overhaul #169
Conversation
8c261b6
to
058fb33
Compare
a22aaa6
to
00a43ae
Compare
I'm finding the "Review" colour quite difficult to spot in context: It's also failing the WCAG checks: https://colourcontrast.cc/ffffff/ffd32a There is a slight wiggle on hover on "Review" decorations: I also think the underlines could do with being a bit thicker: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've tested locally in Composer and added a few comments to consider about the appearance and a few CODE suggestions.
a042b52
to
ec4157a
Compare
a1de10c
to
5a829d4
Compare
b644895
to
87cc67a
Compare
e17f59c
to
d281213
Compare
efd36b7
to
532f6cf
Compare
d281213
to
0d2b3ce
Compare
vite.config.ts
Outdated
}) | ||
], | ||
esbuild: { | ||
logOverride: { "this-is-undefined-in-esm": "silent" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sadly necessary for now to ensure that our jsx transforms don't cause warnings in our output.
736c312
to
178083e
Compare
91191c7
to
37286ed
Compare
37286ed
to
5358b75
Compare
815bbde
to
6b29bac
Compare
6f9ac38
to
58e0e82
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have tested this locally and it looks good to me
index.html
Outdated
@@ -7,7 +7,7 @@ | |||
<meta http-equiv="X-UA-Compatible" content="ie=edge" /> | |||
<title>Document</title> | |||
<script type="module" src="./pages/index.ts"></script> | |||
<script src="https://unpkg.com/prosemirror-dev-tools@1.4.0/dist/umd/prosemirror-dev-tools.min.js"></script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason for removing dev tools from the playground env?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No – thanks for spotting! Suspect I was on a high-latency connection and blocked by this script.
A good reminder to add this as a module and remove a networking dependency.
🎉 This PR is included in version 5.15.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
What does this change?
A UI overhaul, including
They're based on this Figma file, with one conscious alteration – I've darkened the orange match colour to
300
to allow the icon colour to remain white in all cases.How to test
These changes mostly concern the UI – there are no new unit tests. See success criteria.
Here's how it looks downstream in Composer, the Guardian's CMS:
To test yourself in Composer, follow the instructions introduced in this PR.
How can we measure success?
Users find the new UI more accessible, the filter options are more clearly signposted, and it's clearer what each match colour means.