Skip to content

Commit d28d2de

Browse files
kibanamachinenikita-lavrovflash1293
authored
[9.2] [Streams] Minor UX Improvement - In Schema tab, move directly mapped fields above Inherited fields (#241265) (#241338)
# Backport This will backport the following commits from `main` to `9.2`: - [[Streams] Minor UX Improvement - In Schema tab, move directly mapped fields above Inherited fields (#241265)](#241265) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Nikita Lavrov","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-10-30T17:12:50Z","message":"[Streams] Minor UX Improvement - In Schema tab, move directly mapped fields above Inherited fields (#241265)\n\n## Summary\n\nCloses https://github.com/elastic/streams-program/issues/564\n\nThis PR moves directly mapped fields above Inherited fields.\n\n<img width=\"1920\" height=\"850\" alt=\"Screenshot 2025-10-30 at 12 17 29\"\nsrc=\"https://github.com/user-attachments/assets/3e412b04-724b-499f-8beb-4c74c822f696\"\n/>\n\nCo-authored-by: Joe Reuter <[email protected]>","sha":"c68ecb16dfd1f6f7589681b0844b7f0f6c97b8de","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:obs-ux-logs","backport:version","Feature:Streams","v9.2.0","v9.3.0"],"title":"[Streams] Minor UX Improvement - In Schema tab, move directly mapped fields above Inherited fields","number":241265,"url":"https://github.com/elastic/kibana/pull/241265","mergeCommit":{"message":"[Streams] Minor UX Improvement - In Schema tab, move directly mapped fields above Inherited fields (#241265)\n\n## Summary\n\nCloses https://github.com/elastic/streams-program/issues/564\n\nThis PR moves directly mapped fields above Inherited fields.\n\n<img width=\"1920\" height=\"850\" alt=\"Screenshot 2025-10-30 at 12 17 29\"\nsrc=\"https://github.com/user-attachments/assets/3e412b04-724b-499f-8beb-4c74c822f696\"\n/>\n\nCo-authored-by: Joe Reuter <[email protected]>","sha":"c68ecb16dfd1f6f7589681b0844b7f0f6c97b8de"}},"sourceBranch":"main","suggestedTargetBranches":["9.2"],"targetPullRequestStates":[{"branch":"9.2","label":"v9.2.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/241265","number":241265,"mergeCommit":{"message":"[Streams] Minor UX Improvement - In Schema tab, move directly mapped fields above Inherited fields (#241265)\n\n## Summary\n\nCloses https://github.com/elastic/streams-program/issues/564\n\nThis PR moves directly mapped fields above Inherited fields.\n\n<img width=\"1920\" height=\"850\" alt=\"Screenshot 2025-10-30 at 12 17 29\"\nsrc=\"https://github.com/user-attachments/assets/3e412b04-724b-499f-8beb-4c74c822f696\"\n/>\n\nCo-authored-by: Joe Reuter <[email protected]>","sha":"c68ecb16dfd1f6f7589681b0844b7f0f6c97b8de"}}]}] BACKPORT--> Co-authored-by: Nikita Lavrov <[email protected]> Co-authored-by: Joe Reuter <[email protected]>
1 parent df2473e commit d28d2de

File tree

1 file changed

+1
-1
lines changed
  • x-pack/platform/plugins/shared/streams_app/public/components/data_management/schema_editor/hooks

1 file changed

+1
-1
lines changed

x-pack/platform/plugins/shared/streams_app/public/components/data_management/schema_editor/hooks/use_schema_fields.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,5 +266,5 @@ export const getDefinitionFields = (definition: Streams.ingest.all.GetResponse):
266266
status: 'mapped',
267267
}));
268268

269-
return [...inheritedFields, ...mappedFields];
269+
return [...mappedFields, ...inheritedFields];
270270
};

0 commit comments

Comments
 (0)