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

Alert group column/label selector #3281

Merged
merged 82 commits into from
Nov 29, 2023
Merged

Alert group column/label selector #3281

merged 82 commits into from
Nov 29, 2023

Conversation

teodosii
Copy link
Member

@teodosii teodosii commented Nov 6, 2023

What this PR does

Adds new functionality to enable which columns should show on the alert group page

image

@teodosii teodosii marked this pull request as ready for review November 6, 2023 15:08
@teodosii teodosii requested a review from a team November 6, 2023 15:08
@teodosii teodosii added pr:no changelog pr:no public docs Added to a PR that does not require public documentation updates labels Nov 6, 2023
engine/apps/user_management/utils.py Outdated Show resolved Hide resolved
engine/apps/user_management/utils.py Outdated Show resolved Hide resolved
engine/apps/user_management/utils.py Outdated Show resolved Hide resolved
engine/apps/user_management/utils.py Outdated Show resolved Hide resolved
engine/apps/user_management/utils.py Outdated Show resolved Hide resolved
engine/apps/api/views/alert_group_table_settings.py Outdated Show resolved Hide resolved
engine/apps/api/serializers/alert_group_table_settings.py Outdated Show resolved Hide resolved
engine/apps/api/serializers/alert_group_table_settings.py Outdated Show resolved Hide resolved
engine/apps/api/serializers/alert_group_table_settings.py Outdated Show resolved Hide resolved
engine/apps/api/serializers/alert_group_table_settings.py Outdated Show resolved Hide resolved
@@ -170,7 +170,7 @@ const TeamModal = ({ teamId, onHide }: TeamModalProps) => {
{ label: 'Team members and admins', value: '0' },
]}
value={shareResourceToAll}
onChange={setShareResourceToAll}
onChange={setShareResourceToAll as (res: string) => void}
Copy link
Contributor

Choose a reason for hiding this comment

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

can we don't use type casting here?

Copy link
Member Author

Choose a reason for hiding this comment

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

the setter is a React.Dispatch, while the onChange expects something else

@teodosii teodosii added this pull request to the merge queue Nov 29, 2023
Merged via the queue into dev with commit 455f745 Nov 29, 2023
21 checks passed
@teodosii teodosii deleted the rares/columns-selector branch November 29, 2023 12:20
brojd pushed a commit that referenced this pull request Sep 18, 2024
# What this PR does

Adds new functionality to enable which columns should show on the alert
group page


![image](https://github.com/grafana/oncall/assets/40542072/952d4004-9cd6-478c-a104-cd5d270cfd58)

---------

Co-authored-by: Julia <ferril.darkdiver@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:no public docs Added to a PR that does not require public documentation updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants