apache / apache/texera

Error prompting message is not user-friendly

Open
#2,735 2 comments 0 reactions 2 assignees Claimed by @roshiiiz View on GitHub
frontend
Dominant language
Scala
Stars
314
Forks
187
Avg merge
1d 21h
Merged PRs (30d)
214

Description

During the editing phase, the error message is not readable by regular users, and can make users panic.

![2024-07-15 11 24 20](https://github.com/user-attachments/assets/4fc5bdad-2f33-41ef-aae0-97ec168d33db)

Take this editing for example, users just drag a project operator, but receive an error says "IllegalArgumentException". Although for texera people, we know this error is caused by `Project` operator having no attributes selected by the user yet. But for new users, it is discouraging to see such error without adding anything to the `Project` operator yet.

We should definitely improve this experience.

### Some thoughts

- UI side: add a warning section to the result panel.
- Message side: wrap the error message: `IllegalArgumentException`, with more readable message, e.g. Please select at least 1 attribute to project.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.