You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(datagrid): edit date cells inline and add date presets to Set Value (#1233)
* fix(datagrid): edit date cells inline and add date presets to Set Value
* refactor(datagrid): consolidate isTimeOnly and tighten Set Value DATE presets
* fix(datagrid): isolate inline editor undo, dismiss editor on row mutations, follow FK preview on row changes
* fix(datagrid): route Cmd+Z through first responder and track FK popover by focused row
Copy file name to clipboardExpand all lines: CHANGELOG.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,13 +7,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
### Added
11
+
12
+
- Right-click Set Value submenu on date, datetime, and timestamp cells now offers current-value SQL function presets (`CURRENT_DATE` for date columns, `CURRENT_TIME` for time columns, `NOW()` and `CURRENT_TIMESTAMP` for datetime and timestamp columns).
13
+
10
14
### Changed
11
15
12
16
- The connection window shows the connecting state inline with a Cancel button instead of an empty sidebar.
17
+
- Date, datetime, and timestamp cells use the same inline text editor as other columns; the popover date picker is removed.
18
+
- The foreign key preview popover now follows the selected row when you arrow up or down, refreshing both the anchor and the displayed reference row. Arrow left or right (column change) and row mutations dismiss the popover.
13
19
14
20
### Fixed
15
21
16
22
- Closing the connection window during a slow connect no longer leaves a stuck "Connecting…" window or a stray failure alert (#1185).
23
+
- Editing a NULL cell and dismissing without typing no longer flips the value to an empty string or marks the row as modified.
24
+
- Data grid cells with a chevron accessory (enum, boolean, JSON, blob) no longer truncate short values that fit the full cell width.
25
+
- Double-clicking an enum, set, or boolean cell now opens the inline text editor; the chevron still opens the picker popover.
26
+
- Double-clicking another cell while editing no longer delays the new editor or silently drops pending changes on the previous cell.
27
+
- DATE columns no longer render a phantom `00:00:00` time suffix; the display now matches the stored value and the editor.
28
+
- Editing a cell, dismissing the editor, then pressing Cmd+Z multiple times no longer crashes. The inline editor now keeps its typing-undo stack private instead of pushing entries onto the window's undo manager.
29
+
- Pressing Cmd+Z right after Add Row no longer leaves a stranded cell editor floating over the removed row; the editor now dismisses whenever rows are inserted, removed, or replaced.
30
+
- Adding a new row no longer renders the new row view on top of the auto-opened cell editor mid-animation; the editor is kept at the front of the table view's subview list whenever a sibling is added.
31
+
- Cmd+Z and Cmd+Shift+Z while editing a cell now undo and redo typing in the editor instead of jumping straight to data-grid changes; the menu commands route through the first responder before falling back to the window's undo manager.
0 commit comments