-
Notifications
You must be signed in to change notification settings - Fork 63
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
Staff Assistance Requests #222
base: 6.1.0.dev
Are you sure you want to change the base?
Staff Assistance Requests #222
Conversation
Hi and thank you for this PR draft. 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! |
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 |
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:
Thanks, |
Hi @rptmat57, Have you had a chance to review this PR yet? Thanks, |
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.
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.)
NEMO/templates/requests/staff_assistance_requests/staff_assistance_requests.html
Show resolved
Hide resolved
NEMO/templates/requests/staff_assistance_requests/staff_assistance_requests.html
Outdated
Show resolved
Hide resolved
NEMO/templates/requests/staff_assistance_requests/staff_assistance_request.html
Outdated
Show resolved
Hide resolved
NEMO/templates/requests/staff_assistance_requests/staff_assistance_request.html
Outdated
Show resolved
Hide resolved
NEMO/templates/requests/staff_assistance_requests/staff_assistance_requests_table.html
Outdated
Show resolved
Hide resolved
Sounds good, thank you for the feedback. I'll work on implementing these sometime next week hopefully. |
df79bee
to
4a3696f
Compare
Hi @rptmat57, how does this look? |
Co-authored-by: Mathieu Rampant <[email protected]>
Co-authored-by: Mathieu Rampant <[email protected]>
…ance_request.html Co-authored-by: Mathieu Rampant <[email protected]>
2c2738a
to
d48e53b
Compare
Hi @rptmat57, I made the requested changes, so this should be ready to be reviewed again. Thank, |
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, |
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