nextcloud / nextcloud/tables

Enable real-time data entry: use previous row's values as defaults for next row

Open
#1,273 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted needs discussion
Dominant language
JavaScript
Stars
214
Forks
52
Avg merge
1d 10h
Merged PRs (30d)
82

Description

Is your feature request related to a problem? Please describe.

To log events as they happen in real-time, we often want fields pre-filled not with a static value, but with a value that is likely to be the same as the previous row. A single "default" value as set in the column settings is too slow to go in and change when an event changes in real-time, so replicating the value from the previous row (but allowing easy, fast changes in the "Create row" window would be a big improvement!

Describe the solution you'd like

In the "Edit column" window, adjacent to the "Default" text-entry box, provide a switch that says "Use previous row value as default" which, when selected, pre-populates the column value with the value from the previous row in the "Create row" data-entry window. This should still allow the user to change the value in the box, but speeds data entry while logging real-time events.

If the field value changes, then subsequent rows should use the newly-changed value rather than the "default" value from the column settings.

Describe alternatives you've considered

No response

Additional context

No response

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

Start by locating the Edit column and Create row entry points in the JavaScript frontend, then trace how column defaults are loaded and how newly entered values are retained. Done means a column switch can enable previous-row defaults, the Create row field remains editable, and later rows use the latest entered value.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.