Onboarding Tupelo
v1.0A minimal SaaS onboarding desk for a people team: every new hire's 90-day journey line, the tasks HR, IT, managers and buddies owe them, forms, check-ins and reports, in warm peach with one deep rose accent.
Endereço da página: /
Já incluído
O que você recebe- Claro e escuroUsa as cores do seu tema
- Desktop, tablet e celularAs telas para as quais foi feito
- Pacotes…
- Tamanho do código…
- Leve para a bateria30 fps, em repouso quando parado
- Pausa quando ocultoFora da tela ou em outra aba
- Reduzir movimentoCalmo para quem pede
Verificado a cada mudança
Segurança verificada em 3 de dez.- Verificação de tiposTypeScript strict
- Lint e formataçãoESLint · Prettier
- Testes e buildCapturas de tela claras e escuras
- Auditoria de segurançaSem alertas de gravidade alta ou crítica
- Idade dos pacotesToda versão pública há 7+ dias
- CPU em repousoMenos de meio núcleo em repouso, ≤ 30 fps
Código
onboarding-tupeloReact
- onboarding-tupelo.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.
- checkins.tsxCheck-ins: the average answer to each survey question, then every day 30, 60 and 90 check-in due up to three weeks ahead, with Send, Enter answers or Answers.
- documents.tsxDocuments: each required form with how many have signed it, then every current hire against every form, with Send or Remind where one is still owed.
- hires.tsxNew hires: every hire with their team, start, manager and buddy, journey and progress; filtered by status and team, searched by name or role. A row opens the hire's sheet.
- home.tsxThe overview: the KPI strip, who starts soon, every journey under way, the activity feed and the task burndown.
- reports.tsxReports: time to productivity by start month (3, 6 or 12 months), overdue tasks by owner and how often each phase is done on time.
- settings.tsxSettings: reminders (when owners are nudged, the digest, automatic check-ins), the people and IT team who pick up tasks, and Appearance.
- 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.
- tasks.tsxTasks: every task of every plan, filtered by status and owner and searched by task or hire; just-done ones stay a while, struck through.
- templates.tsxTemplates: the onboarding plans, each with its tasks by phase and owner and how many hires use it; edit, duplicate or delete one.
- 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 bottom tabs: Overview, Hires, Tasks and Docs, and More for the rest (the sidebar in a sheet).
- feed.tsxThe activity feed: who just finished a task, signed a form or answered a check-in, newest first; a live one slides in on top.
- hire-form.tsxAdd or edit a new hire: name, email, role, team, start, office, manager, buddy and the plan their tasks come from. Errors show under each field.
- hire-sheet.tsxA new hire's sheet: who they are, their journey line large, and tabs for the plan, forms, check-ins and details; edit or remove them from here.
- hire-tabs.tsxThe hire sheet's tabs: the plan (tasks by phase, tick them off), their forms, their check-ins and the details.
- journeys.tsxThe overview's two hire panels: who starts soon (cards with what is still owed before day 1) and who is on the journey now (a line each).
- kpi-strip.tsxThe KPI strip: four numbers in one box, each with a smooth trail of its last weeks and a link to the list behind it.
- overlays.tsxEverything that opens over a page, named by the address so Back closes it: the hire sheet (?hire=), the template editor (?template=, ?new=template) and the form dialogs (?new=hire|task|request|checkin, ?task=, ?answer=, ?form=edit).
- sidebar.tsxThe sidebar: logo, search with the command palette shortcut, the page links in two groups with their counts, Settings and the live strap at the foot; collapsed, only the icons show.
- 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.
- small-forms.tsxThe small dialogs' forms: request a form from a hire, send a check-in, and enter or read a check-in's answers.
- task-form.tsxAdd, edit or delete one task: for which hire, what, whose (owner and assignee), its phase and due date.
- task-list.tsxThe task list: each row a done box, the task and its hire, owner, assignee and due; pick rows to mark them done or hand them to someone else at once.
- template-editor.tsxThe template editor (in the side sheet): name, team, what it's for, and its tasks, each with an owner, a phase and the day it is due.
- top-bar.tsxThe top bar: the menu button on narrow screens, where you are, the page's one main action, the theme switch and the account menu; it blurs what scrolls under it once the page has moved.
- partsWhat several sections share.
- buildWhat several sections share.
- cardsWhat several sections share.
- turn.tsThe turn card style: cards swing in like pages, hinged on their left edge.
- rowsWhat several sections share.
- avatar.tsThe avatar row motion: each row's face (data-build="face") pops first, then the row's other parts follow 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).
- actions.tsThe small saves several pages share: tick a task, send or sign a form, send a check-in; each reloads what is on screen and says what happened.
- 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 backdrop behind the peach ground: hidden in this Solid app, your background with followBackground.
- 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 or an action, then Enter.
- csv.tsExport CSV: turns rows into a CSV file and hands it to the browser to save.
- 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.
- field.tsxA labeled form field (a text input or a select) with its error line under it, tied together for screen readers.
- filters.tsxA list's filters: a segmented strip of links (kept in the address, so Back restores them), a select that does the same, and a search box.
- flip.tsFLIP: when cards change place, each one glides from where it was to where it is now instead of jumping.
- 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.
- fresh.tsWhich rows just arrived (a live tick, a save): ids not seen on an earlier draw, so they can slide in with a short wash (data-fresh, theme.ts).
- icons.tsxThe logo and the line icons, drawn on a 24-unit grid with round ends.
- journey.tsxThe 90-day journey line: five stretches (before day 1, week 1, day 30, 60, 90), filled as tasks are done; a milestone fills when its stretch is all done and the hire's avatar walks to the fill point.
- 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).
- line-chart.tsxA line chart with a soft area under it, in the primary: the line draws itself in, the latest point marked, and new values roll the line to its new shape.
- 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 live clock: every 5 seconds someone ticks a task done (data/live.ts) and every page reloads in place; relative times redraw every 15.
- marks.tsxSmall shared marks: owner and status chips (always a word beside the colour), the due line and a person with their initials.
- 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.tsReads one thing from the fake API by name ("overview", "hire:h3"), with loading, error and retry.
- 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 sliding in from the end edge (a new hire, a template), its tabs kept in the address so Back steps through them.
- 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.
- task-check.tsxA task's done box: a round square that fills with the primary and a tick when done, the tick popping in.
- 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: everything the fake API reads and changes, kept in memory for the visit.
- live.tsThe demo's live moves: across HR, IT, managers and buddies, someone ticks off a task due soon; now and then a hire signs a form or answers a check-in.
- now.tsThe demo's "now": today at 10:40 plus the real time since the page opened, so the dates in data/ always read as this week.
- people.tsThe pretend company: the people team, IT, managers and buddies, and the new hires starting around now.
- plans.tsThe onboarding plans (templates) a new hire's tasks are made from, and the forms every hire signs.
- seed.tsBuilds the pretend data once: each hire's tasks from their plan, forms and check-ins, done or not as of the demo's now.
- types.tsThe shapes the fake API answers with: people, new hires, their tasks, forms and check-ins, plans and the feed.
- views.tsWhat each page reads, worked out from the database: journeys, progress, the KPIs and their trails, the feed and the reports.
- 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}).
onboarding-tupelo.tsx
The page: the sections in order.
Carregando…
- Ideal para
- People teams planning each new hire's first 90 days with tasks for HR, IT, the manager and the buddy.
- Como funciona
- Tick a task done: its milestone fills, the hire's avatar walks along the 90-day line and a row slides into the live feed.
- Como usar
- Edit words in content.ts and colors in theme.ts, and swap the bodies in data/api.ts for calls to your backend.