Adding new table rows is not possible if only the column header exists
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 659
- Forks
- 133
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 110
Description
Describe the bug
After I delete all existing rows on the table and only the column header exist, is non possibility to add a new row. You can only delete the table on the table navbar or create new columns.
To Reproduce
Steps to reproduce the behavior:
- create a table
- delete all rows (without the column header)
- add new row --> no way exist
Expected behavior
When non row exist, a possibility to add a new row
Screenshots
Table navbar
Table column menu bar
Server details:
- Nextcloud version: [30.0.4]
- PHP Version: [8.3]
- Database: [postgres 14]
- text version: [4.1.0]
Client details:
- OS: [Ubuntu]
- Browser: [Firefox]
- Browser version: [133]
- Device: [ desktop]
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
Start by reproducing the issue in the table UI: create a table, delete every row while keeping the column header, and inspect the available table and column menus. The fix is complete when a new row can be added in this empty-table state and the existing table actions still work.
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
- 45/100