Web Console: Add an ability to copy formatted error/success messages to clipboard
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 29
- Forks
- 39
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 4
Description
Is your feature request related to a problem?
Currently when copying a message from notification log, it's not formatted and therefore hard to read especially for longer queries.
Describe the solution you'd like.
Add an ability to copy the formatted message to clipboard - we already have a similar feature in a context menu in Schema table listing.
The copy action can be triggered in one of two ways:
- Clicking on a message (and maybe display a relevant tooltip on hover)
- Add an additional copy icon - the one we have next to QuestDB version number
Sample success message:
[09:59:21] SELECT * FROM weather LIMIT 1000
✔ Success: 1,000 rows in 86ms
+---------+---------+-------+-------+----------+
| Execute | Network | Total | Count | Compile |
+---------+---------+-------+-------+----------+
| 12.88ms | 73.12ms | 86ms | 0 | 515.97μs |
+---------+---------+-------+-------+----------+
Sample error message:
[10:09:13] SELECT * FROM weather2 LIMIT 1000
✖ Error: table does not exist [name=weather2]
Describe alternatives you've considered.
No response
Additional context.
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Web Console notification log and the Schema table context-menu copy implementation mentioned in the issue. Trace how formatted success and error messages are displayed, then verify that the chosen copy interaction places the formatted message on the clipboard.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100