Closes #3907. Selecting the text of a failed check's error message navigated away before the selection could be copied. The mouseup that ends a drag-select lands on the table row, which fires the row's onClick. Two changes: - DataTable ignores a row click when the user has an active text selection, so drag-selecting text inside any row no longer navigates. This applies to all eleven tables that pass onRowClick, not just checks. - The message column gets an explicit copy button, which is the more discoverable of the two fixes the reporter suggested. Added as a shared CopyButton in design-elements so other columns can reuse it. Note the row click on the uptime details checks table navigates to /checks/<check id>, but that route's parameter is :monitorId. A check id never matches a monitor, so the destination page renders empty - which is the "all this information disappears" in the report. Left alone here to keep this change reviewable; it needs its own decision about what that row should link to. Claude-Session: https://claude.ai/code/session_01AbYLvwpEaZFXktHVcqrFRd
32 lines
973 B
TypeScript
32 lines
973 B
TypeScript
export * from "./Breadcrumb";
|
|
export * from "./PageHeader";
|
|
export * from "./BasePage";
|
|
export * from "./EmptyState";
|
|
export * from "./EmptyStateIllustration";
|
|
export * from "./Fallback";
|
|
export * from "./SkeletonCard";
|
|
export * from "./BulletPointCheck";
|
|
export * from "./StatusBox";
|
|
export * from "./BaseBox";
|
|
export * from "./Table";
|
|
export { DataTable as Table } from "./Table";
|
|
export * from "./StatusLabel";
|
|
export * from "./PulseDot";
|
|
export * from "./Dot";
|
|
export * from "./MonitorStatus";
|
|
export { default as Icon } from "./Icon";
|
|
export * from "./Tooltip";
|
|
export * from "./StatBox";
|
|
export * from "./BaseChart";
|
|
export * from "./Gauge";
|
|
export * from "./Tabs";
|
|
export * from "./SplitBox";
|
|
export * from "./TextLink";
|
|
export * from "./NoticeBanner";
|
|
export * from "./OfflineBanner";
|
|
export * from "./Avatar";
|
|
export * from "./StatusCodeLabel";
|
|
export * from "./StrategyBadge";
|
|
export * from "./StepProgress";
|
|
export { default as CopyButton } from "./CopyButton";
|