TJ DB: While creating a table if user changes data type of id column to boolean, show error state in that column row
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 40.9k
- Forks
- 5.4k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 202
Description
What is the expected behaviour?
When such situation arises need to show an error: "Table must have at least one Primary key"
What is the current behaviour?
Current, when this happens, there is no clear indication of what happens next. Primary checkbox is unchecked, and disabled with tooltip that boolean cant be a PK. And create button stays disabled too.
Screenshots or Screencast
Contributor guide
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
No source file, test, or entry point is named. Reproduce the table-creation flow by changing the id column type to boolean, then trace the table-column row validation and create-button state. Done means the affected row clearly shows "Table must have at least one Primary key" and the resulting disabled state is understandable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100