GreptimeTeam / GreptimeTeam/dashboard

Long PromQL expressions overflow the query editor and break the Metrics Query layout

Open Beginner friendly
#650 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Vue
Stars
110
Forks
29
Avg merge
14h 29m
Merged PRs (30d)
6

Description

### Description

When a long PromQL expression is pasted into the query input on the **Metrics Query** page, the query editor does not properly constrain or wrap the content.

The long query expands horizontally and causes the page layout to break.

### Steps to reproduce

1. Open GreptimeDB Dashboard.
2. Go to **Metrics Query**.
3. Paste a relatively long PromQL expression into the query input.
4. Observe the query editor and page layout.

https://github.com/user-attachments/assets/674571d4-3600-471b-ac43-067add895efd

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the frontend entry point for the Metrics Query page and reproduce the issue by pasting a long PromQL expression into the query input. Trace the query editor's layout and sizing styles; done means long expressions stay constrained without horizontal overflow or breaking the page layout.

Written by the indexing model from the issue text.

Assessment

Domain
frontend, web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.