From fddd73fdb1a244e65879999e2f5dc068907320ec Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 31 Jan 2026 12:59:09 +0200 Subject: [PATCH] feat(table): display action buttons on mobile --- .../src/widgets/collections/table/index.tsx | 7 +++---- apps/client/src/widgets/react/Button.tsx | 19 ++++++++++++++++--- 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/apps/client/src/widgets/collections/table/index.tsx b/apps/client/src/widgets/collections/table/index.tsx index 7028bd439..87745b3e2 100644 --- a/apps/client/src/widgets/collections/table/index.tsx +++ b/apps/client/src/widgets/collections/table/index.tsx @@ -3,12 +3,11 @@ import "./index.css"; import { useCallback, useContext, useEffect, useMemo, useRef, useState } from "preact/hooks"; import { DataTreeModule, EditModule, FormatModule, FrozenColumnsModule, InteractionModule, MoveColumnsModule, MoveRowsModule, Options, PersistenceModule, ResizeColumnsModule, RowComponent,SortModule, Tabulator as VanillaTabulator} from 'tabulator-tables'; -import FNote from "../../../entities/fnote"; import { t } from "../../../services/i18n"; import SpacedUpdate from "../../../services/spaced_update"; import AttributeDetailWidget from "../../attribute_widgets/attribute_detail"; import CollectionProperties from "../../note_bars/CollectionProperties"; -import Button from "../../react/Button"; +import { ButtonOrActionButton } from "../../react/Button"; import { useLegacyWidget } from "../../react/hooks"; import { ParentComponent } from "../../react/react_utils"; import { ViewModeProps } from "../interface"; @@ -53,8 +52,8 @@ export default function TableView({ note, noteIds, notePath, viewConfig, saveCon note={note} rightChildren={note.type !== "search" && <> -