@burdenoff/microfe-labsofscience 2026.827.1 → 2026.829.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/labsofscience/LabsOfScienceRoot.d.ts.map +1 -1
  2. package/dist/labsofscience/LabsOfScienceRoot.js +54 -57
  3. package/dist/labsofscience/LabsOfScienceRoot.js.map +1 -1
  4. package/dist/labsofscience/components/BottomNav.d.ts.map +1 -1
  5. package/dist/labsofscience/components/BottomNav.js +67 -63
  6. package/dist/labsofscience/components/BottomNav.js.map +1 -1
  7. package/dist/labsofscience/hooks/index.d.ts +1 -0
  8. package/dist/labsofscience/hooks/index.d.ts.map +1 -1
  9. package/dist/labsofscience/hooks/useTr.d.ts +17 -0
  10. package/dist/labsofscience/hooks/useTr.d.ts.map +1 -0
  11. package/dist/labsofscience/hooks/useTr.js +14 -0
  12. package/dist/labsofscience/hooks/useTr.js.map +1 -0
  13. package/dist/labsofscience/pages/OverviewPage.d.ts.map +1 -1
  14. package/dist/labsofscience/pages/OverviewPage.js +187 -161
  15. package/dist/labsofscience/pages/OverviewPage.js.map +1 -1
  16. package/dist/labsofscience/pages/datasets/DatasetsListPage.d.ts.map +1 -1
  17. package/dist/labsofscience/pages/datasets/DatasetsListPage.js +129 -128
  18. package/dist/labsofscience/pages/datasets/DatasetsListPage.js.map +1 -1
  19. package/dist/labsofscience/pages/experiments/ExperimentsListPage.d.ts.map +1 -1
  20. package/dist/labsofscience/pages/experiments/ExperimentsListPage.js +148 -147
  21. package/dist/labsofscience/pages/experiments/ExperimentsListPage.js.map +1 -1
  22. package/dist/labsofscience/pages/instruments/InstrumentsListPage.d.ts.map +1 -1
  23. package/dist/labsofscience/pages/instruments/InstrumentsListPage.js +140 -139
  24. package/dist/labsofscience/pages/instruments/InstrumentsListPage.js.map +1 -1
  25. package/dist/labsofscience/pages/inventory/InventoryListPage.d.ts.map +1 -1
  26. package/dist/labsofscience/pages/inventory/InventoryListPage.js +169 -168
  27. package/dist/labsofscience/pages/inventory/InventoryListPage.js.map +1 -1
  28. package/dist/labsofscience/pages/notebook/NotebookListPage.d.ts.map +1 -1
  29. package/dist/labsofscience/pages/notebook/NotebookListPage.js +123 -122
  30. package/dist/labsofscience/pages/notebook/NotebookListPage.js.map +1 -1
  31. package/dist/labsofscience/pages/projects/ProjectsListPage.d.ts.map +1 -1
  32. package/dist/labsofscience/pages/projects/ProjectsListPage.js +141 -140
  33. package/dist/labsofscience/pages/projects/ProjectsListPage.js.map +1 -1
  34. package/dist/labsofscience/pages/protocols/ProtocolsListPage.d.ts.map +1 -1
  35. package/dist/labsofscience/pages/protocols/ProtocolsListPage.js +123 -122
  36. package/dist/labsofscience/pages/protocols/ProtocolsListPage.js.map +1 -1
  37. package/package.json +1 -1
@@ -1,190 +1,191 @@
1
- import { useLabsOfScience as e } from "../../context/LabsOfScienceContext.js";
2
- import { PageLayout as t } from "../../components/PageLayout.js";
3
- import { StatusBadge as n } from "../../components/StatusBadge.js";
4
- import { QueryBoundary as r } from "../../components/QueryStates.js";
5
- import { useLabActorNames as i } from "../../hooks/useLabActorNames.js";
6
- import { useExperiments as a, useProjects as o } from "../../hooks/useLabsOfScienceApi.js";
7
- import { formatDateShort as s, titleCase as c } from "../../utils/formatters.js";
8
- import { ExperimentFormDialog as l } from "./ExperimentFormDialog.js";
9
- import { EmptyState as u } from "../../components/EmptyState.js";
10
- import { ListSearchInput as d } from "../../components/ListSearchInput.js";
11
- import { useDebouncedValue as f } from "../../utils/useDebouncedValue.js";
12
- import { useState as p } from "react";
13
- import { FlaskConical as m, Plus as h } from "lucide-react";
14
- import { Fragment as g, jsx as _, jsxs as v } from "react/jsx-runtime";
15
- import { Button as y, Pagination as b, ResponsiveTable as x, Select as S, SelectContent as C, SelectItem as w, SelectTrigger as T, SelectValue as E } from "@burdenoff/fe-libs/ui";
1
+ import { useTr as e } from "../../hooks/useTr.js";
2
+ import { useLabsOfScience as t } from "../../context/LabsOfScienceContext.js";
3
+ import { PageLayout as n } from "../../components/PageLayout.js";
4
+ import { StatusBadge as r } from "../../components/StatusBadge.js";
5
+ import { QueryBoundary as i } from "../../components/QueryStates.js";
6
+ import { useLabActorNames as a } from "../../hooks/useLabActorNames.js";
7
+ import { useExperiments as o, useProjects as s } from "../../hooks/useLabsOfScienceApi.js";
8
+ import { formatDateShort as c, titleCase as l } from "../../utils/formatters.js";
9
+ import { ExperimentFormDialog as u } from "./ExperimentFormDialog.js";
10
+ import { EmptyState as d } from "../../components/EmptyState.js";
11
+ import { ListSearchInput as f } from "../../components/ListSearchInput.js";
12
+ import { useDebouncedValue as p } from "../../utils/useDebouncedValue.js";
13
+ import { useState as m } from "react";
14
+ import { FlaskConical as h, Plus as g } from "lucide-react";
15
+ import { Fragment as _, jsx as v, jsxs as y } from "react/jsx-runtime";
16
+ import { Button as b, Pagination as x, ResponsiveTable as S, Select as C, SelectContent as w, SelectItem as T, SelectTrigger as E, SelectValue as D } from "@burdenoff/fe-libs/ui";
16
17
  //#region src/labsofscience/pages/experiments/ExperimentsListPage.tsx
