Edit a looked-up field from its table cell
Closed
FE
3d ago+11651+11651+01234567890123456789012345678901234567890123456789-2566-2566-0123456789012345678901234567890123456789
Makes a lookup cell editable: editing Company › Name from a People row updates the company. Last PR of the lookup-columns part of the stack.
Changes
- Saving: the lookup cell updates the related record through the table's own updater (
RecordTableUpdateContext), which now takes an optional object name. - Read-only state is derived from the related record: read-only when there is no related record, when the row is read-only or the table's cells are non-editable, when the target field is restricted, or when the user cannot update that field on the related object.
- Editor state is keyed by the column and the related record's field, so opening the cell drafts and focuses that field (keyed by the row, the input opened empty and Enter did not save).
Stack
Merge top to bottom. Size counts changed lines outside tests and generated files: S < 300, M 300–800, L > 800. Sizes are a snapshot and are not kept in sync with every push.
| # | PR | Area | What it does | Size | Code | Tests / generated |
|---|---|---|---|---|---|---|
| 1 | #30339 | server | Per-column settings on view fields (label, record limit) | S | +300 −2 | +703 −152 |
| 2 | #30341 | server | A view can be owned by a one-to-many view field (scope view) | M | +584 −56 | +892 −4 |
| 3 | #30347 | server | Honor filter / orderBy / first on nested one-to-many connections | M | +462 −86 | +509 |
| 4 | #30465 | server | Each alias of a nested relation gets its own arguments and rows | L | +556 −273 | +665 −21 |
| 5 | #30348 | front | Extra table columns and the Edit column panel | M | +718 −76 | +152 −30 |
| 6 | #30466 | server | upsertViewFieldWithScope: save a column and its scope in one migration (~600 lines moved out of view-widget-upsert) | L | +1323 −567 | +1061 −256 |
| 7 | #30468 | front | Query a relation under an alias with its own filter, sort and limit | S | +140 −19 | — |
| 8 | #30469 | front | Save record filters and sorts to a given view (replaces the old hooks) | M | +341 −348 | — |
| 9 | #30349 | front | Scope one-to-many columns from the Edit column panel | L | +1053 −92 | +316 −18 |
| 10 | #30438 | server | Lookup: a view field shows one field of its related record | M | +290 −39 | +476 −4 |
| 11 | #30439 | front | Lookup columns in the table | L | +712 −188 | +283 −30 |
| 12 | #30440 👈 | front | Edit a looked-up field from its cell | S | +93 −35 | — |
| 13 | #30458 | front | Lookup and scoped columns on boards and calendars | M | +404 −284 | +140 −7 |
Off the main line:
- #30450 (server, S, code +31, tests +222): Expose lookup columns and column scopes in the view AI tools (branches off #30438)
Testing
- Browser check on People: edited a row's Company › Name to "Google Inc" and pressed Enter. The company was renamed in the database, and every cell showing it updated, including the Company columns and the other Google rows.
- Typecheck and lint.
Generated by Claude Code