-
Notifications
You must be signed in to change notification settings - Fork 1
HEEDLS-585 Welcome emails - Filter #596
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
…FilterAndPaginate Make searching, sorting and pagination individually controllable just like filtering.
Before fetching AllEmailDelegateItems, get the selected items on the page and send them to the AllEmailDelegateItems endpoint as a query parameter so the results are pre-checked.
If there is an error on Index POST, set FilterBy on the model before returning the view
No non-JS functionality yet
This reverts commit 4f5a07b.
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.
Some questions and things to possibly change
DigitalLearningSolutions.Web/Controllers/TrackingSystem/Delegates/EmailDelegatesController.cs
Outdated
Show resolved
Hide resolved
DigitalLearningSolutions.Web/ViewModels/Common/SearchablePage/BaseSearchablePageViewModel.cs
Outdated
Show resolved
Hide resolved
DigitalLearningSolutions.Web/Scripts/searchSortFilterAndPaginate/searchSortFilterAndPaginate.ts
Outdated
Show resolved
Hide resolved
DigitalLearningSolutions.Web/Scripts/searchSortFilterAndPaginate/searchSortFilterAndPaginate.ts
Outdated
Show resolved
Hide resolved
DigitalLearningSolutions.Web/Scripts/searchSortFilterAndPaginate/searchSortFilterAndPaginate.ts
Show resolved
Hide resolved
DigitalLearningSolutions.Web/Scripts/trackingSystem/emailDelegates.ts
Outdated
Show resolved
Hide resolved
2402ef9 to
ae31d34
Compare
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.
Looks good, just a couple of very minor formatting issues to fix while resolving the merge conflict.
...ingSolutions.Web.Tests/Controllers/TrackingSystem/Delegates/EmailDelegatesControllerTests.cs
Outdated
Show resolved
Hide resolved
DigitalLearningSolutions.Web/ViewModels/Common/SearchablePage/BaseSearchablePageViewModel.cs
Outdated
Show resolved
Hide resolved
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.
First round - haven't check the JS yet and only skim read the tests :)
DigitalLearningSolutions.Web/Views/TrackingSystem/Delegates/EmailDelegates/Index.cshtml
Show resolved
Hide resolved
DigitalLearningSolutions.Web/Views/TrackingSystem/Delegates/EmailDelegates/Index.cshtml
Outdated
Show resolved
Hide resolved
...b/ViewModels/TrackingSystem/Delegates/EmailDelegates/EmailDelegatesViewModelFilterOptions.cs
Outdated
Show resolved
Hide resolved
...gSolutions.Web/ViewModels/TrackingSystem/Delegates/EmailDelegates/EmailDelegatesViewModel.cs
Outdated
Show resolved
Hide resolved
...utions.Web/ViewModels/TrackingSystem/Delegates/EmailDelegates/EmailDelegatesItemViewModel.cs
Outdated
Show resolved
Hide resolved
...utions.Web/ViewModels/TrackingSystem/Delegates/EmailDelegates/EmailDelegatesItemViewModel.cs
Outdated
Show resolved
Hide resolved
...ons.Web/ViewModels/TrackingSystem/Delegates/EmailDelegates/AllEmailDelegateItemsViewModel.cs
Outdated
Show resolved
Hide resolved
DigitalLearningSolutions.Web/Controllers/TrackingSystem/Delegates/EmailDelegatesController.cs
Outdated
Show resolved
Hide resolved
...Web.Tests/ViewModels/TrackingSystem/Delegates/EmailDelegates/EmailDelegatesViewModelTests.cs
Show resolved
Hide resolved
DigitalLearningSolutions.Web/Scripts/trackingSystem/emailDelegates.ts
Outdated
Show resolved
Hide resolved
DigitalLearningSolutions.Web/Scripts/trackingSystem/emailDelegates.ts
Outdated
Show resolved
Hide resolved
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.
Looks good! 👍
JIRA link
HEEDLS-585
Description
Add filter and select/deselect all functionality to Send Welcome Emails page.
Screenshots
With JS



No JS



Developer checks
I have: