Saltar al contenido

Research Teasel

v1.0

A minimal SaaS research repository for a product team: studies, interview sessions with live transcripts, tagged quotes that fly into insight clusters, and a consented participant panel, in mist greys with one ultramarine accent.

$69

Dirección de la página: /

Incluido

Lo que obtienes
  • Claro y oscuroUsa los colores de tu tema
  • Escritorio, tableta y móvilLas pantallas para las que está hecho
  • Paquetes…
  • Tamaño del código…
  • Ahorra batería30 fps, en reposo cuando está quieto
  • Se pausa si no se veFuera de pantalla o en otra pestaña
  • Movimiento reducidoTranquilo para quien lo pide

Revisado en cada cambio

Seguridad revisada el 3 dic
  • Comprobación de tiposTypeScript estricto
  • Lint y formatoESLint · Prettier
  • Pruebas y buildCapturas en claro y oscuro
  • Auditoría de seguridadSin avisos altos ni críticos
  • Antigüedad de paquetesCada versión es pública desde hace 7+ días
  • CPU en reposoMenos de medio núcleo en reposo, ≤ 30 fps

Código

research-teaselReact
  • research-teasel.tsxThe page: the sections in order.
  • content.tsEvery word and number: brand, nav links, each section's copy and lists.
  • theme.tsThe colors as CSS variables, and the shared class strings.
  • README.mdHow to install it, and where to change the text, colors and form.
  • pagesOne file per page: the sections it shows, in order.
    • highlights.tsxHighlights: every tagged quote, newest first, filtered by All / Waiting / Linked (?show=), a tag (?tag=) and a search; pick rows for the bulk bar, link a waiting one (it flies to Insights), and the tag chart beside the list filters by a tag on click.
    • insights.tsxInsights: the board of every insight in three impact columns. Drag a card (or Space, arrows, Space) to re-rank it or move it to another impact; each card shows its evidence count, main tag, status and owner, and opens in the insight sheet.
    • overview.tsxThe overview: a greeting with the day's load, the KPI strip, the insight board (each cluster a landing spot for linked quotes), the quotes waiting for an insight, the live session, recent quotes and the feed.
    • participants.tsxParticipants: the panel of people who take part, with segment, consent, sessions taken and the last one; filtered by segment (?tab=) and consent (?consent=), searchable; a row opens the participant sheet.
    • session.tsxOne session (#/sessions/SE-166): who, which study, when and how long; the transcript, where any answer is one click from a highlight (a live one grows as it records); the moderator's notes; and this session's quotes, each linkable to an insight.
    • sessions.tsxSessions: the weekly sessions chart, then every session (upcoming first, then past), filtered by status (?tab=); a row opens its transcript page (#/sessions/SE-166).
    • settings.tsxSettings in three tabs (?tab=): the tags quotes are filed under, the team, and Appearance (theme and language).
    • sign-in.tsxThe sign-in page (#/sign-in): the logo and the form on one card over the backdrop, without the sidebar and top bar.
    • studies.tsxStudies: every study as a card (status, method, goal, sessions held of planned, highlights and insights, owner, due), filtered by status (?status=); a card opens the study sheet.
  • sectionsOne file per page section.
    • account-menu.tsxThe account menu under the avatar in the top bar: who is signed in, Settings and Sign out; the arrow keys move through it, Escape, Tab or a click outside closes it.
    • appearance.tsxSettings → Appearance: the theme (System, Dark or Light), each choice shown as a small preview, and the language (System or one of locales/list.ts).
    • bottom-tabs.tsxThe phone's tab bar: the four pages used most, and More for the rest (the sidebar in a sheet). It sticks to the bottom of the screen under the page.
    • bulk-bar.tsxThe bar that rises when highlights are picked: how many, add a tag, link them to an insight, delete them (Undo in the toast), or clear the pick.
    • feed.tsxThe live feed: who did what, newest first, with the quote or title muted under it; a row that arrives (a teammate's highlight, your link) slides in at the top.
    • forms.tsxThe forms behind every New button and Edit: a study, a session, a highlight, an insight and a participant. Each checks itself in the app (no browser popups), saves through the fake API and says so in a toast.
    • kpi-strip.tsxThe KPI strip: four numbers in one bordered box, each with its line under it and a sparkline or a progress bar; a changed number rolls to its new value and a sparkline grows a point.
    • overlays.tsxEverything that opens over a page from the address: the detail sheets (?study=, ?insight=, ?quote=, ?participant=) and the New dialogs (?new=study and the rest). Closing one drops its part of the address.
    • quote-card.tsxA quote waiting for an insight: what was said, who said it in which study, and the Link to insight picker. Picking one flies the card into that insight's cluster (parts/fly.ts) and its count bumps as it lands.
    • settings-tags.tsxSettings → Tags: the tags quotes are filed under, each with its colour and how many highlights carry it; rename one in place, pick its colour, add one or delete it (its highlights lose it).
    • settings-team.tsxSettings → Team: the research team, each person's role and how many highlights they cut, adding someone and removing them (their studies and insights move to you).
    • sheets-people.tsxThe quote and participant sheets (?quote=H-312, ?participant=P-104): a quote with the transcript lines around it, its tags (tap to add or drop), its insight and Delete with Undo; a participant's details, consent, sessions and quotes, with Edit and Delete.
    • sheets.tsxThe study and insight sheets that slide in over any page (?study=S-031, ?insight=I-04): a study's goal, progress, sessions and insights; an insight's statement, its evidence quotes and studies, with Share (a read-only link), Edit and Delete.
    • sidebar.tsxThe sidebar: the workspace, search with the ⌘K shortcut, the pages in three groups with their counts and a pill that glides to the current one, Settings, and the live strap with its pause.
    • sign-in-form.tsxThe sign-in form: email and password with their errors under them, show or hide the password, keep me signed in, and the demo account to fill in; a wrong pair says so above the fields.
    • top-bar.tsxThe top bar: the menu button on narrow screens, where you are, the live dot, the page's one New button, the theme switch and the account menu. It frosts only once the page scrolls under it.
  • partsWhat several sections share.
    • buildWhat several sections share.
      • cardsWhat several sections share.
        • unfold.tsThe unfold card style: cards unfold downward from their top edge, their contents fading in.
      • rowsWhat several sections share.
        • flip.tsThe flip row motion: each row on screen tilts up from its bottom edge, from faint.
      • core.tsxThe page's build-in: on first load and on every page switch the cards arrive in the app's card style and their contents build: bars grow, lines draw, rings fill, the list rows on screen ripple in in the app's row motion, numbers count. The two picks are wired in ./index.ts.
      • index.tsThe app's two build-in picks, wired here and nowhere else: its card style (cards/) and its row motion (rows/). npm run new-app copies only the two it is given (--cards, --rows).
    • appearance.tsHow the app looks right now: dark or light, Glass or Solid, from Settings → Appearance, the page around it and the Style setting.
    • avatar.tsxA person's initials in a round badge, tinted with the primary.
    • backdrop.tsxThe Glass style's backdrop: what shows through the see-through panels, faded out in Solid; with followBackground it paints your background instead.
    • bar-chart.tsxA bar chart: bars grow in, and the picked bar (in the primary), its guide line and tooltip glide to the bar you point at or pick with the arrow keys; a new range morphs the bars instead of drawing them again.
    • command-palette.tsxThe command palette (⌘K or Ctrl K): type to find a page, an action, a study, an insight or a participant, then Enter.
    • dialog.tsxA centered modal dialog (a form, a confirm): rises in, plays its way out, Escape or a tap outside closes it, and the focus goes back where it was.
    • drag-lanes.tsDrag deals between stage lanes (the list's groups, the board's columns): mouse and pen at once, touch after a short press (a swipe still scrolls), the lifted copy kept under the grab point, the others gliding aside (FLIP), the page and the board scrolling near their edges, Escape to cancel, and a keyboard path (Space lifts, arrows move, Space drops).
    • field.tsxA labeled form field (a text input or a select) with its error line under it, tied together for screen readers.
    • flip.tsFLIP for a list that re-sorts or filters: after each change every row that stayed glides from where it was to where it is now. Rows carry data-flip="<id>"; positions are measured inside the list, so a page scroll never reads as a move.
    • fly.tsThe signature move: a quote card linked to an insight flies into that insight's cluster on screen (or into the sidebar's Insights link when the cluster isn't shown), and the cluster lights up as it lands.
    • format.tsHow numbers and dates are written: by Intl, the current language's way ("1,240", "1.240"; "Nov 19", "19 nov."). Add a helper here when a page needs money, times or a list.
    • icons.tsxThe logo and the line icons, drawn on a 24-unit grid with round ends.
    • language.tsThe app's language: the words every page reads (useWords), how dates and numbers are written (parts/format.ts) and the reading direction. Picked in Settings → Appearance (or System: the page's own language) and kept in this browser; English is built in, any other language loads only when it shows (locales/list.ts).
    • live-clock.tsxOne shared clock for everything live: it ticks only while something on screen listens, the tab is visible and live isn't paused, and the bare button that pauses it. What a tick does (move the demo's time, bring in an event, reload) is the app's, passed to liveClock.
    • live.tsThe app's one live clock: every 7 seconds a teammate does something (data/live.ts) and every page reloads in place; every 15 the due timers redraw. It rests while nothing live is on screen, the tab is hidden or live is paused.
    • moments.tsThe animations the sidebar, the sign-in card, menus, dialogs, the phone sheet and toasts play, timed by their moments in theme.ts.
    • motion.tsMotion helpers: the reduced-motion check, live, and run-once-in-view.
    • read.tsOne read of the fake API by its key, through useApi: useRead("overview"), useRead<"deal">(`deal:${id}`). Each key keeps one load function, so a page that mounts again finds its answer.
    • research.tsxSmall pieces every research page shares: the feed's kind icons, tag chips, impact and status marks, faces, the delete confirm, and the hook that marks newly arrived rows.
    • router.tsThe page switcher: reads the app's page from the address hash (#/settings, #/?status=open).
    • scroll-to-view.tsScrolls an element into view moving only its own scroll container, never the page around it.
    • select-box.tsxA native select dressed to match the app: no browser arrow, a drawn chevron instead.
    • session.tsWhether someone is signed in: a first visit is signed in as the demo account; Sign out holds until the next sign-in, and a sign-in without Keep me signed in lasts only this tab.
    • sheet.tsxThe phone sheet: a modal panel that springs in from the left with the sidebar; Escape, a tap outside or its close button slides it away.
    • side-sheet.tsxThe detail sheet: a modal panel that slides in from the end edge over the page (a deal, a company, a contact, a proposal), with tabs whose underline glides to the one picked. Escape, a tap outside or its close button slides it away; the address keeps what it shows (?deal=D-1042&dtab=activity).
    • states.tsxThe data states every page shares: a calm skeleton while loading, an error with Try again, and an empty note with a way out.
    • store.tsThe app-wide state several parts share: the theme mode and style (kept in the browser) and the toasts.
    • ticker.tsxA number that counts up while its page builds in, and rolls to its new value whenever it changes.
    • toasts.tsxThe toasts: short notes that confirm what just happened, at the bottom end.
    • use-api.tsLoads data through the fake API with loading, error and retry, remembering each answer so a page you come back to shows at once.
    • use-dialog.tsOpens and closes a native <dialog> as a modal; on close it plays its way out first (data-closing), so dialogs, sheets and the palette never vanish in one frame.
  • dataThe pretend data and the fake API: swap it for your backend.
    • account.tsThe demo account: who is signed in (the account menu shows them) and the email and password the sign-in page takes.
    • api.tsThe fake API: every page loads and saves through these functions, so wiring a real backend happens here only.
    • db.tsThe pretend database every read and save goes through (data/api.ts): the workspace from data/seed.ts and every change made to it — studies, sessions, highlights, insights, participants, tags and the team — each logged to the feed.
    • live.tsThe live teammates: every beat of the live clock (parts/live.ts) the recording session gets a new transcript line that a teammate cuts into a highlight, or a teammate links a waiting quote to an insight. Replace with your backend's realtime feed.
    • now.tsThe demo's "now": today at 11:20 plus the real time since the app loaded, so today is busy at any hour (a session is recording); every seeded date is set from it. Wire your backend and use the real time.
    • seed-quotes.tsThe pretend research: Fernlight (an invoicing and bookkeeping app for freelancers) and the insights its team found, each with the quotes that back it, the quotes still waiting for an insight, and what the live session's participant says next.
    • seed.tsThe pretend workspace as it stands this morning: the team, the tags, the studies, the participants, and the sessions, highlights, insights and feed built from data/seed-quotes.ts. Every date is set from the demo's "now" (data/now.ts).
    • types.tsThe shapes of the research data: who is on the team, the tags, studies, participants, sessions with their transcripts, highlights (tagged quotes), insights and the activity feed.
    • views.tsWhat each page reads, built from the pretend database (data/db.ts): the sidebar counts, the KPI strip and the page all read the same functions, so their numbers always agree.
  • localesEvery word the app shows, one JSON file a language; list.ts names them.
    • en.jsonOne language's words, with the keys of en.json.
    • es.jsonOne language's words, with the keys of en.json.
    • list.tsThe languages the app offers, in the picker's order: one JSON file each, en.json the source. To remove one, delete its file and its line; to add one, copy es.json, translate it and add a line. English is built in; the rest load only when picked. TypeScript checks each file has en.json's keys, scripts/check/check-locales.mjs the rest (no extra keys, plural forms, {slots}).

research-teasel.tsx

The page: the sections in order.

Cargando…
Ideal para
Product teams of designers and researchers who run interviews and usability tests and turn quotes into shared insights.
Cómo funciona
Link a quote to an insight: the card flies into its cluster on the board, the count bumps and the team feed adds a row.
Cómo usarlo
Edit words in content.ts and colors in theme.ts, and swap the bodies in data/api.ts for calls to your backend.