A soft neumorphic control room for a 3D print farm: a wall of raised printer tiles whose progress rings fill on one live clock.
Web
9 pagine
$69
Indirizzo della pagina: /
Altro più sotto ↓
Incluso
Cosa ottieni
Chiaro e scuroUsa i colori del tuo tema
Desktop, tablet e telefonoLe schermate per cui è pensato
Pacchetti…
Dimensione del codice…
Leggero sulla batteria30 fps, inattivo quando è fermo
In pausa se nascostoFuori schermo o in un’altra scheda
Riduci movimentoCalmo per chi lo chiede
Verificato a ogni modifica
Sicurezza verificata il 28 nov
Controllo dei tipiTypeScript strict
Lint e formattazioneESLint · Prettier
Test e buildScreenshot chiari e scuri
Audit di sicurezzaNessun avviso alto o critico
Età dei pacchettiOgni versione pubblica da 7+ giorni
CPU a riposoMeno di mezzo core a riposo, ≤ 30 fps
Codice
Qualcosa non va in questa app? Invia feedback ›
printfarm-nozzleReact
printfarm-nozzle.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.
filament.tsxpageFilament: every spool drawn as a reel wound to what's left, by material or low ones only (in the address, so Back keeps it); add, edit, log use and delete.
home.tsxpageOverview: what's printing now, as stat keys that open filtered lists, the whole printer wall, then failures, low filament and orders due soon, and two weeks of output.
order-detail.tsxpageOne order: who and when, plates printed, and its parts, plates and shipment in tabs; send it to the queue, edit, cancel or delete it.
orders.tsxpageOrders: every order with its parts, due date, status and plates printed; filters live in the address (Back keeps them), search narrows by customer, company or number.
printer-detail.tsxpageOne printer: its bed now with the big ring, the floor actions, the nozzle dial and the loaded spool, then its jobs, service log and stats in tabs.
printers.tsxpagePrinters: the farm as a wall of tiles or a list, filtered by status in the address so Back keeps it, and the add printer dialog.
queue.tsxpageQueue: one sunk lane per printer of a bay, plus Unplaced, each holding its waiting plates in order. Drag a plate (pointer, touch or keys) to another printer or place; Undo puts it back.
reports.tsxpageReports: how the farm ran over 7, 30 or 90 days (in the address): plates done, failure rate, uptime and material, as charts, and every printer's uptime lowest first.
settings.tsxpageThe settings page: Appearance (style, theme and language) and the farm rules (when a spool counts as low, the service interval, clearing finished beds).
shipping.tsxpageShipping: finished orders to pack (a four-step checklist), then label and send with tracking; parcels on the road can be marked delivered or their label voided.
sign-in.tsxpageThe sign-in page (#/sign-in): a small drawn wall of printer tiles with a spool beside the form, without the sidebar and top bar.
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 style (Glass or Solid) and the theme (System, Dark or Light), each choice shown as a small preview, and the language (System or one of locales/list.ts).
blocks.tsxsectionThe blocks every page is built from: its heading with actions, a raised card with a title row, a Back link, tabs, and the delete confirm.
order-form.tsxsectionThe new / edit order dialog: who it's for, when it's due, a note for the floor, and its parts (part, quantity, material, color), rows added and removed.
printer-form.tsxsectionThe add / edit printer dialog: name, model, bay and nozzle size.
printer-tabs.tsxsectionA printer's other tabs: the plates waiting on it and done on it, its service log with the log form, and its uptime and hours.
printer-wall.tsxsectionThe printer wall: every printer a raised tile with its progress ring filling on the shared clock; a printer that just finished pops up out of the wall and settles.
sidebar.tsxsectionThe sidebar: logo, search, the farm strip (one LED per printer, live) and the pages as a keypad of raised keys sunk into one channel; the picked key presses in and lights its filament LED. Collapsed, a single column of icon keys.
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.
spool-form.tsxsectionThe spool dialogs: add / edit a spool (material, color and swatch, brand, size, grams left, cost), and log grams used off the books.
top-bar.tsxsectionThe top bar: the menu key on narrow screens, where you are, the Live/Pause key for the farm clock, search, the theme switch and the account menu. Clear at rest; once the page scrolls under it, a ground fade (no blur, no edge) so it never cuts the sidebar's shadow.
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.
slide.tspartThe slide row motion: each row on screen slides 12px in from the nav side, from faint.
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 in a round badge, tinted with the primary.
backdrop.tsxpartThe floor under the soft wall: a still, faint grid of dots like a print bed's texture, with one warm light from the heated beds in the corner; faded out 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.
command-palette.tsxpartThe command palette (⌘K or Ctrl K): type to find a page or an action, then Enter.
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-queue.tspartDrag a plate between printer queues: pointer and touch from its grip, or the keyboard (Space picks up, arrows move, Space drops, Escape puts back). The others slide out of the way (FLIP), the page scrolls near its edges, and the page gets one call when a plate lands.
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.
icons.tsxpartThe logo (a hotend nozzle laying a bead) 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 farm's soft parts: status LEDs and chips, the progress ring on the shared clock, sunk meter slots, a key group for tabs and filters, a donut, a stat key, and the one save helper.
nozzle-dial.tsxpartThe nozzle dial: a raised disc with a sunk 300° heat track around a drawn hotend; drag around it or use the keys to set the nozzle's target temperature (a real slider: arrows, Shift, Page Up/Down, Home/End).
print-clock.tspartThe farm's one shared clock: the farm moves on once a second (plates finish, beds clear), and every progress ring on screen fills from it at most 30 frames a second. It rests in hidden tabs, by the Pause key and with reduced motion.
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-ops.tsdataThe fake API's office side: orders and the jobs they send to the queue, filament spools, packing and shipping, and the farm rules. Same contract as data/api.ts.
api.tsdataThe fake API: every page loads and saves through these functions (orders, spools, shipping and rules in data/api-ops.ts), so wiring a real backend happens here only.
farm.tsdataThe pretend print farm: 40 printers in five bays, the jobs on them and in their queues, and the filament spools on the shelf. The fake API (data/api.ts) is the only reader.
history.tsdataThe farm's last 90 days, one entry a day (the oldest first): plates done and failed, parts printed, grams by material and each printer's hours up. Reports and Overview's output chart read it through the fake API.
orders.tsdataThe pretend orders from makers and small firms, the print jobs they make (one per plate), the shipments and the service log. The fake API (data/api.ts) is the only reader.
state.tsdataThe fake API's memory: the farm, orders, spools, shipments, service log and farm rules as they are now. Every change replaces the list it touches, so pages see a new answer; the API files are the only writers.
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}).
printfarm-nozzle.tsx
The page: the sections in order.
Caricamento…
Ideale per
Print farms with 20-60 printers that queue plates, watch nozzles and filament, and ship orders on time.
Come funziona
Rings fill as plates print, finished printers pop up; drag plates between printer queues and turn the nozzle dial.
Come si usa
Edit words in locales/en.json and colors in theme.ts, and swap the bodies in data/api.ts and data/api-ops.ts for your backend.