Skip to content

fix: support disabling select options #968

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

Merged
merged 8 commits into from
Jul 8, 2021

Conversation

arjunlalb
Copy link
Contributor

@arjunlalb arjunlalb commented Jul 5, 2021

Dependent on #966

Description

support disabling select options

Testing

Manually tested. UTs 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 July 5, 2021 04:53
@arjunlalb arjunlalb changed the base branch from main to rename-route-interface July 5, 2021 04:53
@codecov
Copy link

codecov bot commented Jul 5, 2021

Codecov Report

Merging #968 (25c1eb6) into main (94a0439) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #968   +/-   ##
=======================================
  Coverage   85.04%   85.05%           
=======================================
  Files         812      812           
  Lines       16745    16754    +9     
  Branches     2166     2168    +2     
=======================================
+ Hits        14241    14250    +9     
  Misses       2473     2473           
  Partials       31       31           
Impacted Files Coverage Δ
...s/components/src/select/select-option.component.ts 100.00% <100.00%> (ø)
projects/components/src/select/select.component.ts 95.38% <100.00%> (+0.55%) ⬆️
projects/components/src/select/select.module.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 94a0439...25c1eb6. Read the comment docs.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

Copy link
Contributor

@itssharmasandeep itssharmasandeep left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -114,7 +114,7 @@ import { SelectSize } from './select-size';
*ngFor="let item of items"
(click)="this.onSelectionChange(item)"
class="select-option"
[ngClass]="this.size"
[ngClass]="this.getStyleClassesForSelectItem(item)"
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we avoid the polling? Probably use htMemoize?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@anandtiwary done.

Base automatically changed from rename-route-interface to main July 6, 2021 20:08
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@arjunlalb arjunlalb merged commit cea9d92 into main Jul 8, 2021
@arjunlalb arjunlalb deleted the support-disabling-select-options branch July 8, 2021 05:21
@github-actions
Copy link

github-actions bot commented Jul 8, 2021

Unit Test Results

    4 files  ±0  259 suites  ±0   14m 41s ⏱️ +35s
940 tests +1  940 ✔️ +1  0 💤 ±0  0 ❌ ±0 
946 runs  +1  946 ✔️ +1  0 💤 ±0  0 ❌ ±0 

Results for commit cea9d92. ± Comparison against base commit 94a0439.

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