nextcloud / nextcloud/tables

Enable real-time data entry: update date/time when row is saved

Open
#1,272 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

discussion enhancement
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 open a new "Create row" window before an event occurs. But if several minutes pass before the next event occurs, any date/time columns populated with the "Set now as default" switch in the column settings will be several minutes out of date and require manual editing to fix. This is time-consuming during live-event data entry.

Describe the solution you'd like

In the "Create row" data-entry window, next to any entry boxes for time, include a checkbox that says "update to current time on save" which, when checked, would update the field to the current date/time when the "Save" button is clicked to save the row.

Describe alternatives you've considered

Alternately, I've considered requesting this to be a column setting: when editing a column with type "time," it currently gives an option for "set now as default." There could also be an alternate setting there that says, "set default time when row is saved."

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

Locate the Create row window and the time-column settings, then trace how entries are handled when Save is clicked. The work is done when users can opt to update a time field to the current date/time on save, with the behavior consistently applied to the relevant entries.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.