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

Improve reusability of widget edit components #20843

Merged
merged 11 commits into from
Dec 3, 2024

Conversation

linuspahl
Copy link
Contributor

@linuspahl linuspahl commented Oct 31, 2024

Description

Motivation and Context

This PR is improving the reusability of some widget related component, so they can be reused outside of the search page.

/prd https://github.com/Graylog2/graylog-plugin-enterprise/pull/9261
/nocl

@linuspahl linuspahl assigned linuspahl and unassigned linuspahl Oct 31, 2024
@linuspahl linuspahl force-pushed the extend-backend-message-type branch 2 times, most recently from 1b6693c to 67870ae Compare November 4, 2024 15:25
@linuspahl linuspahl changed the title Extend BackendMessage type with timestamp attribute. Improve reusability of widget edit components Nov 4, 2024
@linuspahl linuspahl removed the request for review from maxiadlovskii November 4, 2024 15:29
@linuspahl linuspahl marked this pull request as draft November 4, 2024 15:29
@linuspahl linuspahl force-pushed the extend-backend-message-type branch 4 times, most recently from 198e277 to fd167f1 Compare November 26, 2024 12:42
…dget edit components. Instead we only call `applyAllWidgetChanges` from `WidgetEditApplyAllChangesContext.

The `WidgetEditApplyAllChangesProvider` now calls a `onSubmit` prop which takes care of updateing the widget.
@linuspahl linuspahl force-pushed the extend-backend-message-type branch from e16be46 to 29be003 Compare November 26, 2024 14:35
@linuspahl linuspahl marked this pull request as ready for review November 26, 2024 15:52
@linuspahl linuspahl merged commit d52fc07 into master Dec 3, 2024
6 of 7 checks passed
@linuspahl linuspahl deleted the extend-backend-message-type branch December 3, 2024 12:04
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