Genesis

Packages

@marktiderman/genesis-studio

0.5.0Primitive · Data

Deprecated: renamed to @marktiderman/genesis-data. A thin re-export of genesis-data with the same entries and stylesheets, kept for two minor versions. Part of the Genesis framework.

**Renamed to `@marktiderman/genesis-data`.** Genesis Data Studio is now **Genesis Data**: the name "Genesis Studio" now belongs to the creator suite (Map, Imago and the tools beside them).

This package is a thin re-export of @marktiderman/genesis-data with the same entries and stylesheets, kept for two minor versions so apps can move at their own pace. To move an app, change the imports and the dependency from `@marktiderman/genesis-studio` to `@marktiderman/genesis-data`; the exports are the same. `genesis doctor` reports any import of the old name that is left as `deprecated-import`.

pnpm add @marktiderman/genesis-studio

READMEChangelognpm

@marktiderman/genesis-studio

Components (22)

  • ActivityPanelBeta

    The studio's activity panel: recent changes, with undo.

  • BulkEditDialogBeta

    Set one field on every selected row: all of them change, or none do.

  • CalendarViewBeta

    A month of the table's rows, placed by a date field and drawn by Genesis UI's EventCalendar. One request per month grid (a `gte`/`lt` range on the field covering the month's whole weeks, so the days shown from the months either side are ...

  • DataStudioExperimental

    Genesis Data: a sidebar of the tables this user may see, and a sheet of the selected one where a cell is edited in place. Every edit carries the version it was read at, so a stale edit is refused rather than saved over someone else's, an...

  • ExportButtonBeta

    The studio toolbar's export button, with its progress.

  • FieldIconBeta

    An icon for the field's type, as Airtable shows in each column header.

  • FilterBuilderBeta

    Filters by field, with the operators that fit each field's type.

  • GroupPickerBeta

    Group rows by a field with few distinct values.

  • HideFieldsBeta

    Which fields the grid shows.

  • ImportDialogBeta

    CSV import (DATA.md P2): map the file's columns to fields, check every row against the database with a dry run, then add them all in one transaction. Nothing is coerced or dropped: a value that won't convert is listed, with the database'...

  • KanbanViewBeta

    A board of the table's rows, one column per value of `field`. Each column is paged on its own (50 cards, then "Load more"), with the same filters, search and sort as the table. Moving a card is a version-checked update of `field`, so a c...

  • NewRowButtonBeta

    The studio toolbar's new row button, disabled with a reason when not allowed.

  • PillBeta

    A value drawn as a tinted pill.

  • RecordPanelBeta

    One record, in a side panel: its fields as a form, the records it links to and from, and its audit history. The URL names it, so the link copies.

  • RelationPickerBeta

    Pick a linked row by searching the target resource on the server, so it works for a table of any size; shows each row by its label field.

  • SearchBoxBeta

    Search every text field, as you type.

  • SheetViewBeta

    The spreadsheet view of a table (DATA.md P2). A paste across rows is saved in ONE transaction through `updateMany`: every row changes, at the version it was read, or none does, and the failing cells are marked.

  • SortBuilderBeta

    Sort by several fields, first one first.

  • TableTabsBeta

    Table tabs across the top, as Airtable shows a base's tables.

  • ViewFieldPickerBeta

    Which field lays out the board or the calendar.

  • ViewsPanelBeta

    The left column: how to look at this table, and the views you've saved.

  • ViewSwitchBeta

    Switch between the table, the spreadsheet grid, a board and a calendar.

Hooks (2)

  • useHistoryRouter

    For an app with no router: keeps the studio's state in the current page's query string through the History API.

  • useMemoryRouter

    A router held in memory, for tests and embedded previews.

Other exports (3)

createSearchParamsRouter · locationFromSearchParams · searchParamsFromLocation

And 7 types.