-
Notifications
You must be signed in to change notification settings - Fork 9
Add Not Overdue filter #261
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
Conversation
preparedIssues = _.filter(preparedIssues, (item) => { | ||
const isHeld = item.title.toLowerCase().indexOf('[hold') > -1 ? ' hold' : ''; | ||
const isUnderReview = _.find(item.labels, label => label.name.toLowerCase() === 'reviewing'); | ||
const isOwnedBySomeoneElse = item.issueHasOwner && !item.currentUserIsOwner; | ||
const isOverdue = _.findWhere(item.labels, {name: 'Overdue'}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if it matters, but this is slightly different than how we look for the reviewing label (which is case insensitive).
_.find(item.labels, label => label.name.toLowerCase() === 'reviewing');
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah yeah, i can update that to be safe! I think there's somewhere else that does it that way too, I'll fix both.
Going to defer review to @tgolen as he has lots of good comments! I quickly skimmed and it's looking good |
updated! it looks like we use both ways throughout the app for different labels ( |
I think it's probably OK. Thanks for looking! |
You'll need to ask a ring3 person to deploy this |
Ever wanted to see only your overdue issues? Now you can!
Brought to you primarily by Cursor and vibe coding, which is neat.
$ https://github.com/Expensify/Expensify/issues/507736