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

[Features] Collaborations #6

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

Conversation

Koustubh5585
Copy link
Owner

@Koustubh5585 Koustubh5585 commented Sep 15, 2022

Description

On the event of spikes or anomalies, users can add insights (e.g “spike in metrics here is due to ....), so the team can collaborate and comment to resolve the issue. Implemented the static UI flow.

Issues Resolved

opensearch-project/dashboards-observability#136

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Koustubh Karmalkar <koustubh_karmalkar@persistent.com>
Signed-off-by: Koustubh Karmalkar <koustubh_karmalkar@persistent.com>
Signed-off-by: Koustubh Karmalkar <koustubh_karmalkar@persistent.com>
Signed-off-by: Koustubh Karmalkar <koustubh_karmalkar@persistent.com>
Signed-off-by: Koustubh Karmalkar <koustubh_karmalkar@persistent.com>
@Koustubh5585 Koustubh5585 changed the title Features/collaborations Features Collaborations Sep 15, 2022
@Koustubh5585 Koustubh5585 changed the title Features Collaborations [Features] Collaborations Sep 15, 2022
Signed-off-by: Koustubh Karmalkar <koustubh_karmalkar@persistent.com>

.count-badge {
position: absolute;
margin-left: -15px;

Choose a reason for hiding this comment

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

avoid negative values.

Copy link
Owner Author

Choose a reason for hiding this comment

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

Negative value is required to place the badge on top of the button

/>
}
isOpen={selectedIndex === index}
closePopover={() => setSelectedIndex(-1)}

Choose a reason for hiding this comment

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

check if 0 can be used?

Copy link
Owner Author

Choose a reason for hiding this comment

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

If we use 0 here then by default context menu of 1st item gets open. Hence used -ve value.

Signed-off-by: Koustubh Karmalkar <koustubh_karmalkar@persistent.com>
Signed-off-by: Koustubh Karmalkar <koustubh_karmalkar@persistent.com>
Signed-off-by: Koustubh Karmalkar <koustubh_karmalkar@persistent.com>
Signed-off-by: Koustubh Karmalkar <koustubh_karmalkar@persistent.com>
Signed-off-by: Koustubh Karmalkar <koustubh_karmalkar@persistent.com>
Signed-off-by: Koustubh Karmalkar <koustubh_karmalkar@persistent.com>
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