Skip to content
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

feat(ui): allow admins to edit & approve request from advanced request modal #2067

Merged
merged 3 commits into from Dec 31, 2021

Conversation

danshilm
Copy link
Collaborator

@danshilm danshilm commented Sep 7, 2021

Description

This changes the "Edit Request" button in the advanced request modal to "Edit & Accept Request" since the only thing an admin would do next is to accept the request.
The button would stay the same for users without the manage request permissions; users who are editing their own requests or requesting new content.

Screenshot (if UI-related)

Screenshot_38

To-Dos

  • Successful build yarn build
  • Translation keys yarn i18n:extract
  • Database migration (if required)

Issues Fixed or Closed

src/components/RequestModal/TvRequestModal.tsx Outdated Show resolved Hide resolved
src/components/RequestModal/TvRequestModal.tsx Outdated Show resolved Hide resolved
src/components/RequestModal/TvRequestModal.tsx Outdated Show resolved Hide resolved
src/components/RequestModal/MovieRequestModal.tsx Outdated Show resolved Hide resolved
src/components/RequestModal/MovieRequestModal.tsx Outdated Show resolved Hide resolved
src/components/RequestModal/MovieRequestModal.tsx Outdated Show resolved Hide resolved
src/components/RequestModal/MovieRequestModal.tsx Outdated Show resolved Hide resolved
src/components/RequestModal/TvRequestModal.tsx Outdated Show resolved Hide resolved
src/components/RequestModal/TvRequestModal.tsx Outdated Show resolved Hide resolved
@danshilm danshilm changed the title Allow admins to edit & approve request from advanced request modal feat(ui): allow admins to edit & approve request from advanced request modal Sep 14, 2021
@danshilm danshilm force-pushed the feat/ui/request-modal-cta branch 2 times, most recently from ddbbdfa to 0450962 Compare September 21, 2021 16:25
@danshilm danshilm force-pushed the feat/ui/request-modal-cta branch 2 times, most recently from b8a43d5 to 2842b5c Compare October 16, 2021 08:35
@danshilm danshilm force-pushed the feat/ui/request-modal-cta branch 2 times, most recently from 0f52240 to 12901fa Compare October 24, 2021 09:45
This changes the "Edit Request" button in the advanced request modal to "Edit & Accept Request"
since the only thing an admin would do next is to accept the request.
The button would stay the same for users without the manage request permissions;
users who are editing their own requests or requesting content.
@sct sct enabled auto-merge (squash) December 31, 2021 05:33
@sct sct merged commit 340f1a2 into sct:develop Dec 31, 2021
@github-actions
Copy link

github-actions bot commented Jan 1, 2022

🎉 This PR is included in version 1.28.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Approve button to Edit Request Modal
3 participants