Skip to content

URL editor improvements #69413

@streamich

Description

@streamich

Create a more powerful and user-friendly text input for editing URLs with interpolated Handlebars variables. This should probably be Monaco editor with custom written or modified mode.

Possible features:

  • Syntax highlighting for Handlebars variables.
  • Syntax highlighting for different URL parts.
  • Autocompletion for Handlebars variables.
  • Description text for each variable inside autocomplete popup.
  • Show autocomplete popup on Handlebars variable mouse click/hover.

👆 Those are just preliminary ideas. Maybe some of the above would be hard to impossible to achieve.

Q: Maybe this should be a EUI component? Similar to markdown editor: https://elastic.github.io/eui/#/editors-syntax/markdown-editor

Q: Maybe this should be related to custom api actions builder? @Dosant: to link an issue

Part of #55324

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions