mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-03 09:38:54 +00:00
chore(ci): give the server test typecheck room, format new client files
The server's src and tests together are past 570,000 lines and the test typecheck needs about 4.3 GB, over Node's default heap; it now gets 8 GB like the test jobs. Forty new client files are formatted, and the react-hooks/refs baseline drops by the one warning a split hook removed.
This commit is contained in:
@@ -2,8 +2,8 @@ import { CableCar, ExternalLink, Info, ZoomIn } from 'lucide-react';
|
||||
import { useEffect } from 'react';
|
||||
import { useTranslation } from '../../../i18n';
|
||||
import { SoftPill } from '../../Planner/planParts';
|
||||
import { fs } from '../../shared/DialogShell';
|
||||
import { LABEL, PopoverListPanel } from '../../shared/dialogParts';
|
||||
import { fs } from '../../shared/DialogShell';
|
||||
import { Tooltip } from '../../shared/Tooltip';
|
||||
import { usePopoverList } from '../../shared/usePopoverList';
|
||||
import { TourNotice } from '../tourParts';
|
||||
@@ -63,7 +63,8 @@ function RunBand({ colour }: { colour: string }) {
|
||||
|
||||
/** A trail as a line in its colour, or as a row of dots where the map dots it. */
|
||||
function WayLine({ colour, dotted = false }: { colour: string; dotted?: boolean }) {
|
||||
if (!dotted) return <span aria-hidden className="h-[3px] w-6 flex-none rounded-full" style={{ background: colour }} />;
|
||||
if (!dotted)
|
||||
return <span aria-hidden className="h-[3px] w-6 flex-none rounded-full" style={{ background: colour }} />;
|
||||
return (
|
||||
<span aria-hidden className="flex w-6 flex-none items-center justify-between px-px">
|
||||
{[0, 1, 2].map((dot) => (
|
||||
@@ -92,7 +93,7 @@ function PisteKeyBody({ belowMinZoom }: { belowMinZoom: boolean }) {
|
||||
</div>
|
||||
{belowMinZoom && (
|
||||
<p
|
||||
className="flex items-center gap-1.5 rounded-lg bg-accent-soft px-2 py-1.5 font-medium text-accent"
|
||||
className="bg-accent-soft flex items-center gap-1.5 rounded-lg px-2 py-1.5 font-medium text-accent"
|
||||
style={fs(11)}
|
||||
data-testid="piste-key-zoom-in"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user