Skip to content
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

Set disabled items to use disabled property #7342

Merged
merged 8 commits into from
Jan 26, 2024
Merged

Conversation

charlesh88
Copy link
Contributor

@charlesh88 charlesh88 commented Jan 5, 2024

Closes #7322

  • New CSS for aria-disabled = true property.
  • Changed multiple items to use aria-disabled instead of .disabled, including:
    • Action menu
    • Super menu
    • Notebook drag area
    • Create button
  • Tree item style modded to only italicize when is-navigated and is being edited.

Describe your changes:

All Submissions:

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Is this change backwards compatible? For example, developers won't need to change how they are calling the API or how they've extended core plugins such as Tables or Plots.

Author Checklist

  • Changes address original issue?
  • Tests included and/or updated with changes?
  • Has this been smoke tested?
  • Have you associated this PR with a type: label? Note: this is not necessarily the same as the original issue.
  • Have you associated a milestone with this PR? Note: leave blank if unsure.
  • Is this a breaking change to be called out in the release notes?
  • Testing instructions included in associated issue OR is this a dependency/testcase change?

Reviewer Checklist

  • Changes appear to address issue?
  • Reviewer has tested changes by following the provided instructions?
  • Changes appear not to be breaking changes?
  • Appropriate automated tests included?
  • Code style and in-line documentation are appropriate?

- New CSS for `aria-disabled = true` property.
- Changed multiple items to use aria-disabled instead of .disabled, including:
  - Action menu
  - Super menu
  - Notebook drag area
- Tree item style modded to only italicize when is-navigated and is being edited.
- New CSS for `aria-disabled = true` property.
- Changed multiple items to use aria-disabled instead of .disabled, including:
  - Action menu
  - Super menu
  - Notebook drag area
- Tree item style modded to only italicize when is-navigated and is being edited.
- Create button sets itself to `disabled` when the editor is in use.
- Create button now _actually_ sets itself to `aria-disabled` when the editor is in use.
- CSS removes selector for `.is-editing`.
@charlesh88 charlesh88 marked this pull request as ready for review January 5, 2024 00:24
Copy link

deploysentinel bot commented Jan 5, 2024

Current Playwright Test Results Summary

✅ 172 Passing - ⚠️ 7 Flaky

Run may still be in progress, this comment will be updated as current testing workflow or job completes...

(Last updated on 01/05/2024 12:35:07am UTC)

Run Details

Running Job e2e-stable on CircleCI

Commit: c7cbf05

Started: 01/05/2024 12:29:00am UTC

⚠️ Flakes

📄   functional/plugins/tabs/tabs.e2e.spec.js • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Tabs View Renders tabbed elements
Retry 1Initial Attempt
0% (0) 0 / 51 runs
failed over last 7 days
49.02% (25) 25 / 51 runs
flaked over last 7 days

📄   functional/plugins/plot/logPlot.e2e.spec.js • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Log plot tests Log Plot ticks are functionally correct in regular and log mode and after refresh
Retry 1Initial Attempt
1.67% (1) 1 / 60 run
failed over last 7 days
21.67% (13) 13 / 60 runs
flaked over last 7 days

📄   functional/plugins/conditionSet/conditionSet.e2e.spec.js • 3 Flakes

Top 1 Common Error Messages

null

3 Test Cases Affected

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Condition Set CRUD Operations on @localStorage Condition set object properties persist in main view and inspector @localStorage
Retry 1Initial Attempt
5.66% (3) 3 / 53 runs
failed over last 7 days
9.43% (5) 5 / 53 runs
flaked over last 7 days
Condition Set CRUD Operations on @localStorage condition set object can be modified on @localStorage
Retry 1Initial Attempt
-11.11% (-5) -5 / 45 runs
failed over last 7 days
11.11% (5) 5 / 45 runs
flaked over last 7 days
Condition Set CRUD Operations on @localStorage condition set object can be deleted by Search Tree Actions menu on @localStorage
Retry 1Initial Attempt
-11.11% (-5) -5 / 45 runs
failed over last 7 days
11.11% (5) 5 / 45 runs
flaked over last 7 days

📄   functional/plugins/notebook/restrictedNotebook.e2e.spec.js • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Restricted Notebook with a page locked and with an embed @addinit Disallows embeds to be deleted if page locked @addinit
Retry 1Initial Attempt
1.85% (1) 1 / 54 run
failed over last 7 days
53.70% (29) 29 / 54 runs
flaked over last 7 days

📄   functional/plugins/imagery/exampleImagery.e2e.spec.js • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Example Imagery Object Can use Mouse Wheel to zoom in and out of latest image
Retry 1Initial Attempt
1.69% (1) 1 / 59 run
failed over last 7 days
23.73% (14) 14 / 59 runs
flaked over last 7 days

View Detailed Build Results


Copy link

codecov bot commented Jan 5, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (b9df97e) 55.89% compared to head (9de94bc) 55.97%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7342      +/-   ##
==========================================
+ Coverage   55.89%   55.97%   +0.08%     
==========================================
  Files         662      662              
  Lines       26394    26465      +71     
  Branches     2563     2563              
==========================================
+ Hits        14753    14814      +61     
- Misses      10927    10938      +11     
+ Partials      714      713       -1     
Flag Coverage Δ *Carryforward flag
e2e-full 41.10% <ø> (-0.93%) ⬇️ Carriedforward from 7261303
e2e-stable 59.84% <ø> (+0.02%) ⬆️
unit 48.93% <0.00%> (+0.01%) ⬆️

*This pull request uses carry forward flags. Click here to find out more.

Files Coverage Δ
src/api/menu/components/MenuComponent.vue 50.00% <ø> (ø)
src/api/menu/components/SuperMenu.vue 66.66% <ø> (ø)
.../plugins/notebook/components/NotebookComponent.vue 17.84% <ø> (ø)
src/ui/layout/CreateButton.vue 11.53% <0.00%> (+7.19%) ⬆️

... and 8 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b9df97e...9de94bc. Read the comment docs.

Copy link
Collaborator

@unlikelyzero unlikelyzero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Going to merge the first contrast or and then this one

@unlikelyzero unlikelyzero added this to the Target:3.3.0 milestone Jan 11, 2024
@unlikelyzero unlikelyzero added type:bug pr:e2e:couchdb npm run test:e2e:couchdb labels Jan 11, 2024
@github-actions github-actions bot removed the pr:e2e:couchdb npm run test:e2e:couchdb label Jan 11, 2024
@unlikelyzero unlikelyzero modified the milestones: Target:3.3.0, Target:4.0.0 Jan 17, 2024
@unlikelyzero unlikelyzero merged commit 1fc6056 into master Jan 26, 2024
13 checks passed
@unlikelyzero unlikelyzero deleted the fix-disabled-7322 branch January 26, 2024 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[a11y] We don't mark the disabled objects as disabled
2 participants