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: Add api to approve and reject onboarding extension requests #2324

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

pankajjs
Copy link
Contributor

@pankajjs pankajjs commented Dec 28, 2024

Date: 29 Dec, 2024

Developer Name: @pankajjs


Issue Ticket Number

Description

This PR contains test and feature related to approval and rejection of onboarding extension request by super-users.

Documentation Updated?

  • Yes
  • No

Under Feature Flag

  • Yes
  • No

Database Changes

  • Yes
  • No

Breaking Changes

  • Yes
  • No

Development Tested?

  • Yes
  • No

Screenshots

Screenshot 1 Screenshot 2024-12-31 at 7 19 21 PM Screenshot 2024-12-31 at 7 21 06 PM Screenshot 2024-12-31 at 7 21 24 PM Screenshot 2024-12-31 at 7 22 33 PM

Test Coverage

Screenshot 1 Screenshot 2024-12-31 at 6 55 15 PM Screenshot 2024-12-31 at 6 56 06 PM Screenshot 2024-12-31 at 6 56 16 PM

Additional Notes

@pankajjs pankajjs force-pushed the feat/add-approval-rejection-api-for-super-users branch from 87a1777 to d17ec3d Compare December 31, 2024 12:29
@pankajjs pankajjs changed the title Add api to approve and reject onboarding extension requests feat: Add api to approve and reject onboarding extension requests Dec 31, 2024
@pankajjs pankajjs marked this pull request as ready for review December 31, 2024 13:54
@pankajjs pankajjs force-pushed the feat/add-approval-rejection-api-for-super-users branch from ddccab3 to 3d0af41 Compare January 4, 2025 09:40
…rejection state

- Add constant and types for update request state

- Add controller to update onboarding status

- Add dev query in request and implemented feature flag

- Change request body when reason is undefined

- Add onboarding type in schema for request body validation

- Fix actual message in assert statement

- Add tests to validate the controller

- Remove destructure body

- Fix string type spelling

- Add jsDoc for controller to maintain good practise

- Add tests to handle more edge case and fix test name

- Fix lint issue

- Refactor type name for better readability and fix field name

- Add message field in request schema, refactor controller and test to handle message field

- Refactor function name to define its purpose

- Import addLog from service file

- Fix jsDoc documentation
@pankajjs pankajjs force-pushed the feat/add-approval-rejection-api-for-super-users branch from 3d0af41 to 0fb1160 Compare January 6, 2025 11:16
@pankajjs pankajjs force-pushed the feat/add-approval-rejection-api-for-super-users branch from 6abbb1c to 6e2aa89 Compare January 6, 2025 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature : Extend Onboarding Override for Discord Server
1 participant