Skip to content

Conversation

@felixgateru
Copy link
Contributor

What type of PR is this?

This is a bug fix as it fixes the following issue: #2785

What does this do?

This pr:

  • adds checks for invitation state before deleting
  • updates tests

Which issue(s) does this PR fix/relate to?

Have you included tests for your changes?

Yes, I have updated tests

Did you document any new/modified feature?

No

Notes

Signed-off-by: Felix Gateru <felix.gateru@gmail.com>
@codecov
Copy link

codecov bot commented Apr 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 28.44%. Comparing base (af8caa4) to head (b29ed73).
Report is 49 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2805      +/-   ##
==========================================
+ Coverage   27.55%   28.44%   +0.89%     
==========================================
  Files         351       30     -321     
  Lines       55347     5456   -49891     
==========================================
- Hits        15251     1552   -13699     
+ Misses      39340     3809   -35531     
+ Partials      756       95     -661     

☔ 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.

@felixgateru felixgateru marked this pull request as ready for review April 9, 2025 12:43
@felixgateru felixgateru requested a review from a team as a code owner April 9, 2025 12:43
arvindh123

This comment was marked as resolved.

Copy link
Contributor

@arvindh123 arvindh123 left a comment

Choose a reason for hiding this comment

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

LGTM ,
This requires changes in UI

UI Doesn't have provision to resent invitation for rejected invitations.

In UI we should disable delete button for invitations accepted

For rejected invitation we should have resend button instead of delete button

@dborovcanin dborovcanin merged commit c0fd0f4 into absmach:main May 22, 2025
7 of 8 checks passed
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.

Bug: Invitation can be removed by sender after being rejected/accepted

3 participants