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

chore: Collection navigation getItem can return undefined #2982

Conversation

NicholasBoll
Copy link
Member

@NicholasBoll NicholasBoll commented Oct 12, 2024

Summary

Allow the ListModel navigation.getItem() to return undefined.

Release Category

Components

BREAKING CHANGES

A list model's navigation.getItem() can return undefined if no item is found. Previously it threw an error, which cause many problems. It is now up to the caller to decide what to do with an undefined return value


Checklist

For the Reviewer

  • PR title is short and descriptive
  • PR summary describes the change (Fixes/Resolves linked correctly)
  • Breaking Changes provides useful information to upgrade to this code or removed if not applicable

Where Should the Reviewer Start?

Areas for Feedback? (optional)

  • Code
  • Documentation
  • Testing

@NicholasBoll NicholasBoll added the ready for review Code is ready for review label Oct 12, 2024
@NicholasBoll NicholasBoll marked this pull request as ready for review October 12, 2024 02:44
Copy link

cypress bot commented Oct 12, 2024

Workday/canvas-kit    Run #7889

Run Properties:  status check passed Passed #7889  •  git commit 6dcd9e0893 ℹ️: Merge 6239bef0904da17e8cf97223c6640169b3fcdd51 into 487e829b3f54c598029776b443b8...
Project Workday/canvas-kit
Run status status check passed Passed #7889
Run duration 03m 55s
Commit git commit 6dcd9e0893 ℹ️: Merge 6239bef0904da17e8cf97223c6640169b3fcdd51 into 487e829b3f54c598029776b443b8...
Committer Nicholas Boll
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 28
Tests that did not run due to a developer annotating a test with .skip  Pending 24
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 1082
UI Coverage  21.86%
  Untested elements 1614  
  Tested elements 449  
Accessibility  99.18%
  Failed rules  5 critical   5 serious   0 moderate   2 minor
  Failed elements 181  

@NicholasBoll NicholasBoll added automerge and removed ready for review Code is ready for review labels Oct 12, 2024
@alanbsmith alanbsmith merged commit 23aaa97 into Workday:prerelease/major Oct 12, 2024
23 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants