Skip to content

Commit 8807dcb

Browse files
feat(ui): a record page's related tab is the child object's full list (#36129)
repo:objectstack#1 · os-sales · session_01L6bhgTKEPqtmiK9SGpHsmW Fixes #35892 ## What changes On a record page, a related list opened as its own tab (and the same list in the record drawer) now works like the child object's list page: - **Head row.** The child list's tile and title on the left, **+ Add** on the right. The **Open in list** (↗) button is gone. - **Condition row.** The list page's own Sort (several levels) and Filter: `@object-ui/plugin-list` exports it as `ListConditionsBlock`, and because `plugin-detail` sits below `plugin-list`, the record page hands it to the tab through a new slot, `RelatedListConditionsSlotContext` (`@object-ui/plugin-detail`), the way `RecordBodyTableEditorSlotContext` hands in the edit-state editor. It is a host element, not a registered node type, so the registered-types ratchet (every registered type is authorable) is untouched. No view switch, view settings or search. Its labels fold to icons by the row's own width (narrow tab, drawer, phone); no horizontal page scroll. - **Grid.** The list page's grid host keys: column menu, select-first cells with the list page's cell editing wherever the reader may edit the child object (`listInlineEdit` affordance), row selection with the floating bulk bar, and the footer row. Bulk delete is offered where the host hands a row delete and the child object's `relatedRowDelete` row of the affordance map allows it (the write census names the new site). It asks once, counting the rows, then sends the selection (up to every matching row) to the data source's `bulkDelete` in one call; only a data source without one falls back to the row delete the list was handed, all rows settled together, as the list page settles them. The tab then shows how many rows were deleted and how many failed, in the list page's own words (`objectActions.bulkDeleteSuccess` / `bulkDeletePartial`). Footer calculations run over every matching row (`findParams`), not the loaded ones. A status-grouped tab draws no footer row. - **Loading.** Rows load as the reader scrolls (a growing window of 50, sentinel 320px ahead) instead of a pager. - **Counts.** The tab title keeps counting every child; a filter never changes it. The footer counts the rows the filter keeps. A filter that matches nothing says so and keeps the condition row. - **What lasts.** Sort, filter and footer picks last while the reader stays on the record: across its tabs and between its page and drawer. They are keyed by the reader as well as the record (as the list page's draft is keyed by its reader), so another account signed in on the same tab starts from the default. A reload or another record clears them; a drawer opened over another record counts as another record, so the tab behind it starts from the default again, which is the ruling's "another record". **Discard** appears once something changed and puts the tab back; there is no Save. The list page's Discard and this one are one component, `ConditionDiscardButton` (`app-shell`'s `ListDraftActions` now draws it; same look and behaviour as #36026). - A header sort pick joins an existing multi-level sort by the list page's rule, now shared as `withHeaderSortPick` (`@object-ui/core`). - The record page (`app-shell` `RecordDetailView`, which the drawer draws too) fills the slot with the block, lazy-loaded with the first tab that draws it. Supersedes the remembered related-tab sort of #35601 (取代 #35601 的记住排序), on ruling #35892 (comment) (session-only). Column widths and order for the related tab move to the reader's browser, as the list page keeps them, on ruling #35892 (comment): `RelatedList` no longer reads or writes them in `sys_user_preference`; the `RelatedListPreference` type stays (no narrowing). Keeping widths after sign-out is #36110, not this PR. **Upgrade note** (also in the changeset): the header sort and the column widths and order an earlier version remembered for a related tab no longer apply (子表页签里以前记住的排序不再生效). The tab opens in its declared order and its widths start from the default once. Nothing stored is deleted. The default sort and columns of every related list are unchanged. ## Why #35892 (epic #35590): the related tab was a reduced list with a pager and an exit to the list page; the reader had to leave the record to sort, filter or total the children. ## Verification Evidence: `/mnt/project-files/build-seat1/35892/` (index `README.md`, shots in `shots/`), from `examples/app-crm` with this branch's console build, Acme Corp → Opportunities (70 children). Light and dark at 1440, 720, 375, plus the record pane opened from the list (app-crm has no drawer navigation). Measured in the real console: - Sort + filter chips, Discard after a change and gone after Discard; kept after another tab and back; cleared by reload. - Tab title 70 while the footer says 14 records under a filter. - Scroll loads 50 → 70. - Footer Sum 3,349,000.00 equals the API total over all 70 rows. - 375: labels fold to icons, no horizontal page scroll. **#36023 leftover 2 (三项实测, in the tab at 1440):** 1. Enter while editing Deal Value (9000 → 9100): `PATCH crm_opportunity {"amount":9100}`, toast "1 row saved", the selection stays on the same cell. 2. Tab while editing (9100 → 9000): `PATCH {"amount":9000}`, the selection moves one cell right. 3. Enter on Expected Close: the calendar opens directly under the cell (cell bottom 345px, popover top 347px, same left edge) with Today / Tomorrow / Next week / Clear; picking the 15th sends `PATCH {"close_date":"2026-12-15"}`, the cell reads "Dec 15" and the calendar closes. The edited record was restored afterwards. Tests: - New: `RelatedList.tab-35892.test.tsx` (13, including a host that supplies no condition row, the batch delete in one call, a partial failure on both paths, and a second reader starting from the default), `relatedTabConditions-35892.test.ts` (5), `ListConditionsBlock-35892.test.tsx` (5). - Rewritten: `RelatedList.enlargedListGrid-28865.test.tsx` (growing window, scroll load, footer, column widths no longer stored server-side), `RelatedList.enlargedToolbar-27524.test.tsx` (no ↗, header sort not written, remembered sort not read). - `vitest run packages/plugin-detail`: 398 files / 3664 tests passed. plugin-list, i18n, app-shell views, core: see the checks. - Builds of `@object-ui/plugin-list`, `plugin-detail`, `app-shell`, console: pass. ESLint on the changed files: 0 errors. Eager ui-components budget unchanged in kind (339.5 / 346.7 KB). Overlap (`scripts/pm/overlap-check.mjs` at 5b76d7a): merges cleanly with `origin/main` (main merged in at 5bad102, which also took #36096: the `@object-ui/core` import line of `ui/packages/plugin-list/src/ListView.tsx` keeps both `isObjectExportOffered` and `withHeaderSortPick`) and with #36131, #36128, #36123, #36114. With #36136 one line conflicts: the `@object-ui/plugin-detail` import line of `ui/packages/app-shell/src/views/RecordDetailView.tsx`, where this PR adds `RelatedListConditionsSlotContext` (plus the `./relatedListConditions.js` import) and #36136 adds `stepDisplayText` to the `./RecordApprovalsPanel.js` import. Whichever lands second keeps both. Clause-②: yes Metadata-protocol: none Clause-② is a widening: new exports `ListConditionsBlock` and `ListConditionsHostProps` (`@object-ui/plugin-list`), the slot `RelatedListConditionsSlotContext` and `RelatedListConditionsProps` (`@object-ui/plugin-detail`), new exports `ConditionDiscardButton` and its type `ConditionDiscardButtonProps` (`@object-ui/plugin-list`) and `withHeaderSortPick` (`@object-ui/core`), new i18n keys in every locale pack (`listConditions.chips.discard`, `listConditions.chips.discardHint`, `detail.relatedNoMatches`, `detail.deleteRowsTitle`, and the count family `detail.deleteRowsConfirmation` with the plural slots each pack needs); nothing removed or renamed. ## Human Minimum - [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic. - [x] 2. Every name I added uses the casing for its kind. - [x] 3. No formatter ran; `pnpm lint` passes. - [x] 4. One issue, one branch off an up-to-date `main`, one pull request. - [x] 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset. - [x] 6. `packages/spec` touched: its generated artifacts are regenerated and committed. (not touched) - [x] 7. No hand edits to `content/docs/references/`, `packages/*/CHANGELOG.md` or `content/docs/releases/`. - [x] 8. Title, body and comments are in English. - [x] The *Before Submitting* list in CONTRIBUTING.md is done. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01L6bhgTKEPqtmiK9SGpHsmW <!-- signed: repo:objectstack#1 · os-sales · session_01L6bhgTKEPqtmiK9SGpHsmW --> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 31b2666 commit 8807dcb

35 files changed

Lines changed: 1881 additions & 288 deletions
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
'@object-ui/core': patch
3+
'@object-ui/i18n': patch
4+
'@object-ui/plugin-list': patch
5+
'@object-ui/plugin-detail': patch
6+
'@object-ui/app-shell': patch
7+
---
8+
9+
feat(ui): a record page's related tab is the child object's full list
10+
11+
Clause-②: yes (widening) — a new export `ListConditionsBlock` (`@object-ui/plugin-list`, the condition row as a host element, not a registered node type) and its `ListConditionsHostProps`; a new slot `RelatedListConditionsSlotContext` and its `RelatedListConditionsProps` (`@object-ui/plugin-detail`), which the record page fills (`@object-ui/app-shell`); new exports `ConditionDiscardButton` and its type `ConditionDiscardButtonProps` (`@object-ui/plugin-list`) and `withHeaderSortPick` (`@object-ui/core`); new i18n keys in every `@object-ui/i18n` locale pack (`listConditions.chips.discard`, `listConditions.chips.discardHint`, `detail.relatedNoMatches`, `detail.deleteRowsTitle`, and the count family `detail.deleteRowsConfirmation` with its plural slots `_zero`, `_one`, `_two`, `_few`, `_many`, `_other` as each pack needs them); nothing removed or renamed
12+
Metadata-protocol: none
13+
14+
On a record page, a related list opened as its own tab now works like the object's list page:
15+
16+
- The first row names the child list (its tile and title) on the left and keeps **+ Add** on the right. The **Open in list** button is gone.
17+
- The second row is the list page's own condition row: **Sort** (several levels) and **Filter**, with no view switch, view settings or search. On a narrow tab or in the drawer their labels fold to icons.
18+
- The table is the list page's grid: the column menu, cell editing as on the list page wherever the reader may edit the child object, row selection with the floating bulk bar (bulk delete asks once, deletes the selection in one batch call where the data source has one, and says how many rows went and how many did not), and the footer row, whose calculations cover every matching row, not just the loaded ones. A tab grouped by status draws no footer row.
19+
- Rows load as the page scrolls instead of in pages.
20+
- The tab title still counts every child; the footer counts the rows the filter keeps.
21+
- What the reader changes (sort, filter, footer calculations) lasts while they stay on the record, for that reader only, across its tabs and between its page and its drawer, and is gone after a reload or on another record. **Discard** appears once something changed and puts the tab back; there is no Save. The list page's Discard and this one are one button.
22+
23+
Upgrade note: the header sort and the column widths and order that an earlier version remembered for a related tab in a reader's record-page preference (`sys_user_preference`) no longer apply: the tab opens in its declared order, and its column widths and order are now kept in the reader's browser, as the list page's are, so they start from the default once. Nothing stored is deleted. The default sort and columns of every related list are unchanged.
24+
25+
`@object-ui/core` adds `withHeaderSortPick`, the list page's rule for how a header sort joins an existing multi-level sort, now shared with the related tab. `@object-ui/app-shell`'s list Discard is drawn by `ConditionDiscardButton`; it looks and behaves as before.

‎ui/packages/app-shell/src/views/ListDraftActions.tsx‎

Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import {
3131
cn,
3232
} from '@object-ui/components';
3333
import { useObjectTranslation } from '@object-ui/i18n';
34-
import type { ListViewProps } from '@object-ui/plugin-list';
34+
import { ConditionDiscardButton, type ListViewProps } from '@object-ui/plugin-list';
3535
import { ChevronDown, CopyPlus, RotateCcw, Save } from 'lucide-react';
3636

3737
/** One part of a list that can differ from its view (`ListView`'s vocabulary). */
@@ -112,18 +112,13 @@ export function ListDraftActions({
112112
return (
113113
<span className={cn('flex shrink-0 items-center gap-1', className)} data-testid="list-draft">
114114
{/* The wide face: Discard beside Save ▾. */}
115-
<Button
116-
type="button"
117-
variant="ghost"
118-
size="sm"
115+
<ConditionDiscardButton
116+
label={discardLabel}
119117
title={discardTitle}
120118
data-testid="list-draft-discard"
121-
className="hidden h-6 shrink-0 gap-1 px-1.5 text-[13px] font-normal text-muted-foreground shadow-none @[40rem]/list:inline-flex"
122-
onClick={onDiscard}
123-
>
124-
<RotateCcw className="h-3.5 w-3.5" aria-hidden="true" />
125-
{discardLabel}
126-
</Button>
119+
className="hidden @[40rem]/list:inline-flex"
120+
onDiscard={onDiscard}
121+
/>
127122
{offersSave ? (
128123
<DropdownMenu>
129124
<DropdownMenuTrigger asChild>
@@ -169,18 +164,13 @@ export function ListDraftActions({
169164
</DropdownMenuContent>
170165
</DropdownMenu>
171166
) : (
172-
<Button
173-
type="button"
174-
variant="ghost"
175-
size="sm"
167+
<ConditionDiscardButton
168+
label={discardLabel}
176169
title={discardTitle}
177170
data-testid="list-draft-compact-discard"
178-
className="inline-flex h-6 shrink-0 gap-1 px-1.5 text-[13px] font-normal text-muted-foreground shadow-none @[40rem]/list:hidden"
179-
onClick={onDiscard}
180-
>
181-
<RotateCcw className="h-3.5 w-3.5" aria-hidden="true" />
182-
{discardLabel}
183-
</Button>
171+
className="inline-flex @[40rem]/list:hidden"
172+
onDiscard={onDiscard}
173+
/>
184174
)}
185175
</span>
186176
);

‎ui/packages/app-shell/src/views/RecordDetailView.tsx‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ import type { ConsoleActionDispatch } from '../consoleActionDispatch.js';
8585
import { useRecordApprovals, openApprovalOf, isSubmitterOf } from '../hooks/useRecordApprovals.js';
8686
import { RecordAttachmentsPanel } from './RecordAttachmentsPanel.js';
8787
import { RecordApprovalsPanel } from './RecordApprovalsPanel.js';
88-
import { ApprovalBandOnceScope, RecordStageMenu } from '@object-ui/plugin-detail';
88+
import { ApprovalBandOnceScope, RecordStageMenu, RelatedListConditionsSlotContext } from '@object-ui/plugin-detail';
89+
import { renderRelatedListConditions } from './relatedListConditions.js';
8990
import { DeclaredActionsBar } from './DeclaredActionsBar.js';
9091
import {
9192
SYS_APPROVAL_REQUEST_OBJECT,
@@ -5661,6 +5662,8 @@ export function RecordDetailView({ dataSource, objects, onEdit, objectNameOverri
56615662
attachments: !!(filesEnabled && !hasAttachments && pureRecordId),
56625663
});
56635664
const pageTree = (
5665+
// objectstack#35892 — a related tab draws the list page's condition row.
5666+
<RelatedListConditionsSlotContext.Provider value={renderRelatedListConditions}>
56645667
<RecordHeaderBarContext.Provider value={headerBarForRecord}>
56655668
<RecordHeaderStateContext.Provider value={recordHeaderState}>
56665669
<RecordReadReportContext.Provider value={objectName === SYS_APPROVAL_REQUEST_OBJECT ? reportRecordRead : null}>
@@ -6171,6 +6174,7 @@ export function RecordDetailView({ dataSource, objects, onEdit, objectNameOverri
61716174
</RecordReadReportContext.Provider>
61726175
</RecordHeaderStateContext.Provider>
61736176
</RecordHeaderBarContext.Provider>
6177+
</RelatedListConditionsSlotContext.Provider>
61746178
);
61756179
// A drawer draws this view embedded and is its own host. A page is the host
61766180
// of the drawer its related rows and lookups open over it
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/**
2+
* ObjectUI
3+
* Copyright (c) 2024-present ObjectStack Inc.
4+
*
5+
* This source code is licensed under the MIT license found in the
6+
* LICENSE file in the root directory of this source tree.
7+
*/
8+
9+
/**
10+
* The condition row a record page's related tab draws (objectstack#35892):
11+
* the list page's own Sort and Filter, `@object-ui/plugin-list`'s
12+
* `ListConditionsBlock`. `@object-ui/plugin-detail` draws the tab but cannot
13+
* import `plugin-list` (which depends on it), so the record page hands the
14+
* block in through `RelatedListConditionsSlotContext`. It loads with the first
15+
* tab that draws it, as `plugin-list` loads for the list page.
16+
*/
17+
18+
import { lazy, Suspense } from 'react';
19+
import type { RelatedListConditionsProps } from '@object-ui/plugin-detail';
20+
21+
const ListConditionsBlock = lazy(() =>
22+
import('@object-ui/plugin-list').then((m) => ({ default: m.ListConditionsBlock })),
23+
);
24+
25+
/** The record page's `RelatedListConditionsSlotContext` value. */
26+
export function renderRelatedListConditions(props: RelatedListConditionsProps) {
27+
return (
28+
<Suspense fallback={null}>
29+
<ListConditionsBlock {...props} />
30+
</Suspense>
31+
);
32+
}

‎ui/packages/core/src/index.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ export {
9898
readObjectSortability,
9999
isPlatformSortableField,
100100
filterPlatformSortableSort,
101+
withHeaderSortPick,
101102
} from './utils/column-sortability.js';
102103
// [objectstack#27504] The served packaged-action activation: which declared
103104
// actions the installation switched off, stamped by the data layer and asked

‎ui/packages/core/src/utils/column-sortability.ts‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,3 +225,19 @@ export function filterPlatformSortableSort<T extends { field?: string }>(
225225
if (!Array.isArray(sort)) return [];
226226
return sort.filter((item) => isPlatformSortableField(sortability, item?.field));
227227
}
228+
229+
/**
230+
* A column-header sort pick laid over the sort in force (objectstack#35876):
231+
* the header menu hands back the ONE column the reader picked. With no sort
232+
* or a single level, that column replaces the sort. With two levels or more it
233+
* becomes the first level and every other level keeps its place after it; a
234+
* column already in the sort moves up and takes the picked direction. No level
235+
* is dropped. Shared by every host that draws the header menu over its own
236+
* sort (the list page, a record page's related tab), so one click means one
237+
* thing on both.
238+
*/
239+
export function withHeaderSortPick<T extends { field: string }>(current: readonly T[], picked: readonly T[]): T[] {
240+
return picked.length === 1 && current.length >= 2
241+
? [picked[0], ...current.filter((s) => s.field !== picked[0].field)]
242+
: [...picked];
243+
}

‎ui/packages/i18n/src/locales/ar.ts‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1819,6 +1819,16 @@ const ar = {
18191819
deleteRow: "حذف",
18201820
deleteRowConfirmation: "حذف “{{name}}”؟",
18211821
deleteRowTitle: "حذف السجل",
1822+
// objectstack#35892 — the related tab: a filter that matches nothing, and its bulk delete.
1823+
relatedNoMatches: "لا توجد سجلات تطابق عامل التصفية",
1824+
deleteRowsTitle: "حذف السجلات المحددة",
1825+
deleteRowsConfirmation: "سيتم حذف {{count}} سجل. لا يمكن التراجع عن ذلك.",
1826+
deleteRowsConfirmation_zero: "سيتم حذف {{count}} سجل. لا يمكن التراجع عن ذلك.",
1827+
deleteRowsConfirmation_one: "سيتم حذف {{count}} سجل. لا يمكن التراجع عن ذلك.",
1828+
deleteRowsConfirmation_two: "سيتم حذف سجلين ({{count}}). لا يمكن التراجع عن ذلك.",
1829+
deleteRowsConfirmation_few: "سيتم حذف {{count}} سجلات. لا يمكن التراجع عن ذلك.",
1830+
deleteRowsConfirmation_many: "سيتم حذف {{count}} سجلًا. لا يمكن التراجع عن ذلك.",
1831+
deleteRowsConfirmation_other: "سيتم حذف {{count}} سجل. لا يمكن التراجع عن ذلك.",
18221832
actions: "الإجراءات",
18231833
previousPage: "السابق",
18241834
nextPage: "التالي",
@@ -5703,6 +5713,8 @@ const ar = {
57035713
sortedBy: "مرتب حسب {{field}}",
57045714
reset: 'إعادة تعيين',
57055715
resetHint: 'العودة إلى طريقة العرض المحفوظة',
5716+
discard: 'تجاهل',
5717+
discardHint: 'العودة إلى الفرز والتصفية الافتراضيين',
57065718
remove: 'إزالة {{label}}',
57075719
toggleSort: 'عكس {{label}}',
57085720
dragSort: 'اسحب لتغيير أولوية الفرز',

‎ui/packages/i18n/src/locales/de.ts‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1612,6 +1612,12 @@ const de = {
16121612
deleteRow: "Löschen",
16131613
deleteRowConfirmation: "Möchten Sie „{{name}}“ wirklich löschen?",
16141614
deleteRowTitle: "Datensatz löschen",
1615+
// objectstack#35892 — the related tab: a filter that matches nothing, and its bulk delete.
1616+
relatedNoMatches: "Keine Datensätze entsprechen dem Filter",
1617+
deleteRowsTitle: "Ausgewählte Datensätze löschen",
1618+
deleteRowsConfirmation: "{{count}} Datensätze werden gelöscht. Dies kann nicht rückgängig gemacht werden.",
1619+
deleteRowsConfirmation_one: "{{count}} Datensatz wird gelöscht. Dies kann nicht rückgängig gemacht werden.",
1620+
deleteRowsConfirmation_other: "{{count}} Datensätze werden gelöscht. Dies kann nicht rückgängig gemacht werden.",
16151621
actions: "Aktionen",
16161622
previousPage: "Zurück",
16171623
nextPage: "Weiter",
@@ -5097,6 +5103,8 @@ const de = {
50975103
sortedBy: "Sortiert nach {{field}}",
50985104
reset: 'Zurücksetzen',
50995105
resetHint: 'Zurück zur gespeicherten Ansicht',
5106+
discard: 'Verwerfen',
5107+
discardHint: 'Zurück zur Standardsortierung und zum Standardfilter',
51005108
remove: '{{label}} entfernen',
51015109
toggleSort: '{{label}} umkehren',
51025110
dragSort: 'Ziehen, um die Sortierpriorität zu ändern',

‎ui/packages/i18n/src/locales/en.ts‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1828,6 +1828,12 @@ const en = {
18281828
deleteRow: 'Delete',
18291829
deleteRowConfirmation: 'Are you sure you want to delete "{{name}}"?',
18301830
deleteRowTitle: 'Delete record',
1831+
// objectstack#35892 — the related tab: a filter that matches nothing, and its bulk delete.
1832+
relatedNoMatches: 'No records match the filter',
1833+
deleteRowsTitle: 'Delete selected records',
1834+
deleteRowsConfirmation: '{{count}} records will be deleted. This cannot be undone.',
1835+
deleteRowsConfirmation_one: '{{count}} record will be deleted. This cannot be undone.',
1836+
deleteRowsConfirmation_other: '{{count}} records will be deleted. This cannot be undone.',
18311837
actions: 'Actions',
18321838
previousPage: 'Previous',
18331839
nextPage: 'Next',
@@ -5857,6 +5863,8 @@ const en = {
58575863
sortedBy: 'Sorted by {{field}}',
58585864
reset: 'Reset',
58595865
resetHint: 'Back to the view as saved',
5866+
discard: 'Discard',
5867+
discardHint: 'Back to the default sort and filter',
58605868
remove: 'Remove {{label}}',
58615869
toggleSort: 'Reverse {{label}}',
58625870
dragSort: 'Drag to change the sort priority',

‎ui/packages/i18n/src/locales/es.ts‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1665,6 +1665,13 @@ const es = {
16651665
deleteRow: "Eliminar",
16661666
deleteRowConfirmation: "¿Eliminar “{{name}}”?",
16671667
deleteRowTitle: "Eliminar registro",
1668+
// objectstack#35892 — the related tab: a filter that matches nothing, and its bulk delete.
1669+
relatedNoMatches: "Ningún registro coincide con el filtro",
1670+
deleteRowsTitle: "Eliminar los registros seleccionados",
1671+
deleteRowsConfirmation: "Se eliminarán {{count}} registros. Esto no se puede deshacer.",
1672+
deleteRowsConfirmation_one: "Se eliminará {{count}} registro. Esto no se puede deshacer.",
1673+
deleteRowsConfirmation_many: "Se eliminarán {{count}} de registros. Esto no se puede deshacer.",
1674+
deleteRowsConfirmation_other: "Se eliminarán {{count}} registros. Esto no se puede deshacer.",
16681675
actions: "Acciones",
16691676
previousPage: "Anterior",
16701677
nextPage: "Siguiente",
@@ -5249,6 +5256,8 @@ const es = {
52495256
sortedBy: "Ordenado por {{field}}",
52505257
reset: 'Restablecer',
52515258
resetHint: 'Volver a la vista guardada',
5259+
discard: 'Descartar',
5260+
discardHint: 'Volver al orden y filtro predeterminados',
52525261
remove: 'Quitar {{label}}',
52535262
toggleSort: 'Invertir {{label}}',
52545263
dragSort: 'Arrastra para cambiar la prioridad del orden',

0 commit comments

Comments
 (0)