Open abuckles-uci opened 4 months ago
Hi and thank you for this PR draft. I like it and I think it would be a great addition to NEMO.
A few things:
Thank you for reviewing! I'll implement these changes
Hi @rptmat57,
I've implemented the requested changes and finished up on adding a button to resolve requests. I made it so requests can only be resolved by staff and only if there is at least one reply. In addition, users can now only see their own requests, unless they are staff in which they see all.
The UI is pretty rough still, so I was hoping I could get some suggestions:
Thanks! Aaron
Hi Aaron,
Hi @rptmat57,
I've implemented the collapsible section for resolved requests. I've also added the ability for requests to be reopened by staff (in case of mistake). I fixed the word-wrap for both staff assistance requests and buddy requests. I still haven't tested the emails yet, but will do so when I have some more time.
Something I've noticed is that regular, non-staff users will see a badge if another user creates a request, even though they can't see the request themselves (as intended). Is this something that should be fixed? Would it require modifying how the notification system works?
I still need to do more testing, but please let me know if you catch anything in the code. Thanks!
-Aaron
Screenshot of UI:
Hi @rptmat57,
I committed your suggested change, so the notifications appear to be working as intended now.
For the emails, I added a new email that sends to all staff when a staff assistance request is created. The replies still work the same (send to the request creator and other repliers). I have a couple of questions:
email_send_staff_assistance_request_replies
user preference. Do we want new staff assistance requests to use this same preference or always send to all staff?Thanks, Aaron Buckles
Hi @rptmat57,
Have you had a chance to review this PR yet?
Thanks, Aaron Buckles
Thanks, it looks great! Outside of my inline comments, there are a few general changes I would like to request:
- Please merge with 6.0.0.dev (there are new recent changes)
- Also, I would prefer the notification (badge) for staff to only go away when the request is resolved
- Lastly, when requests are resolved, let display them as a table (similar to adjustment requests, with replies smaller etc.)
Sounds good, thank you for the feedback. I'll work on implementing these sometime next week hopefully.
Thanks, it looks great! Outside of my inline comments, there are a few general changes I would like to request:
- Please merge with 6.0.0.dev (there are new recent changes)
- Also, I would prefer the notification (badge) for staff to only go away when the request is resolved
- Lastly, when requests are resolved, let display them as a table (similar to adjustment requests, with replies smaller etc.)
Hi @rptmat57, how does this look?
Hi @rptmat57,
I made the requested changes, so this should be ready to be reviewed again.
Thank, Aaron
thanks, I'll try to take a look this week
Hi @rptmat57, have you had a chance to review this PR yet? Thanks!
Hi @rptmat57
Sorry to keep bumping this PR. Do you have any feedback? Thanks!
Hi @rptmat57,
Are there any updates for getting this pull request merged? Does anything need to be changed?
Thank you, Aaron
Hello @rptmat57! This is the initial code for "staff assistance requests". It's essentially a duplicate of the buddy request system, but without needing to specify a start, end, or area. It is only a description of the issue the user wants assistance with. There's some more that I would like to add, however I would like to get your opinion if this is a good fit (and general code review).
Thanks! Aaron
Closes #186