-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Updated atlaskit components #8423
Conversation
Hi, thanks for your contribution! |
CLA was already signed for this PR -> #7902 |
Not sure if this is appropriate here, but just wanted to say thanks for doing this. I think there are a lot of people holding off on switching because of a lack of ARIA and other accessibility-related concerns, and that seems like a shame. |
Impressive work! We have some AtlasKit overrides so making sure everything is still working as intended may take a bit, but I'm very excited to see this! |
Thanks! Definitely a good idea to do some additional testing. I made sure though that everything is still working as expected (compared against meet.jit.si) but always easy to miss a detail when making such a change. |
I made a quick pass and it's almost there! Things I noticed: "GSM bars" popover is not correctly positioned (then vs now) Remote participant menu is not correctly positioned (then vs now). I think both may have the same root cause. I think in general all overrides in _atlaskit_overrides.scss may need a revisit. |
Tip: due to how large the changes in package-lock are you may want to skip that file until we are ready to merge. |
Ok, looks like I missed some styles in _atlaskit_overrides.scss. I will fix that today and let you know when it's ready. |
Sorry I forgot to reply to this. Let's discuss extra individual items in dedicated PRs once AtlasKit is updated, how does that sound? |
@saghul There was a breaking change in InlineDialog that I missed. This is now fixed too. I'm still working on _atlaskit_overrides.scss to check that every style in there gets applied. This will follow in another commit. |
|
…/jitsi-meet into nic/feat/atlaskit-update
I haven't had the time to take a second look, sorry. What Node / npm version did you use? We use Node 12 and npm 6. @muscat1 can you please check again tomorrow? |
I installed node 15 a few days ago. That wasn't a good idea because they changed the lockfile version for the first time in years. |
Tested the use cases I've mentioned above and they have been addressed, thanks for looking into them! From my perspective, things seem to be in order, unless you can find some other irregularities, @saghul There do seem to be some linting problems, though :D |
Thanks @muscat1, I will look into the linting issues. |
Jenkins please test this please. |
Squashed, rebased and added package-lock in #8480 |
Jenkins please test this please. |
@skolmer The test failures seem "legit", you can check the selenium output on the details link. It says the element is not interactable, but I couldn't figure out why on a quick test. Can you please take a look? |
@saghul Can you point me to the code of the failing selenium test? Maybe it is just because of changed html structure. |
@saghul This is a tricky one. In the old atlaskit checkbox the input field had
left: 50%;
margin: 0px;
opacity: 0;
padding: 0px;
position: absolute;
transform: translate(-50%, -50%);
top: 50%; This is the line that is failing: https://github.com/jitsi/jitsi-meet-torture/blob/master/src/test/java/org/jitsi/meet/test/pageobjects/web/SettingsDialog.java#L215 |
I'm thinking 2 sounds like a good approach here, since it would work with both current and after-your-PR changes, while staying away from more AtlasKit overrides. Thoughts @muscat1 ? |
2 would be |
Tested locally and works fine, mind making a PR to the torture project? |
If you update torture, will that work for the old versions? |
I haven't run the tests against the old version of atlaskit but judging based on the HTML structure it would work. |
Yeah |
Ok, thanks. |
This PR updates all atlaskit dependencies.
This will increase accessibility of jitsi-meet because the new atlaskit components contain required aria attributes and other accessibility improvements. They also improved performance and responsiveness of some components.
If you are confused about the webpack config changes. The atlaskit team missed to add dark theme support to modal dialogs so we are injecting the required props to this component.
If this PR gets accepted we would like to provide an additional PR to complete support of WCAG 2.1 guidelines by fixing accessibility issues that are not related to atlaskit.
To fully match WCAG 2.1 we also need to re-enable focus-lock that was disabled in this commit (3c1f056). This might be possible using a newer feature of the library: theKashey/react-focus-lock#104
Any thoughts about this?