Skip to content

Add Groups Callout functionality for Alert

Angelo Gulina requested to merge ag/348481-saas-seats-count-alert-callout into master

What does this MR do and why?

Describe in detail what your merge request does and why.

In this MR, we're moving forward with the work to show an Alert when seat count for groups exceed (under certain conditions).

We're adding the callout functionality so that the Alert is permanently dismissed until the group is updated with an additional member. The logic checks when the last billable member was added (I am open to suggestions for doing it in other ways).

We have augmented the Persistent User Callout to also receive a groupId. The reason is that an owner can own multiple groups but we don't want that when an alert for a group is dismissed, the ones for other groups are.

The alert is hidden by default.

Description MR
Introduce Seat Count Alert and Helper frontend !77865 (merged)
Update CDot to send reconciliation status backend tbd
Introduce call to CDot to fetch reconciliation status backend tbd
Introduce Callout functionality with custom display logic backend 👈 you are here
Plug in all logic to display Seat Count Alert backend tbd

Screenshots or screen recordings

Here's a quick demo of what the feature is supposed to do: https://youtu.be/i7e_pV0xTks (visible only internally).

These are strongly recommended to assist reviewers and reduce the time to merge your change.

Screenshots are here for showcase purpose (designs)

Group Issues page on Project
Screenshot_2022-01-13_at_15.33.10 Screenshot_2022-01-14_at_07.04.57
Sub-Group Project on Sub-Group
Screenshot_2022-01-14_at_09.07.22 Screenshot_2022-01-14_at_09.07.11

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #348481 (closed)

Edited by Angelo Gulina

Merge request reports

Loading