17
- var D = 20, O = 100, k = [
18
+ var O = 20, k = 100, A = [
18
19
  "DESIGN",
19
20
  "RUNNING",
20
21
  "ANALYSIS",
21
22
  "COMPLETE",
22
23
  "ABANDONED"
23
24
  ];
24
- function A() {
25
- let { navigateTo: A } = e(), [j, M] = p(1), [N, P] = p("ALL"), [F, I] = p("ALL"), [L, R] = p(""), [z, B] = p(!1), V = f(L.trim()), H = o({ pagination: {
26
- limit: O,
25
+ function j() {
26
+ let { navigateTo: j } = t(), M = e(), [N, P] = m(1), [F, I] = m("ALL"), [L, R] = m("ALL"), [z, B] = m(""), [V, H] = m(!1), U = p(z.trim()), W = s({ pagination: {
27
+ limit: k,
27
28
  offset: 0
28
- } }).data?.items ?? [], U = a({
29
- projectId: F === "ALL" ? void 0 : F,
30
- status: N === "ALL" ? void 0 : N,
31
- search: V || void 0,
29
+ } }).data?.items ?? [], G = o({
30
+ projectId: L === "ALL" ? void 0 : L,
31
+ status: F === "ALL" ? void 0 : F,
32
+ search: U || void 0,
32
33
  pagination: {
33
- limit: D,
34
- offset: (j - 1) * D
34
+ limit: O,
35
+ offset: (N - 1) * O
35
36
  }
36
- }), W = U.data?.items ?? [], G = U.data?.pageInfo.hasMore ?? !1, { nameOf: K } = i(W.map((e) => e.leadResearcherId));
37
- return /* @__PURE__ */ v(t, {
38
- title: "Experiments",
39
- description: "Designed studies that produce reproducible runs.",
40
- actions: /* @__PURE__ */ v(y, {
41
- onClick: () => B(!0),
42
- children: [/* @__PURE__ */ _(h, { className: "mr-2 h-4 w-4" }), "New experiment"]
37
+ }), K = G.data?.items ?? [], q = G.data?.pageInfo.hasMore ?? !1, { nameOf: J } = a(K.map((e) => e.leadResearcherId)), Y = [
38
+ {
39
+ key: "title",
40
+ header: M("labsofscience.experiments.column.experiment", "Experiment"),
41
+ priority: "primary",
42
+ cell: (e) => /* @__PURE__ */ y("div", {
43
+ className: "min-w-0",
44
+ children: [/* @__PURE__ */ v("p", {
45
+ className: "truncate font-medium text-text-primary",
46
+ children: e.title
47
+ }), e.hypothesis && /* @__PURE__ */ v("p", {
48
+ className: "truncate text-xs text-text-tertiary",
49
+ children: e.hypothesis
50
+ })]
51
+ })
52
+ },
53
+ {
54
+ key: "project",
55
+ header: M("labsofscience.experiments.column.project", "Project"),
56
+ cell: (e) => /* @__PURE__ */ v("button", {
57
+ type: "button",
58
+ className: "truncate text-left text-text-link hover:underline",
59
+ onClick: (t) => {
60
+ t.stopPropagation(), j(`projects/${e.projectId}`);
61
+ },
62
+ children: e.project?.name ?? M("labsofscience.experiments.openProject", "Open project")
63
+ })
64
+ },
65
+ {
66
+ key: "status",
67
+ header: M("labsofscience.experiments.column.status", "Status"),
68
+ priority: "primary",
69
+ cell: (e) => /* @__PURE__ */ v(r, { status: e.status })
70
+ },
71
+ {
72
+ key: "leadResearcher",
73
+ header: M("labsofscience.experiments.column.leadResearcher", "Lead researcher"),
74
+ cell: (e) => /* @__PURE__ */ v("span", {
75
+ className: "text-text-secondary",
76
+ children: J(e.leadResearcherId)
77
+ })
78
+ },
79
+ {
80
+ key: "protocol",
81
+ header: M("labsofscience.experiments.column.protocol", "Protocol"),
82
+ priority: "hidden-on-mobile",
83
+ cell: (e) => /* @__PURE__ */ v("span", {
84
+ className: "text-text-secondary",
85
+ children: e.protocolId ? M("labsofscience.experiments.linked", "Linked") : "—"
86
+ })
87
+ },
88
+ {
89
+ key: "updatedAt",
90
+ header: M("labsofscience.experiments.column.updated", "Updated"),
91
+ priority: "hidden-on-mobile",
92
+ cell: (e) => /* @__PURE__ */ v("span", {
93
+ className: "text-text-secondary",
94
+ children: c(e.updatedAt)
95
+ })
96
+ }
97
+ ];
98
+ return /* @__PURE__ */ y(n, {
99
+ title: M("labsofscience.experiments.title", "Experiments"),
100
+ description: M("labsofscience.experiments.description", "Designed studies that produce reproducible runs."),
101
+ actions: /* @__PURE__ */ y(b, {
102
+ onClick: () => H(!0),
103
+ children: [/* @__PURE__ */ v(g, { className: "mr-2 h-4 w-4" }), M("labsofscience.experiments.newButton", "New experiment")]
43
104
  }),
44
- children: [/* @__PURE__ */ v("div", {
105
+ children: [/* @__PURE__ */ y("div", {
45
106
  className: "space-y-4",
46
- children: [/* @__PURE__ */ v("div", {
107
+ children: [/* @__PURE__ */ y("div", {
47
108
  className: "flex flex-wrap items-center gap-3",
48
109
  children: [
49
- /* @__PURE__ */ _(d, {
50
- value: L,
51
- ariaLabel: "Search experiments",
52
- placeholder: "Search experiments…",
110
+ /* @__PURE__ */ v(f, {
111
+ value: z,
112
+ ariaLabel: M("labsofscience.experiments.searchAria", "Search experiments"),
113
+ placeholder: M("labsofscience.experiments.searchPlaceholder", "Search experiments…"),
53
114
  onChange: (e) => {
54
- R(e), M(1);
115
+ B(e), P(1);
55
116
  }
56
117
  }),
57
- /* @__PURE__ */ v(S, {
58
- value: F,
118
+ /* @__PURE__ */ y(C, {
119
+ value: L,
59
120
  onValueChange: (e) => {
60
- I(e), M(1);
121
+ R(e), P(1);
61
122
  },
62
- children: [/* @__PURE__ */ _(T, {
123
+ children: [/* @__PURE__ */ v(E, {
63
124
  className: "w-full sm:w-56",
64
- "aria-label": "Filter by project",
65
- children: /* @__PURE__ */ _(E, { placeholder: "All projects" })
66
- }), /* @__PURE__ */ v(C, { children: [/* @__PURE__ */ _(w, {
125
+ "aria-label": M("labsofscience.experiments.projectFilterAria", "Filter by project"),
126
+ children: /* @__PURE__ */ v(D, { placeholder: M("labsofscience.experiments.allProjects", "All projects") })
127
+ }), /* @__PURE__ */ y(w, { children: [/* @__PURE__ */ v(T, {
67
128
  value: "ALL",
68
- children: "All projects"
69
- }), H.map((e) => /* @__PURE__ */ _(w, {
129
+ children: M("labsofscience.experiments.allProjects", "All projects")
130
+ }), W.map((e) => /* @__PURE__ */ v(T, {
70
131
  value: e.id,
71
132
  children: e.name
72
133
  }, e.id))] })]
73
134
  }),
74
- /* @__PURE__ */ v(S, {
75
- value: N,
135
+ /* @__PURE__ */ y(C, {
136
+ value: F,
76
137
  onValueChange: (e) => {
77
- P(e), M(1);
138
+ I(e), P(1);
78
139
  },
79
- children: [/* @__PURE__ */ _(T, {
140
+ children: [/* @__PURE__ */ v(E, {
80
141
  className: "w-full sm:w-48",
81
- "aria-label": "Filter by status",
82
- children: /* @__PURE__ */ _(E, { placeholder: "All statuses" })
83
- }), /* @__PURE__ */ v(C, { children: [/* @__PURE__ */ _(w, {
142
+ "aria-label": M("labsofscience.experiments.statusFilterAria", "Filter by status"),
143
+ children: /* @__PURE__ */ v(D, { placeholder: M("labsofscience.experiments.allStatuses", "All statuses") })
144
+ }), /* @__PURE__ */ y(w, { children: [/* @__PURE__ */ v(T, {
84
145
  value: "ALL",
85
- children: "All statuses"
86
- }), k.map((e) => /* @__PURE__ */ _(w, {
146
+ children: M("labsofscience.experiments.allStatuses", "All statuses")
147
+ }), A.map((e) => /* @__PURE__ */ v(T, {
87
148
  value: e,
88
- children: c(e)
149
+ children: l(e)
89
150
  }, e))] })]
90
151
  })
91
152
  ]
92
- }), /* @__PURE__ */ _(r, {
93
- isLoading: U.isLoading,
94
- isError: U.isError,
95
- error: U.error,
96
- onRetry: () => void U.refetch(),
97
- loadingLabel: "Loading experiments…",
98
- children: W.length === 0 ? /* @__PURE__ */ _(u, {
99
- icon: /* @__PURE__ */ _(m, { className: "h-10 w-10" }),
100
- title: "No experiments found",
101
- description: "Design an experiment within a project to start running it.",
102
- action: /* @__PURE__ */ v(y, {
103
- onClick: () => B(!0),
104
- children: [/* @__PURE__ */ _(h, { className: "mr-2 h-4 w-4" }), "New experiment"]
153
+ }), /* @__PURE__ */ v(i, {
154
+ isLoading: G.isLoading,
155
+ isError: G.isError,
156
+ error: G.error,
157
+ onRetry: () => void G.refetch(),
158
+ loadingLabel: M("labsofscience.experiments.loading", "Loading experiments…"),
159
+ children: K.length === 0 ? /* @__PURE__ */ v(d, {
160
+ icon: /* @__PURE__ */ v(h, { className: "h-10 w-10" }),
161
+ title: M("labsofscience.experiments.emptyTitle", "No experiments found"),
162
+ description: M("labsofscience.experiments.emptyDescription", "Design an experiment within a project to start running it."),
163
+ action: /* @__PURE__ */ y(b, {
164
+ onClick: () => H(!0),
165
+ children: [/* @__PURE__ */ v(g, { className: "mr-2 h-4 w-4" }), M("labsofscience.experiments.newButton", "New experiment")]
105
166
  })
106
- }) : /* @__PURE__ */ v(g, { children: [/* @__PURE__ */ _(x, {
107
- columns: [
108
- {
109
- key: "title",
110
- header: "Experiment",
111
- priority: "primary",
112
- cell: (e) => /* @__PURE__ */ v("div", {
113
- className: "min-w-0",
114
- children: [/* @__PURE__ */ _("p", {
115
- className: "truncate font-medium text-text-primary",
116
- children: e.title
117
- }), e.hypothesis && /* @__PURE__ */ _("p", {
118
- className: "truncate text-xs text-text-tertiary",
119
- children: e.hypothesis
120
- })]
121
- })
122
- },
123
- {
124
- key: "project",
125
- header: "Project",
126
- cell: (e) => /* @__PURE__ */ _("button", {
127
- type: "button",
128
- className: "truncate text-left text-text-link hover:underline",
129
- onClick: (t) => {
130
- t.stopPropagation(), A(`projects/${e.projectId}`);
131
- },
132
- children: e.project?.name ?? "Open project"
133
- })
134
- },
135
- {
136
- key: "status",
137
- header: "Status",
138
- priority: "primary",
139
- cell: (e) => /* @__PURE__ */ _(n, { status: e.status })
140
- },
141
- {
142
- key: "leadResearcher",
143
- header: "Lead researcher",
144
- cell: (e) => /* @__PURE__ */ _("span", {
145
- className: "text-text-secondary",
146
- children: K(e.leadResearcherId)
147
- })
148
- },
149
- {
150
- key: "protocol",
151
- header: "Protocol",
152
- priority: "hidden-on-mobile",
153
- cell: (e) => /* @__PURE__ */ _("span", {
154
- className: "text-text-secondary",
155
- children: e.protocolId ? "Linked" : "—"
156
- })
157
- },
158
- {
159
- key: "updatedAt",
160
- header: "Updated",
161
- priority: "hidden-on-mobile",
162
- cell: (e) => /* @__PURE__ */ _("span", {
163
- className: "text-text-secondary",
164
- children: s(e.updatedAt)
165
- })
166
- }
167
- ],
168
- data: W,
167
+ }) : /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v(S, {
168
+ columns: Y,
169
+ data: K,
169
170
  rowKey: (e) => e.id,
170
- onRowClick: (e) => A(`experiments/${e.id}`)
171
- }), /* @__PURE__ */ _(b, {
172
- page: j,
173
- pageSize: D,
174
- hasNextPage: G,
175
- hasPreviousPage: j > 1,
176
- loading: U.isFetching,
177
- onPageChange: M
171
+ onRowClick: (e) => j(`experiments/${e.id}`)
172
+ }), /* @__PURE__ */ v(x, {
173
+ page: N,
174
+ pageSize: O,
175
+ hasNextPage: q,
176
+ hasPreviousPage: N > 1,
177
+ loading: G.isFetching,
178
+ onPageChange: P
178
179
  })] })
179
180
  })]
180
- }), /* @__PURE__ */ _(l, {
181
- open: z,
182
- onOpenChange: B,
183
- onSaved: (e) => A(`experiments/${e.id}`)
181
+ }), /* @__PURE__ */ v(u, {
182
+ open: V,
183
+ onOpenChange: H,
184
+ onSaved: (e) => j(`experiments/${e.id}`)
184
185
  })]
185
186
  });
186
187
  }
187
188
  //#endregion
188
- export { A as ExperimentsListPage };
189
+ export { j as ExperimentsListPage };
189
190
 
190
191
  //# sourceMappingURL=ExperimentsListPage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExperimentsListPage.js","names":[],"sources":["../../../../src/labsofscience/pages/experiments/ExperimentsListPage.tsx"],"sourcesContent":["/**\n * Experiments list page\n * @module labsofscience/pages/experiments\n */\n\nimport { useState } from 'react';\nimport { FlaskConical, Plus } from 'lucide-react';\nimport {\n Button,\n Pagination,\n ResponsiveTable,\n Select,\n SelectContent,\n SelectItem,\n SelectTrigger,\n SelectValue,\n type ResponsiveTableColumn,\n} from '@burdenoff/fe-libs/ui';\nimport { PageLayout } from '../../components/PageLayout';\nimport { StatusBadge } from '../../components/StatusBadge';\nimport { EmptyState } from '../../components/EmptyState';\nimport { QueryBoundary } from '../../components/QueryStates';\nimport { ListSearchInput } from '../../components/ListSearchInput';\nimport { useLabsOfScience } from '../../context/LabsOfScienceContext';\nimport { useExperiments, useProjects } from '../../hooks/useLabsOfScienceApi';\nimport { useLabActorNames } from '../../hooks/useLabActorNames';\nimport type { LabExperimentListItem, LabExperimentStatus } from '../../types';\nimport { formatDateShort, titleCase } from '../../utils/formatters';\nimport { useDebouncedValue } from '../../utils/useDebouncedValue';\nimport { ExperimentFormDialog } from './ExperimentFormDialog';\n\nconst PAGE_SIZE = 20;\n/**\n * Ceiling on the project picker that backs the project filter. The filter posts\n * `labListExperiments(projectId:)` — a real server-side filter — so this bounds\n * only how many projects are OFFERED, never which experiments come back.\n */\nconst PROJECT_PICKER_LIMIT = 100;\nconst STATUS_OPTIONS: LabExperimentStatus[] = [\n 'DESIGN',\n 'RUNNING',\n 'ANALYSIS',\n 'COMPLETE',\n 'ABANDONED',\n];\n\nexport function ExperimentsListPage() {\n const { navigateTo } = useLabsOfScience();\n const [page, setPage] = useState(1);\n const [status, setStatus] = useState<LabExperimentStatus | 'ALL'>('ALL');\n const [projectId, setProjectId] = useState<string>('ALL');\n const [search, setSearch] = useState('');\n const [createOpen, setCreateOpen] = useState(false);\n const debouncedSearch = useDebouncedValue(search.trim());\n\n const projects = useProjects({ pagination: { limit: PROJECT_PICKER_LIMIT, offset: 0 } });\n const projectOptions = projects.data?.items ?? [];\n\n const query = useExperiments({\n projectId: projectId === 'ALL' ? undefined : projectId,\n status: status === 'ALL' ? undefined : status,\n search: debouncedSearch || undefined,\n pagination: { limit: PAGE_SIZE, offset: (page - 1) * PAGE_SIZE },\n });\n\n const items = query.data?.items ?? [];\n const hasMore = query.data?.pageInfo.hasMore ?? false;\n const { nameOf } = useLabActorNames(items.map((item) => item.leadResearcherId));\n\n const columns: ResponsiveTableColumn<LabExperimentListItem>[] = [\n {\n key: 'title',\n header: 'Experiment',\n priority: 'primary',\n cell: (row) => (\n <div className=\"min-w-0\">\n <p className=\"truncate font-medium text-text-primary\">{row.title}</p>\n {row.hypothesis && (\n <p className=\"truncate text-xs text-text-tertiary\">{row.hypothesis}</p>\n )}\n </div>\n ),\n },\n {\n key: 'project',\n header: 'Project',\n cell: (row) => (\n <button\n type=\"button\"\n className=\"truncate text-left text-text-link hover:underline\"\n onClick={(event) => {\n event.stopPropagation();\n navigateTo(`projects/${row.projectId}`);\n }}\n >\n {row.project?.name ?? 'Open project'}\n </button>\n ),\n },\n {\n key: 'status',\n header: 'Status',\n priority: 'primary',\n cell: (row) => <StatusBadge status={row.status} />,\n },\n {\n key: 'leadResearcher',\n header: 'Lead researcher',\n cell: (row) => <span className=\"text-text-secondary\">{nameOf(row.leadResearcherId)}</span>,\n },\n {\n key: 'protocol',\n header: 'Protocol',\n priority: 'hidden-on-mobile',\n cell: (row) => <span className=\"text-text-secondary\">{row.protocolId ? 'Linked' : '—'}</span>,\n },\n {\n key: 'updatedAt',\n header: 'Updated',\n priority: 'hidden-on-mobile',\n cell: (row) => <span className=\"text-text-secondary\">{formatDateShort(row.updatedAt)}</span>,\n },\n ];\n\n return (\n <PageLayout\n title=\"Experiments\"\n description=\"Designed studies that produce reproducible runs.\"\n actions={\n <Button onClick={() => setCreateOpen(true)}>\n <Plus className=\"mr-2 h-4 w-4\" />\n New experiment\n </Button>\n }\n >\n <div className=\"space-y-4\">\n <div className=\"flex flex-wrap items-center gap-3\">\n <ListSearchInput\n value={search}\n ariaLabel=\"Search experiments\"\n placeholder=\"Search experiments…\"\n onChange={(value) => {\n setSearch(value);\n setPage(1);\n }}\n />\n <Select\n value={projectId}\n onValueChange={(value) => {\n setProjectId(value);\n setPage(1);\n }}\n >\n <SelectTrigger className=\"w-full sm:w-56\" aria-label=\"Filter by project\">\n <SelectValue placeholder=\"All projects\" />\n </SelectTrigger>\n <SelectContent>\n <SelectItem value=\"ALL\">All projects</SelectItem>\n {projectOptions.map((option) => (\n <SelectItem key={option.id} value={option.id}>\n {option.name}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n <Select\n value={status}\n onValueChange={(value) => {\n setStatus(value as LabExperimentStatus | 'ALL');\n setPage(1);\n }}\n >\n <SelectTrigger className=\"w-full sm:w-48\" aria-label=\"Filter by status\">\n <SelectValue placeholder=\"All statuses\" />\n </SelectTrigger>\n <SelectContent>\n <SelectItem value=\"ALL\">All statuses</SelectItem>\n {STATUS_OPTIONS.map((option) => (\n <SelectItem key={option} value={option}>\n {titleCase(option)}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n </div>\n\n <QueryBoundary\n isLoading={query.isLoading}\n isError={query.isError}\n error={query.error}\n onRetry={() => void query.refetch()}\n loadingLabel=\"Loading experiments…\"\n >\n {items.length === 0 ? (\n <EmptyState\n icon={<FlaskConical className=\"h-10 w-10\" />}\n title=\"No experiments found\"\n description=\"Design an experiment within a project to start running it.\"\n action={\n <Button onClick={() => setCreateOpen(true)}>\n <Plus className=\"mr-2 h-4 w-4\" />\n New experiment\n </Button>\n }\n />\n ) : (\n <>\n <ResponsiveTable\n columns={columns}\n data={items}\n rowKey={(row) => row.id}\n onRowClick={(row) => navigateTo(`experiments/${row.id}`)}\n />\n <Pagination\n page={page}\n pageSize={PAGE_SIZE}\n hasNextPage={hasMore}\n hasPreviousPage={page > 1}\n loading={query.isFetching}\n onPageChange={setPage}\n />\n </>\n )}\n </QueryBoundary>\n </div>\n\n <ExperimentFormDialog\n open={createOpen}\n onOpenChange={setCreateOpen}\n onSaved={(experiment) => navigateTo(`experiments/${experiment.id}`)}\n />\n </PageLayout>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;AA+BA,IAAM,IAAY,IAMZ,IAAuB,KACvB,IAAwC;CAC5C;CACA;CACA;CACA;CACA;AACF;AAEA,SAAgB,IAAsB;CACpC,IAAM,EAAE,kBAAe,EAAiB,GAClC,CAAC,GAAM,KAAW,EAAS,CAAC,GAC5B,CAAC,GAAQ,KAAa,EAAsC,KAAK,GACjE,CAAC,GAAW,KAAgB,EAAiB,KAAK,GAClD,CAAC,GAAQ,KAAa,EAAS,EAAE,GACjC,CAAC,GAAY,KAAiB,EAAS,EAAK,GAC5C,IAAkB,EAAkB,EAAO,KAAK,CAAC,GAGjD,IADW,EAAY,EAAE,YAAY;EAAE,OAAO;EAAsB,QAAQ;CAAE,EAAE,CAC/D,CAAA,CAAS,MAAM,SAAS,CAAC,GAE1C,IAAQ,EAAe;EAC3B,WAAW,MAAc,QAAQ,KAAA,IAAY;EAC7C,QAAQ,MAAW,QAAQ,KAAA,IAAY;EACvC,QAAQ,KAAmB,KAAA;EAC3B,YAAY;GAAE,OAAO;GAAW,SAAS,IAAO,KAAK;EAAU;CACjE,CAAC,GAEK,IAAQ,EAAM,MAAM,SAAS,CAAC,GAC9B,IAAU,EAAM,MAAM,SAAS,WAAW,IAC1C,EAAE,cAAW,EAAiB,EAAM,KAAK,MAAS,EAAK,gBAAgB,CAAC;CAyD9E,OACE,kBAAC,GAAD;EACE,OAAM;EACN,aAAY;EACZ,SACE,kBAAC,GAAD;GAAQ,eAAe,EAAc,EAAI;aAAzC,CACE,kBAAC,GAAD,EAAM,WAAU,eAAgB,CAAA,GAAC,gBAE3B;;YA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KACQ;KACN,UAAU;KACV,aAAa;KACb,iBAAiB,IAAO;KACxB,SAAS,EAAM;KACf,cAAc;IACf,CAAA,CACD,EAAA,CAAA;GAES,CAAA,CACZ;MAEL,kBAAC,GAAD;GACE,MAAM;GACN,cAAc;GACd,UAAU,MAAe,EAAW,eAAe,EAAW,IAAI;EACnE,CAAA,CACS;;AAEhB"}
1
+ {"version":3,"file":"ExperimentsListPage.js","names":[],"sources":["../../../../src/labsofscience/pages/experiments/ExperimentsListPage.tsx"],"sourcesContent":["/**\n * Experiments list page\n * @module labsofscience/pages/experiments\n */\n\nimport { useState } from 'react';\nimport { FlaskConical, Plus } from 'lucide-react';\nimport {\n Button,\n Pagination,\n ResponsiveTable,\n Select,\n SelectContent,\n SelectItem,\n SelectTrigger,\n SelectValue,\n type ResponsiveTableColumn,\n} from '@burdenoff/fe-libs/ui';\nimport { PageLayout } from '../../components/PageLayout';\nimport { StatusBadge } from '../../components/StatusBadge';\nimport { EmptyState } from '../../components/EmptyState';\nimport { QueryBoundary } from '../../components/QueryStates';\nimport { ListSearchInput } from '../../components/ListSearchInput';\nimport { useLabsOfScience } from '../../context/LabsOfScienceContext';\nimport { useExperiments, useProjects } from '../../hooks/useLabsOfScienceApi';\nimport { useLabActorNames } from '../../hooks/useLabActorNames';\nimport { useTr } from '../../hooks/useTr';\nimport type { LabExperimentListItem, LabExperimentStatus } from '../../types';\nimport { formatDateShort, titleCase } from '../../utils/formatters';\nimport { useDebouncedValue } from '../../utils/useDebouncedValue';\nimport { ExperimentFormDialog } from './ExperimentFormDialog';\n\nconst PAGE_SIZE = 20;\n/**\n * Ceiling on the project picker that backs the project filter. The filter posts\n * `labListExperiments(projectId:)` — a real server-side filter — so this bounds\n * only how many projects are OFFERED, never which experiments come back.\n */\nconst PROJECT_PICKER_LIMIT = 100;\nconst STATUS_OPTIONS: LabExperimentStatus[] = [\n 'DESIGN',\n 'RUNNING',\n 'ANALYSIS',\n 'COMPLETE',\n 'ABANDONED',\n];\n\nexport function ExperimentsListPage() {\n const { navigateTo } = useLabsOfScience();\n const tr = useTr();\n const [page, setPage] = useState(1);\n const [status, setStatus] = useState<LabExperimentStatus | 'ALL'>('ALL');\n const [projectId, setProjectId] = useState<string>('ALL');\n const [search, setSearch] = useState('');\n const [createOpen, setCreateOpen] = useState(false);\n const debouncedSearch = useDebouncedValue(search.trim());\n\n const projects = useProjects({ pagination: { limit: PROJECT_PICKER_LIMIT, offset: 0 } });\n const projectOptions = projects.data?.items ?? [];\n\n const query = useExperiments({\n projectId: projectId === 'ALL' ? undefined : projectId,\n status: status === 'ALL' ? undefined : status,\n search: debouncedSearch || undefined,\n pagination: { limit: PAGE_SIZE, offset: (page - 1) * PAGE_SIZE },\n });\n\n const items = query.data?.items ?? [];\n const hasMore = query.data?.pageInfo.hasMore ?? false;\n const { nameOf } = useLabActorNames(items.map((item) => item.leadResearcherId));\n\n const columns: ResponsiveTableColumn<LabExperimentListItem>[] = [\n {\n key: 'title',\n header: tr('labsofscience.experiments.column.experiment', 'Experiment'),\n priority: 'primary',\n cell: (row) => (\n <div className=\"min-w-0\">\n <p className=\"truncate font-medium text-text-primary\">{row.title}</p>\n {row.hypothesis && (\n <p className=\"truncate text-xs text-text-tertiary\">{row.hypothesis}</p>\n )}\n </div>\n ),\n },\n {\n key: 'project',\n header: tr('labsofscience.experiments.column.project', 'Project'),\n cell: (row) => (\n <button\n type=\"button\"\n className=\"truncate text-left text-text-link hover:underline\"\n onClick={(event) => {\n event.stopPropagation();\n navigateTo(`projects/${row.projectId}`);\n }}\n >\n {row.project?.name ?? tr('labsofscience.experiments.openProject', 'Open project')}\n </button>\n ),\n },\n {\n key: 'status',\n header: tr('labsofscience.experiments.column.status', 'Status'),\n priority: 'primary',\n cell: (row) => <StatusBadge status={row.status} />,\n },\n {\n key: 'leadResearcher',\n header: tr('labsofscience.experiments.column.leadResearcher', 'Lead researcher'),\n cell: (row) => <span className=\"text-text-secondary\">{nameOf(row.leadResearcherId)}</span>,\n },\n {\n key: 'protocol',\n header: tr('labsofscience.experiments.column.protocol', 'Protocol'),\n priority: 'hidden-on-mobile',\n cell: (row) => (\n <span className=\"text-text-secondary\">\n {row.protocolId ? tr('labsofscience.experiments.linked', 'Linked') : '—'}\n </span>\n ),\n },\n {\n key: 'updatedAt',\n header: tr('labsofscience.experiments.column.updated', 'Updated'),\n priority: 'hidden-on-mobile',\n cell: (row) => <span className=\"text-text-secondary\">{formatDateShort(row.updatedAt)}</span>,\n },\n ];\n\n return (\n <PageLayout\n title={tr('labsofscience.experiments.title', 'Experiments')}\n description={tr(\n 'labsofscience.experiments.description',\n 'Designed studies that produce reproducible runs.'\n )}\n actions={\n <Button onClick={() => setCreateOpen(true)}>\n <Plus className=\"mr-2 h-4 w-4\" />\n {tr('labsofscience.experiments.newButton', 'New experiment')}\n </Button>\n }\n >\n <div className=\"space-y-4\">\n <div className=\"flex flex-wrap items-center gap-3\">\n <ListSearchInput\n value={search}\n ariaLabel={tr('labsofscience.experiments.searchAria', 'Search experiments')}\n placeholder={tr('labsofscience.experiments.searchPlaceholder', 'Search experiments…')}\n onChange={(value) => {\n setSearch(value);\n setPage(1);\n }}\n />\n <Select\n value={projectId}\n onValueChange={(value) => {\n setProjectId(value);\n setPage(1);\n }}\n >\n <SelectTrigger\n className=\"w-full sm:w-56\"\n aria-label={tr('labsofscience.experiments.projectFilterAria', 'Filter by project')}\n >\n <SelectValue\n placeholder={tr('labsofscience.experiments.allProjects', 'All projects')}\n />\n </SelectTrigger>\n <SelectContent>\n <SelectItem value=\"ALL\">\n {tr('labsofscience.experiments.allProjects', 'All projects')}\n </SelectItem>\n {projectOptions.map((option) => (\n <SelectItem key={option.id} value={option.id}>\n {option.name}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n <Select\n value={status}\n onValueChange={(value) => {\n setStatus(value as LabExperimentStatus | 'ALL');\n setPage(1);\n }}\n >\n <SelectTrigger\n className=\"w-full sm:w-48\"\n aria-label={tr('labsofscience.experiments.statusFilterAria', 'Filter by status')}\n >\n <SelectValue\n placeholder={tr('labsofscience.experiments.allStatuses', 'All statuses')}\n />\n </SelectTrigger>\n <SelectContent>\n <SelectItem value=\"ALL\">\n {tr('labsofscience.experiments.allStatuses', 'All statuses')}\n </SelectItem>\n {STATUS_OPTIONS.map((option) => (\n <SelectItem key={option} value={option}>\n {titleCase(option)}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n </div>\n\n <QueryBoundary\n isLoading={query.isLoading}\n isError={query.isError}\n error={query.error}\n onRetry={() => void query.refetch()}\n loadingLabel={tr('labsofscience.experiments.loading', 'Loading experiments…')}\n >\n {items.length === 0 ? (\n <EmptyState\n icon={<FlaskConical className=\"h-10 w-10\" />}\n title={tr('labsofscience.experiments.emptyTitle', 'No experiments found')}\n description={tr(\n 'labsofscience.experiments.emptyDescription',\n 'Design an experiment within a project to start running it.'\n )}\n action={\n <Button onClick={() => setCreateOpen(true)}>\n <Plus className=\"mr-2 h-4 w-4\" />\n {tr('labsofscience.experiments.newButton', 'New experiment')}\n </Button>\n }\n />\n ) : (\n <>\n <ResponsiveTable\n columns={columns}\n data={items}\n rowKey={(row) => row.id}\n onRowClick={(row) => navigateTo(`experiments/${row.id}`)}\n />\n <Pagination\n page={page}\n pageSize={PAGE_SIZE}\n hasNextPage={hasMore}\n hasPreviousPage={page > 1}\n loading={query.isFetching}\n onPageChange={setPage}\n />\n </>\n )}\n </QueryBoundary>\n </div>\n\n <ExperimentFormDialog\n open={createOpen}\n onOpenChange={setCreateOpen}\n onSaved={(experiment) => navigateTo(`experiments/${experiment.id}`)}\n />\n </PageLayout>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAgCA,IAAM,IAAY,IAMZ,IAAuB,KACvB,IAAwC;CAC5C;CACA;CACA;CACA;CACA;AACF;AAEA,SAAgB,IAAsB;CACpC,IAAM,EAAE,kBAAe,EAAiB,GAClC,IAAK,EAAM,GACX,CAAC,GAAM,KAAW,EAAS,CAAC,GAC5B,CAAC,GAAQ,KAAa,EAA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;KACN,UAAU;KACV,aAAa;KACb,iBAAiB,IAAO;KACxB,SAAS,EAAM;KACf,cAAc;IACf,CAAA,CACD,EAAA,CAAA;GAES,CAAA,CACZ;MAEL,kBAAC,GAAD;GACE,MAAM;GACN,cAAc;GACd,UAAU,MAAe,EAAW,eAAe,EAAW,IAAI;EACnE,CAAA,CACS;;AAEhB"}
@@ -1 +1 @@
1
- {"version":3,"file":"InstrumentsListPage.d.ts","sourceRoot":"","sources":["../../../../src/labsofscience/pages/instruments/InstrumentsListPage.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAgCH,wBAAgB,mBAAmB,gCAwLlC"}
1
+ {"version":3,"file":"InstrumentsListPage.d.ts","sourceRoot":"","sources":["../../../../src/labsofscience/pages/instruments/InstrumentsListPage.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAiCH,wBAAgB,mBAAmB,gCAwMlC"}