Closed nasaownsky closed 7 months ago
@mxosman Fixes applied, check them (and scroll behavior) out!
@mxosman Fixes applied, check them (and scroll behavior) out!
Thank you so much, @nasaownsky! It all looks great to me! We're going to hold off on merging until we can test as a group tomorrow before launching. I'll let you know as soon as this is ready to go. 😄
Hi @nasaownsky - just sharing a couple of requests from our playtesting session relevant to the FE - almost there!
As Lili pointed out - I think we'll need to update the call to the endpoint to include a list of selected child agencies, and pass those in.
Can we exclude Superagency
metrics from the list of available metrics to choose from? These only belong to superagencies and cannot be copied over.
Can we move the warning label to above the search boxes and make it a bit wider to reduce the height (thank you for this idea @brandon-hills)?
Thank you so much for applying to changes, @nasaownsky! One other thing that occurred to me - can we block saving if a user has checked that they want to copy metrics, but either metric selection or child agency selection is empty? (Please feel free to refactor the saving logic if need be)
Oh, by the way - there's no urgency to merge this in yet as I believe there are some pending backend changes. I'll give you a heads up as soon as things are ready to go and I/the team have had a chance to test this end to end!
@mxosman got it!
@mxosman got it!
One small thing @nasaownsky - I just played around with it and I think there's one small edge case that lets me bypass the blocked save - if the metrics and child agencies are both deselected, deselecting all and then reselecting a sector let's me through.
@mxosman could you please provide screen recording for that edge case? I couldn't reproduce it unfortunately.
@mxosman could you please provide screen recording for that edge case? I couldn't reproduce it unfortunately.
Absolutely! Here's a loom video below - apologies if I didn't explain this well:
https://www.loom.com/share/ffb754f5ae164f22bed66c893a425d1a
The expected behavior here should still block the saving since we have empty inputs for the child agencies and metrics.
@mxosman should be working as expected now!
@mxosman should be working as expected now!
Thank you, @nasaownsky! I left one tiny nit - but this looks good to me! @nichelle-hall and I will test this end-to-end when the backend is ready! I appreciate all your help on this!
WOOT incredible thank you so much @mxosman and @nichelle-hall !!!!
Thank you, @lilidworkin! And a huge thanks to @nasaownsky for making this happen!! And huge thanks to you and @nichelle-hall for the backend work!
@nasaownsky - since you worked so hard on this, would you like the satisfaction of merging this in?
Thank you all for the hard work, we did an amazing job! And yes please @mxosman, I would glad to :)
Description of the change
Added functionality to choose metrics/child agencies during metric copy
Type of change
Related issues
closes #1248
Checklists
Development
This box MUST be checked by the submitter prior to merging:
These boxes should be checked by the submitter prior to merging:
Code review
These boxes should be checked by reviewers prior to merging: