Skip to content

Conversation

SebastianKrupinski
Copy link
Contributor

Errors
image

Comment on lines +110 to +130
// Allow all when no search text (NcSelect already restricts remote query)
if (!search) {
return true
}
const term = search.toLowerCase()
// Match against provided label, email, or user identifier
return (label && label.toLowerCase().includes(term))
|| (option.email && option.email.toLowerCase().includes(term))
|| (option.user && option.user.toLowerCase().includes(term))
Copy link
Member

Choose a reason for hiding this comment

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

Not sure about this one.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I wasn't sure if I can remove it, and it just returned true every time.

So I made it actually do something LOL

Search is working
image

Copy link
Member

Choose a reason for hiding this comment

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

Nice, thanks.

Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
Copy link

codecov bot commented Sep 1, 2025

Codecov Report

❌ Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 14.84%. Comparing base (3d6e1ff) to head (11fc845).
⚠️ Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
.../AppNavigation/EditCalendarModal/SharingSearch.vue 0.00% 6 Missing ⚠️
.../components/Editor/Invitees/InviteesListSearch.vue 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7278   +/-   ##
=======================================
  Coverage   14.84%   14.84%           
=======================================
  Files         212      212           
  Lines       10299    10297    -2     
  Branches     2484     2474   -10     
=======================================
  Hits         1529     1529           
+ Misses       8420     8418    -2     
  Partials      350      350           
Flag Coverage Δ
javascript 14.84% <0.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@SebastianKrupinski SebastianKrupinski merged commit 97959df into main Sep 1, 2025
50 of 51 checks passed
@SebastianKrupinski SebastianKrupinski deleted the fix/linter-and-errors branch September 1, 2025 15:24
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.

2 participants