nextcloud / nextcloud/tables

Allow changing default value for new rows only

Open
#1,288 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement
Dominant language
JavaScript
Stars
214
Forks
52
Avg merge
1d 10h
Merged PRs (30d)
82

Description

From my usability point of view, it would be cool if I can create a new column with a different value then the future default.

Usecase explanation:

  1. I track a weekly thing.
  2. From time to time a new column has to be created with Dropdown value "New", so they list as "New" on all old rows
  3. But now I would like to change the default to "Missed" afterwards, so that when I add a new "date row" they are correctly set as "Missed"

But when I change the default to "Missed", all existing rows with the default get their value changed to "Missed" as well, instead of staying on "New".

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name files, tests, or an entry point. Start by locating how column defaults are stored and applied when new rows are created, then trace what happens when a default changes. Done means newly added rows use the updated default while existing rows retain their previous values.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
database
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.