-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Cancel requested assets without checkin/out [ch-17606] #13219
Conversation
…n cancel a request of whatever user we want
This pull request has been linked to Shortcut Story #17606: Cancel requested asset without checkin/out. |
PR Summary
|
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.
Nice! I have a couple minor requests / suggestions but the functionality works.
I noticed the table lost search and sorting somehow:
Side-note: Something that comes to mind is an Adam Wathan presentation called "Cruddy by Design" (I'm pretty sure it's this presentation where he talks about this concept). This controller method seems like it can be broken up into dedicated methods for each operation it handles. It would be easier to understand and more maintainable. It doesn't have to happen in this PR of course. Just something that came to mind.
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.
One small change, since we don't use that orange color anywhere else in the UI
Ok, made the button change and add the translation string for the tooltip. Also I was struggling with that No, in reality I think it was a copy paste from other time, because it was for the Bulk edit feature, which is not used in this view, that's the real reason. |
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 to me 👍🏾
Description
I started working on this looking for a quick and easy win, oh boy! If I was mistaken...
Before we have the Requested Assets view like this:
And now I just added this little button here:
That's basically it, but I have to pass new variables to a route, and change a couple function firms to accept parameters that aren't needed before, I tested it extensively but I would love a couple of extra eyes before merging.
Fixes [ch-17606]
Type of change
How Has This Been Tested?
Test Configuration: