Skip to content

Remove error state on title field#227098

Merged
eleonoramicozzi merged 1 commit intoelastic:mainfrom
eleonoramicozzi:remove_error_state
Jul 9, 2025
Merged

Remove error state on title field#227098
eleonoramicozzi merged 1 commit intoelastic:mainfrom
eleonoramicozzi:remove_error_state

Conversation

@eleonoramicozzi
Copy link
Copy Markdown
Contributor

@eleonoramicozzi eleonoramicozzi commented Jul 8, 2025

Summary

Closes #224820

Remove error state for name field when creating a new knowledge base entry.

I consulted with @isaclfreire offline about this change and we agreed to remove the error state completely, as error states are not necessary in cases where all fields in a form are mandatory in order to continue.

Before

Screen.Recording.2025-07-08.at.17.10.02.mov

After

Screen.Recording.2025-07-08.at.17.09.25.mov

Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

  • The PR description includes the appropriate Release Notes section, and the correct release_note:* label is applied per the guidelines
  • Review the backport guidelines and apply applicable backport:* labels.

@eleonoramicozzi eleonoramicozzi self-assigned this Jul 8, 2025
@eleonoramicozzi eleonoramicozzi requested a review from a team as a code owner July 8, 2025 16:16
@botelastic botelastic bot added the ci:project-deploy-observability Create an Observability project label Jul 8, 2025
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/obs-ai-assistant (Team:Obs AI Assistant)

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jul 8, 2025

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@elasticmachine
Copy link
Copy Markdown
Contributor

⏳ Build in-progress

  • Buildkite Build
  • Commit: c0032ab
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-227098-c0032ab8d5e8

cc @eleonoramicozzi

Copy link
Copy Markdown
Contributor

@viduni94 viduni94 left a comment

Choose a reason for hiding this comment

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

When I try to edit an existing entry:

  • If I clear the title, I'd expect to see the validation error
  • Which I don't see anymore with this change

Can we still keep the validation error if the user clears the title, because that's an indicator as to why the Save button is disabled.

Screen.Recording.2025-07-08.at.2.38.55.PM.mov

@eleonoramicozzi
Copy link
Copy Markdown
Contributor Author

eleonoramicozzi commented Jul 9, 2025

When I try to edit an existing entry:

  • If I clear the title, I'd expect to see the validation error
  • Which I don't see anymore with this change

Can we still keep the validation error if the user clears the title, because that's an indicator as to why the Save button is disabled.

Screen.Recording.2025-07-08.at.2.38.55.PM.mov

Hey @viduni94 , I consulted with @isaclfreire about this change and we agreed to remove the error state.
Specifically she said that error states are not necessary in cases where all the fields are mandatory in order to continue.

@viduni94
Copy link
Copy Markdown
Contributor

viduni94 commented Jul 9, 2025

When I try to edit an existing entry:

  • If I clear the title, I'd expect to see the validation error
  • Which I don't see anymore with this change

Can we still keep the validation error if the user clears the title, because that's an indicator as to why the Save button is disabled.
Screen.Recording.2025-07-08.at.2.38.55.PM.mov

Hey @viduni94 , I consulted with @isaclfreire about this change and we agreed to remove the error state. Specifically she said that error states are not necessary in cases where all the fields are mandatory in order to continue.

Thanks for clarifying @eleonoramicozzi
For future PRs, can you add decisions as such to the PR description so that anybody reviewing has the context as well?
Thank you

@eleonoramicozzi
Copy link
Copy Markdown
Contributor Author

When I try to edit an existing entry:

  • If I clear the title, I'd expect to see the validation error
  • Which I don't see anymore with this change

Can we still keep the validation error if the user clears the title, because that's an indicator as to why the Save button is disabled.
Screen.Recording.2025-07-08.at.2.38.55.PM.mov

Hey @viduni94 , I consulted with @isaclfreire about this change and we agreed to remove the error state. Specifically she said that error states are not necessary in cases where all the fields are mandatory in order to continue.

Thanks for clarifying @eleonoramicozzi For future PRs, can you add decisions as such to the PR description so that anybody reviewing has the context as well? Thank you

Yes, I'm adding it to the description now and will make sure to do so in the future. Thanks :)

@eleonoramicozzi eleonoramicozzi merged commit 03b3779 into elastic:main Jul 9, 2025
30 checks passed
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 8.18, 8.19, 9.0, 9.1

https://github.com/elastic/kibana/actions/runs/16168235189

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jul 9, 2025
## Summary

Closes elastic#224820

Remove error state for name field when creating a new knowledge base
entry.

I consulted with @isaclfreire offline about this change and we agreed to
remove the error state completely, as error states are not necessary in
cases where all fields in a form are mandatory in order to continue.

### Before

https://github.com/user-attachments/assets/32aab4ad-e558-4e9c-b9c1-b54e9e20b362

### After

https://github.com/user-attachments/assets/4b873397-66fc-4b9c-be0c-dc118e54bfc9

### Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

(cherry picked from commit 03b3779)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jul 9, 2025
## Summary

Closes elastic#224820

Remove error state for name field when creating a new knowledge base
entry.

I consulted with @isaclfreire offline about this change and we agreed to
remove the error state completely, as error states are not necessary in
cases where all fields in a form are mandatory in order to continue.

### Before

https://github.com/user-attachments/assets/32aab4ad-e558-4e9c-b9c1-b54e9e20b362

### After

https://github.com/user-attachments/assets/4b873397-66fc-4b9c-be0c-dc118e54bfc9

### Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

(cherry picked from commit 03b3779)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jul 9, 2025
## Summary

Closes elastic#224820

Remove error state for name field when creating a new knowledge base
entry.

I consulted with @isaclfreire offline about this change and we agreed to
remove the error state completely, as error states are not necessary in
cases where all fields in a form are mandatory in order to continue.

### Before

https://github.com/user-attachments/assets/32aab4ad-e558-4e9c-b9c1-b54e9e20b362

### After

https://github.com/user-attachments/assets/4b873397-66fc-4b9c-be0c-dc118e54bfc9

### Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

(cherry picked from commit 03b3779)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jul 9, 2025
## Summary

Closes elastic#224820

Remove error state for name field when creating a new knowledge base
entry.

I consulted with @isaclfreire offline about this change and we agreed to
remove the error state completely, as error states are not necessary in
cases where all fields in a form are mandatory in order to continue.

### Before

https://github.com/user-attachments/assets/32aab4ad-e558-4e9c-b9c1-b54e9e20b362

### After

https://github.com/user-attachments/assets/4b873397-66fc-4b9c-be0c-dc118e54bfc9

### Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

(cherry picked from commit 03b3779)
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
8.18
8.19
9.0
9.1

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Jul 9, 2025
# Backport

This will backport the following commits from `main` to `9.0`:
- [Remove error state on title field
(#227098)](#227098)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT
[{"author":{"name":"Eleonora","email":"52030607+eleonoramicozzi@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-07-09T11:35:29Z","message":"Remove
error state on title field (#227098)\n\n## Summary\n\nCloses
https://github.com/elastic/kibana/issues/224820\n\nRemove error state
for name field when creating a new knowledge base\nentry.\n\nI consulted
with @isaclfreire offline about this change and we agreed to\nremove the
error state completely, as error states are not necessary in\ncases
where all fields in a form are mandatory in order to continue.\n\n###
Before\n\n\nhttps://github.com/user-attachments/assets/32aab4ad-e558-4e9c-b9c1-b54e9e20b362\n\n###
After\n\n\nhttps://github.com/user-attachments/assets/4b873397-66fc-4b9c-be0c-dc118e54bfc9\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*`
labels.","sha":"03b3779f9522285742619d7efd137baa7e1d388d","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","v9.0.0","Team:Obs
AI
Assistant","ci:project-deploy-observability","backport:version","v8.18.0","v9.1.0","v8.19.0","v9.2.0"],"title":"Remove
error state on title
field","number":227098,"url":"https://github.com/elastic/kibana/pull/227098","mergeCommit":{"message":"Remove
error state on title field (#227098)\n\n## Summary\n\nCloses
https://github.com/elastic/kibana/issues/224820\n\nRemove error state
for name field when creating a new knowledge base\nentry.\n\nI consulted
with @isaclfreire offline about this change and we agreed to\nremove the
error state completely, as error states are not necessary in\ncases
where all fields in a form are mandatory in order to continue.\n\n###
Before\n\n\nhttps://github.com/user-attachments/assets/32aab4ad-e558-4e9c-b9c1-b54e9e20b362\n\n###
After\n\n\nhttps://github.com/user-attachments/assets/4b873397-66fc-4b9c-be0c-dc118e54bfc9\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*`
labels.","sha":"03b3779f9522285742619d7efd137baa7e1d388d"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","9.1","8.19"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/227098","number":227098,"mergeCommit":{"message":"Remove
error state on title field (#227098)\n\n## Summary\n\nCloses
https://github.com/elastic/kibana/issues/224820\n\nRemove error state
for name field when creating a new knowledge base\nentry.\n\nI consulted
with @isaclfreire offline about this change and we agreed to\nremove the
error state completely, as error states are not necessary in\ncases
where all fields in a form are mandatory in order to continue.\n\n###
Before\n\n\nhttps://github.com/user-attachments/assets/32aab4ad-e558-4e9c-b9c1-b54e9e20b362\n\n###
After\n\n\nhttps://github.com/user-attachments/assets/4b873397-66fc-4b9c-be0c-dc118e54bfc9\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*`
labels.","sha":"03b3779f9522285742619d7efd137baa7e1d388d"}}]}]
BACKPORT-->

Co-authored-by: Eleonora <52030607+eleonoramicozzi@users.noreply.github.com>
kibanamachine added a commit that referenced this pull request Jul 9, 2025
# Backport

This will backport the following commits from `main` to `8.19`:
- [Remove error state on title field
(#227098)](#227098)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT
[{"author":{"name":"Eleonora","email":"52030607+eleonoramicozzi@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-07-09T11:35:29Z","message":"Remove
error state on title field (#227098)\n\n## Summary\n\nCloses
https://github.com/elastic/kibana/issues/224820\n\nRemove error state
for name field when creating a new knowledge base\nentry.\n\nI consulted
with @isaclfreire offline about this change and we agreed to\nremove the
error state completely, as error states are not necessary in\ncases
where all fields in a form are mandatory in order to continue.\n\n###
Before\n\n\nhttps://github.com/user-attachments/assets/32aab4ad-e558-4e9c-b9c1-b54e9e20b362\n\n###
After\n\n\nhttps://github.com/user-attachments/assets/4b873397-66fc-4b9c-be0c-dc118e54bfc9\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*`
labels.","sha":"03b3779f9522285742619d7efd137baa7e1d388d","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","v9.0.0","Team:Obs
AI
Assistant","ci:project-deploy-observability","backport:version","v8.18.0","v9.1.0","v8.19.0","v9.2.0"],"title":"Remove
error state on title
field","number":227098,"url":"https://github.com/elastic/kibana/pull/227098","mergeCommit":{"message":"Remove
error state on title field (#227098)\n\n## Summary\n\nCloses
https://github.com/elastic/kibana/issues/224820\n\nRemove error state
for name field when creating a new knowledge base\nentry.\n\nI consulted
with @isaclfreire offline about this change and we agreed to\nremove the
error state completely, as error states are not necessary in\ncases
where all fields in a form are mandatory in order to continue.\n\n###
Before\n\n\nhttps://github.com/user-attachments/assets/32aab4ad-e558-4e9c-b9c1-b54e9e20b362\n\n###
After\n\n\nhttps://github.com/user-attachments/assets/4b873397-66fc-4b9c-be0c-dc118e54bfc9\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*`
labels.","sha":"03b3779f9522285742619d7efd137baa7e1d388d"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","9.1","8.19"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/227098","number":227098,"mergeCommit":{"message":"Remove
error state on title field (#227098)\n\n## Summary\n\nCloses
https://github.com/elastic/kibana/issues/224820\n\nRemove error state
for name field when creating a new knowledge base\nentry.\n\nI consulted
with @isaclfreire offline about this change and we agreed to\nremove the
error state completely, as error states are not necessary in\ncases
where all fields in a form are mandatory in order to continue.\n\n###
Before\n\n\nhttps://github.com/user-attachments/assets/32aab4ad-e558-4e9c-b9c1-b54e9e20b362\n\n###
After\n\n\nhttps://github.com/user-attachments/assets/4b873397-66fc-4b9c-be0c-dc118e54bfc9\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*`
labels.","sha":"03b3779f9522285742619d7efd137baa7e1d388d"}}]}]
BACKPORT-->

Co-authored-by: Eleonora <52030607+eleonoramicozzi@users.noreply.github.com>
kibanamachine added a commit that referenced this pull request Jul 9, 2025
# Backport

This will backport the following commits from `main` to `9.1`:
- [Remove error state on title field
(#227098)](#227098)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT
[{"author":{"name":"Eleonora","email":"52030607+eleonoramicozzi@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-07-09T11:35:29Z","message":"Remove
error state on title field (#227098)\n\n## Summary\n\nCloses
https://github.com/elastic/kibana/issues/224820\n\nRemove error state
for name field when creating a new knowledge base\nentry.\n\nI consulted
with @isaclfreire offline about this change and we agreed to\nremove the
error state completely, as error states are not necessary in\ncases
where all fields in a form are mandatory in order to continue.\n\n###
Before\n\n\nhttps://github.com/user-attachments/assets/32aab4ad-e558-4e9c-b9c1-b54e9e20b362\n\n###
After\n\n\nhttps://github.com/user-attachments/assets/4b873397-66fc-4b9c-be0c-dc118e54bfc9\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*`
labels.","sha":"03b3779f9522285742619d7efd137baa7e1d388d","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","v9.0.0","Team:Obs
AI
Assistant","ci:project-deploy-observability","backport:version","v8.18.0","v9.1.0","v8.19.0","v9.2.0"],"title":"Remove
error state on title
field","number":227098,"url":"https://github.com/elastic/kibana/pull/227098","mergeCommit":{"message":"Remove
error state on title field (#227098)\n\n## Summary\n\nCloses
https://github.com/elastic/kibana/issues/224820\n\nRemove error state
for name field when creating a new knowledge base\nentry.\n\nI consulted
with @isaclfreire offline about this change and we agreed to\nremove the
error state completely, as error states are not necessary in\ncases
where all fields in a form are mandatory in order to continue.\n\n###
Before\n\n\nhttps://github.com/user-attachments/assets/32aab4ad-e558-4e9c-b9c1-b54e9e20b362\n\n###
After\n\n\nhttps://github.com/user-attachments/assets/4b873397-66fc-4b9c-be0c-dc118e54bfc9\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*`
labels.","sha":"03b3779f9522285742619d7efd137baa7e1d388d"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","9.1","8.19"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/227098","number":227098,"mergeCommit":{"message":"Remove
error state on title field (#227098)\n\n## Summary\n\nCloses
https://github.com/elastic/kibana/issues/224820\n\nRemove error state
for name field when creating a new knowledge base\nentry.\n\nI consulted
with @isaclfreire offline about this change and we agreed to\nremove the
error state completely, as error states are not necessary in\ncases
where all fields in a form are mandatory in order to continue.\n\n###
Before\n\n\nhttps://github.com/user-attachments/assets/32aab4ad-e558-4e9c-b9c1-b54e9e20b362\n\n###
After\n\n\nhttps://github.com/user-attachments/assets/4b873397-66fc-4b9c-be0c-dc118e54bfc9\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*`
labels.","sha":"03b3779f9522285742619d7efd137baa7e1d388d"}}]}]
BACKPORT-->

Co-authored-by: Eleonora <52030607+eleonoramicozzi@users.noreply.github.com>
kibanamachine added a commit that referenced this pull request Jul 9, 2025
# Backport

This will backport the following commits from `main` to `8.18`:
- [Remove error state on title field
(#227098)](#227098)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT
[{"author":{"name":"Eleonora","email":"52030607+eleonoramicozzi@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-07-09T11:35:29Z","message":"Remove
error state on title field (#227098)\n\n## Summary\n\nCloses
https://github.com/elastic/kibana/issues/224820\n\nRemove error state
for name field when creating a new knowledge base\nentry.\n\nI consulted
with @isaclfreire offline about this change and we agreed to\nremove the
error state completely, as error states are not necessary in\ncases
where all fields in a form are mandatory in order to continue.\n\n###
Before\n\n\nhttps://github.com/user-attachments/assets/32aab4ad-e558-4e9c-b9c1-b54e9e20b362\n\n###
After\n\n\nhttps://github.com/user-attachments/assets/4b873397-66fc-4b9c-be0c-dc118e54bfc9\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*`
labels.","sha":"03b3779f9522285742619d7efd137baa7e1d388d","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","v9.0.0","Team:Obs
AI
Assistant","ci:project-deploy-observability","backport:version","v8.18.0","v9.1.0","v8.19.0","v9.2.0"],"title":"Remove
error state on title
field","number":227098,"url":"https://github.com/elastic/kibana/pull/227098","mergeCommit":{"message":"Remove
error state on title field (#227098)\n\n## Summary\n\nCloses
https://github.com/elastic/kibana/issues/224820\n\nRemove error state
for name field when creating a new knowledge base\nentry.\n\nI consulted
with @isaclfreire offline about this change and we agreed to\nremove the
error state completely, as error states are not necessary in\ncases
where all fields in a form are mandatory in order to continue.\n\n###
Before\n\n\nhttps://github.com/user-attachments/assets/32aab4ad-e558-4e9c-b9c1-b54e9e20b362\n\n###
After\n\n\nhttps://github.com/user-attachments/assets/4b873397-66fc-4b9c-be0c-dc118e54bfc9\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*`
labels.","sha":"03b3779f9522285742619d7efd137baa7e1d388d"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","9.1","8.19"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/227098","number":227098,"mergeCommit":{"message":"Remove
error state on title field (#227098)\n\n## Summary\n\nCloses
https://github.com/elastic/kibana/issues/224820\n\nRemove error state
for name field when creating a new knowledge base\nentry.\n\nI consulted
with @isaclfreire offline about this change and we agreed to\nremove the
error state completely, as error states are not necessary in\ncases
where all fields in a form are mandatory in order to continue.\n\n###
Before\n\n\nhttps://github.com/user-attachments/assets/32aab4ad-e558-4e9c-b9c1-b54e9e20b362\n\n###
After\n\n\nhttps://github.com/user-attachments/assets/4b873397-66fc-4b9c-be0c-dc118e54bfc9\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*`
labels.","sha":"03b3779f9522285742619d7efd137baa7e1d388d"}}]}]
BACKPORT-->

Co-authored-by: Eleonora <52030607+eleonoramicozzi@users.noreply.github.com>
kertal pushed a commit to kertal/kibana that referenced this pull request Jul 25, 2025
## Summary

Closes elastic#224820

Remove error state for name field when creating a new knowledge base
entry.

I consulted with @isaclfreire offline about this change and we agreed to
remove the error state completely, as error states are not necessary in
cases where all fields in a form are mandatory in order to continue.

### Before


https://github.com/user-attachments/assets/32aab4ad-e558-4e9c-b9c1-b54e9e20b362

### After


https://github.com/user-attachments/assets/4b873397-66fc-4b9c-be0c-dc118e54bfc9

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Obs AI Assistant] New knowledge base entry name field is in error state

4 participants