Skip to content

feat(linux-grid): set a time or a timestamp's time from a clock in Row Details - #3881

Merged
datlechin merged 14 commits into
TableProApp:mainfrom
sedax90:feat/linux-grid-time-picker
Oct 30, 2026
Merged

datlechin merged 14 commits into
TableProApp:mainfrom
sedax90:feat/linux-grid-time-picker

Conversation

@sedax90

@sedax90 sedax90 commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Row Details shows a clock beside the calendar for a time of day and a timestamp: hour, minute and second spin buttons in a popover, two digits each, 24-hour like the value text. A date, a duration (MySQL TIME) and a locked cell get none.
  • It opens on the value's time, or now for NULL and DEFAULT. Set, or Enter in a field, writes the value as typing would, into the row and field it opened on only.
  • Only the clock in the text changes: day, fraction, offset and era stay. The clock is found by the text's own form, so a year past 9999, T, one-digit parts and SQLite text such as a timestamp in a TIME column keep every other part.
  • A day without a time gets the time after it. Text with neither (NULL, infinity) becomes a new value: today for a timestamp, and the local offset at that moment where the column stores one.
  • Enter goes through the popover's default widget; the icon is in the set all_icons_resolve checks; field and button labels carry a translation context.

Screenshots

Light Dark
Before Before, light Before, dark
After After, light After, dark

Test plan

  • row_detail::tests unit tests: only the clock changes across text forms, a value with no time, the offset of the set moment across a DST change, reading the time, where a clock is offered.
  • Widget tests: opens on the value with two-digit fields and Set writes it; Enter in a field writes it; a page that takes the row closes the clock and writes nothing.
  • verify.sh build, test tablepro row_detail (55 passed), test tablepro all_icons_resolve, lint.

@datlechin
datlechin merged commit 20b3466 into TableProApp:main Oct 30, 2026
69 of 72 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants