Skip to content

feat: add and integrated decline modal for BNR requests #1556

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jajjibhai008
Copy link
Contributor

@jajjibhai008 jajjibhai008 commented Jun 19, 2025

Description

JIRA- ENT10355

Screen.Recording.2025-06-19.at.2.31.17.PM.mov

For all changes

  • Ensure adequate tests are in place (or reviewed existing tests cover changes)

Only if submitting a visual change

  • Ensure to attach screenshots
  • Ensure to have UX team confirm screenshots

Copy link

codecov bot commented Jun 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.37%. Comparing base (77d2536) to head (968b2fc).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1556      +/-   ##
==========================================
- Coverage   87.50%   86.37%   -1.13%     
==========================================
  Files         741      741              
  Lines       16744    16777      +33     
  Branches     3445     3517      +72     
==========================================
- Hits        14651    14491     -160     
- Misses       2027     2211     +184     
- Partials       66       75       +9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jajjibhai008 jajjibhai008 force-pushed the eahmadjaved/ENT-10355 branch from 86c3316 to 968b2fc Compare June 19, 2025 12:05
Copy link
Member

@sameenfatima78 sameenfatima78 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good just one minor suggestion. Also, have we tried testing what happens when we receive an error from backend?

Comment on lines +87 to +88
Declining an enrollment request cannot be undone. If you change your mind, the learner will have to
submit a new enrollment request.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this text is a bit mislead as admins would still have the option to cancel an approved request. Can we get more clarity on this from Product/UX?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just implemented this as per Figma. We can ask Sikhu about that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can also ask from sikhu before final testing, it will be a simple change at that time, if required

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.

2 participants