Skip to content

Conversation

@arjunlalb
Copy link
Contributor

Description

Support for disabling a menu item.

Testing

Manually tested. UT added.

Checklist:

  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • Any dependent changes have been merged and published in downstream modules

@arjunlalb arjunlalb requested a review from a team as a code owner January 16, 2021 11:42
@codecov
Copy link

codecov bot commented Jan 16, 2021

Codecov Report

Merging #506 (fc844f1) into main (5ececca) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #506   +/-   ##
=======================================
  Coverage   85.69%   85.69%           
=======================================
  Files         751      751           
  Lines       15406    15409    +3     
  Branches     1828     1829    +1     
=======================================
+ Hits        13202    13205    +3     
  Misses       2173     2173           
  Partials       31       31           
Impacted Files Coverage Δ
...src/menu-dropdown/menu-item/menu-item.component.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

.menu-item {
@include popover-menu-item;

&.disabled {
Copy link
Contributor

Choose a reason for hiding this comment

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

hm, we really should make this a global style

Copy link
Contributor Author

Choose a reason for hiding this comment

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

will do that.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

wanted to do that. but there are quite a few out there. some without the cursor change. So, need to audit all of them before doing a global change.

@arjunlalb arjunlalb merged commit 9946ae9 into main Jan 16, 2021
@arjunlalb arjunlalb deleted the disable-menu-item branch January 16, 2021 12:42
@github-actions
Copy link

Unit Test Results

    4 files  ±0  231 suites  ±0   11m 54s ⏱️ ±0s
814 tests +1  814 ✔️ +1  0 💤 ±0  0 ❌ ±0 
818 runs  +1  818 ✔️ +1  0 💤 ±0  0 ❌ ±0 

Results for commit 9946ae9. ± Comparison against base commit 5ececca.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants