A soft neumorphic web app for pool and spa service crews: a live route board, chemistry gauges you drag to the test kit's readings, van stock, repairs and billing.
Web
10ページ
$69
ページのアドレス: /
下にさらに表示 ↓
組み込み済み
付属するもの
ライトとダークテーマのカラーを使用
デスクトップ、タブレット、スマホ対応している画面
パッケージ…
コードサイズ…
バッテリーに優しい30 fps、静止時はアイドル
非表示時は停止画面外や別タブのとき
モーションの軽減設定している人には穏やかに
変更のたびに検証
セキュリティ確認:11月28日
型チェックTypeScript の strict モード
Lint とフォーマットESLint · Prettier
テストとビルドライトとダークのスクリーンショット
セキュリティ監査重大・高リスクの脆弱性なし
パッケージの公開期間すべてのバージョンが7日以上前に公開
アイドル時の CPU静止時は半コア未満、30 fps 以下
コード
このアプリに気になる点がありますか? フィードバックを送る ›
pool-chlorineReact
pool-chlorine.tsxpageThe page: the sections in order.
content.tscontentEvery word and number: brand, nav links, each section's copy and lists.
theme.tsthemeThe colors as CSS variables, and the shared class strings.
README.mdreadmeHow to install it, and where to change the text, colors and form.
pagespagesOne file per page: the sections it shows, in order.
billing.tsxpageBilling: what is owed, overdue and paid this month at the top, then every invoice filtered by status and name (kept in the address), 25 to a page; an invoice opens as its own page.
chemicals.tsxpageChemicals: each van's stock as meters (fill a van, order what runs low), the catalog with reorder points, and supply orders from draft to received (a received order goes into its van).
customers.tsxpageCustomers and their pools: search and filter by water, pool type, route day and tech (all in the address, so Back keeps them), a page of 20 at a time, and a customer's own page with tabs.
home.tsxpageThe Overview: today's numbers as raised keys that open their filtered lists, the live route board, the pools out of range with their gauges, every van's stock and the water and billing trends.
repairs.tsxpageRepairs: pumps, filters, heaters and leaks on a board from quote to done. Drag a job (or Space, arrows, Space) to move it on; open one to edit its quote lines, tech and date.
reports.tsxpageReports over the last ten weeks: which readings miss and which way, the pools that miss most, chemical use by week, billing by month and each tech's stops last week.
routes.tsxpageWeekly routes: pick a day, then each tech is a lane of stops in driving order. Drag a stop (or Space, arrows, Space) to reorder it or hand it to another tech; the move saves at once and the toast offers Undo.
settings.tsxpageSettings in tabs: Appearance (palette, style, theme, language), Water (the target range for each reading, which every gauge and out-of-range count follows), Team (techs and their vans) and Billing (visit rate, chemical markup, payment terms).
sign-in.tsxpageThe sign-in page (#/sign-in): a drawn pool from above with this morning's test on three gauges beside the form card, without the dock and top bar; on a phone the pool is a short strip over the form.
visits.tsxpageVisits: every service stop with its readings, newest first, filtered by tech, water and customer name (kept in the address), 25 to a page; a visit opens in the gauge editor.
sectionssectionsOne file per page section.
account-menu.tsxsectionThe 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.tsxsectionSettings → Appearance: the palette (five, Mint first), the style (Soft or Flat), the theme (System, Dark or Light), each as a small preview key, and the language (System or one of locales/list.ts). The picked key sinks in, takes the accent edge and a check.
chemical-forms.tsxsectionThe two chemical dialogs: a catalog entry (name, unit, cost, reorder point, van capacity) and a supply order (chemical, van, amount, vendor).
customer-detail.tsxsectionOne customer: the pool card with the latest readings on gauges and the gate note, then tabs for equipment (add and remove), visit history and billing (invoices and repairs). Edit, delete and Log visit sit in the heading.
customer-form.tsxsectionThe customer and pool form, in a dialog: who they are, the pool (type, surface, size, spa), the gate note the tech reads at the door, the monthly rate and the route day and tech it joins.
dock.tsxsectionThe dock: a raised bar floating at the bottom of the screen with a key per page; the current key is pressed in with the accent light on. On phones it keeps four keys and More opens the rest in a sheet.
invoice-detail.tsxsectionOne invoice as a sheet of paper: who it bills, the month, its lines (editable while a draft), the total, and the next step (send, mark paid). A new invoice drafts its lines from the month's service, chemicals and finished repairs.
repair-form.tsxsectionA repair's dialog: what broke and where, the quote's lines (parts and labor, each a quantity and a price, totalled as you type), the stage, who does it and when; delete sits at its foot.
sign-in-form.tsxsectionThe 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.
today-board.tsxsectionToday's route board: each tech is a lane of stop pips along a sunk track; done stops fill with the accent (out-of-range ones in red with a mark), the next stop wears a dashed ring, and while the board is on screen a stop ticks off every few seconds (Pause stops it).
top-bar.tsxsectionThe top bar: the logo, where you are, today's route progress, search, the theme switch and the account menu. Clear at rest; once the page scrolls under it a soft ground fade comes in (no blur, no edge), so it never lays a flat band over raised cards.
visit-cards.tsxsectionThe visit editor's cards: the four reading gauges, the doses the readings call for and the chemicals added out of the tech's van.
visit-editor.tsxsectionLogging or editing a visit: four gauges you drag (or key) to the test kit's readings, the doses the readings call for, the chemicals added out of the tech's van, and a note. A new visit starts from the pool's last readings.
partspartsWhat several sections share.
buildbuildWhat several sections share.
cardscardsWhat several sections share.
wave.tspartThe wave card style: cards arrive in a wave by grid position from the top-left.
rowsrowsWhat several sections share.
fill.tspartThe fill row motion: each row on screen draws in from left to right.
core.tsxpartThe 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.tspartThe 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.tspartHow the app looks right now: dark or light, Glass or Solid, from Settings → Appearance, the page around it and the Style setting.
avatar.tsxpartA person's initials on a small raised disc of the ground, in the accent.
backdrop.tsxpartThe backdrop: a still grid of faint pool tiles pressed into the ground, fading out toward the top, shown in Soft and gone in Flat; with followBackground it paints your background instead.
bar-chart.tsxpartA 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.
chart-path.tspartA chart's line and area paths in each curve Chart Studio has (straight, smooth, step), and the classes that let a Chart Studio curve swap them in CSS.
chem-gauge.tsxpartThe chemistry gauge: a 240° dial pressed into the ground with the ideal range drawn on its arc and a needle that sweeps to the reading; editable, it is a real slider (drag around the dial, arrow keys, Shift, Page Up/Down, Home/End).
command-palette.tsxpartThe command palette (⌘K or Ctrl K): type to find a page or an action, then Enter.
confirm.tsxpartThe ask before a delete: a small dialog that names what goes, with Cancel and the red Delete; it stays open (Delete busy) until the save answers.
dialog.tsxpartA 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.tspartDrag cards between ordered lanes (a tech's stops, a repair stage): mouse and pen at once, touch after a short press (a swipe still scrolls), the lifted copy kept under the grab point, the others sliding 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.tsxpartA labeled form field (a text input or a select) with its error line under it, tied together for screen readers.
format.tspartHow 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.
head.tsxpartA page's heading row (its title, one line on what it is for, and its actions) and the wrapper that shows a load's skeleton, its big error with Try again, or the page.
icons.tsxpartThe logo and the line icons, drawn on a 24-unit grid with round ends.
language.tspartThe 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.tsxpartA 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.
moments.tspartThe animations the sidebar, the sign-in card, menus, dialogs, the phone sheet and toasts play, timed by their moments in theme.ts.
motion.tspartMotion helpers: the reduced-motion check, live, and run-once-in-view.
neu.tsxpartThe soft parts every page shares: a stock meter in a sunk slot, a group of keys where one is pressed in (tabs, days, filters), the today ring and a status chip with its dot.
palettes.tspartThe five palettes (the same as meta.json's presets): a ground tint, one accent and a second chart color each; a pick in Settings is kept in this browser until a Brand setting changes the colors.
router.tspartThe page switcher: reads the app's page from the address hash (#/settings, #/?status=open).
scroll-to-view.tspartScrolls an element into view moving only its own scroll container, never the page around it.
select-box.tsxpartA native select dressed to match the app: no browser arrow, a drawn chevron instead.
session.tspartWhether 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.tsxpartThe 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.
states.tsxpartThe data states every page shares: a calm skeleton while loading, an error with Try again, and an empty note with a way out.
store.tspartThe app-wide state several parts share: the theme mode and style (kept in the browser) and the toasts.
ticker.tsxpartA number that counts up while its page builds in, and rolls to its new value whenever it changes.
toasts.tsxpartThe toasts: short notes that confirm what just happened, at the bottom end.
use-api.tspartLoads 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.tspartOpens 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.
datadataThe pretend data and the fake API: swap it for your backend.
account.tsdataThe demo account: who is signed in (the account menu shows them) and the email and password the sign-in page takes.
api.tsdataThe fake API: every page loads and saves through these functions, so wiring a real backend happens here only.
db.tsdataThe pretend database: the company's data in memory and the views the pages read (today's routes, a pool's history, the reports), each worked out from the same rules so a number and the list it opens always agree.
seed-lists.tsdataThe word lists the pretend company is made from: customer names, streets, gate notes, equipment models and the open and recent repair jobs.
seed.tsdataThe pretend company: five techs, about 140 weekly pools on their routes, ten weeks of visits, van stock, orders, repairs and six months of invoices, all made from a fixed seed so every visit to the demo shows the same story.
types.tsdataThe shapes of the pretend data, and the few rules the fake API and the pages share: whether a reading is in range, what a dose should be, what an invoice totals.
localeslocalesEvery word the app shows, one JSON file a language; list.ts names them.
en.jsoncontentOne language's words, with the keys of en.json.
es.jsoncontentOne language's words, with the keys of en.json.
list.tscontentThe 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-locales.mjs the rest (no extra keys, plural forms, {slots}).
pool-chlorine.tsx
The page: the sections in order.
読み込み中…
こんな用途に
Pool and spa service companies with 4-12 techs on weekly routes: owners, dispatchers and techs.
仕組み
Stops tick off along each tech's route, gauges sweep to the water's readings, and out-of-range pools and low vans surface first.
使い方
Edit words in content.ts and colors in theme.ts, and swap the bodies in data/api.ts for calls to your backend.