Langsung ke konten

Pottery Glaze

v1.0

A community pottery studio app in puffy terracotta clay: classes, wheel bookings, a shelf board where pots hop from wet to done, and a draggable kiln firing curve.

$69

Alamat halaman: /

Sudah termasuk

Yang Anda dapat
  • Terang dan gelapMemakai warna tema Anda
  • Desktop, tablet, dan ponselLayar yang didukung
  • Paket…
  • Ukuran kode…
  • Hemat baterai30 fps, diam saat tidak bergerak
  • Berhenti saat tersembunyiDi luar layar atau tab lain
  • Kurangi gerakanTenang bagi yang memintanya

Dicek di setiap perubahan

Keamanan dicek 3 Des
  • Pengecekan tipeTypeScript strict
  • Lint dan formatESLint · Prettier
  • Tes dan buildTangkapan layar terang dan gelap
  • Audit keamananTanpa advisori tinggi atau kritis
  • Usia paketSetiap versi sudah publik 7+ hari
  • CPU saat diamDi bawah setengah core saat diam, ≤ 30 fps

Kode

pottery-glazeReact
  • pottery-glaze.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.
    • class-detail.tsxOne class (#/classes/<id>): its seats and teacher up top, then tabs for the roster (add or drop a member; a dropped seat goes to the first on the waitlist), the waitlist and the sessions.
    • classes.tsxClasses (#/classes): every course and drop-in as a card with its teacher, time, seats and waitlist, filtered by kind (?kind=); a class opens its own page (#/classes/<id>), and ?new opens the dialog to add one.
    • glaze-detail.tsxOne glaze (#/glazes/<id>): its tile and stock up top, then tabs for the recipe (scaled to any batch), the test tiles (add one) and the stock log (log use or a new batch).
    • glazes.tsxGlazes (#/glazes): the glaze library as test tiles with finish, cone and stock (low stock flagged), filtered by finish (?finish=); a glaze opens its own page (#/glazes/<id>) and ?new opens the dialog to add one.
    • kiln.tsxKiln (#/kiln/<firing>): every firing in a list beside the chosen one's tabs (curve, load, log), with Start, Cooling and Unload steps and a dialog to add, edit or delete a firing (?new opens it empty).
    • member-detail.tsxOne member (#/members/<id>): plan, shelf space and clay up top, then tabs for their pieces on the shelves, the clay they bought (sell a bag) and their wheel bookings.
    • members.tsxMembers (#/members): every member with their plan, shelf space in use and clay bought this year, filtered by plan (?plan=) and name (?q=); a member opens their own page (#/members/<id>) and ?new opens the dialog to add one.
    • overview.tsxOverview (#/): the studio today in three rows of clay cards: the counts that matter, today's classes beside the kiln (glowing as hot as it is now), and the shelves, glazes running low and clay sold.
    • pieces.tsxPieces (#/pieces): every member's pots on the shelf board, filtered by maker (?member=), with a dialog to add, edit, move on or delete a piece (?new opens it empty).
    • reports.tsxReports (#/reports): class fill over twelve weeks, firings and clay sold over twelve months, and the members who bought the most clay; Download CSV saves the numbers.
    • settings.tsxSettings (#/settings): the studio itself (name, wheels, opening hours for open studio, power price for firing costs), then Appearance (style, theme and language).
    • sign-in.tsxThe sign-in page (#/sign-in): the logo and the form on one card over the backdrop, without the top bar.
    • wheels.tsxWheels (#/wheels): the next seven days (?day=), each a grid of wheels by hour with members' bookings, wheel classes that block every wheel and the open studio hours; drag a booking to another wheel or hour, press an empty hour to book it, press a booking to edit it.
  • 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 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).
    • booking-dialog.tsxThe wheel booking dialog: who, which wheel, which day and hour, and for how long; it refuses a time that clashes with a class or another booking, and an existing booking can be deleted (with Undo).
    • firing-curve.tsxThe firing curve: temperature over hours, one ramp and hold per segment, with a puffy clay handle at each ramp's end (drag it 1:1 to set when it arrives and how hot) and a smaller one at each hold's end (drag it to set the hold). Click the chart to scrub the time; Play runs the firing on the shared clock.
    • firing-panel.tsxA firing's tabs: Curve (the draggable firing curve beside the glowing kiln, cones and the segment table), Load (what is in the kiln and what is ready) and Log (notes through the firing).
    • shelf-board.tsxThe shelf board: five clay shelves (wet, leather-hard, bisque, glazed, done) with every piece drawn as its pot; drag a pot to another shelf, or press it to open it. A pot that changes stage hops to its new shelf.
    • 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 logo, the potter's-wheel page picker in the middle, search, the theme switch and the account menu; once the page scrolls, a frosted strip backs it so nothing reads through.
    • wheel-nav.tsxThe page picker: a clay potter's wheel in the top bar with the pages sitting around it; the wheel turns its bead to the chosen page (click, arrow keys, or grab the wheel and spin it). On phones a tap opens the whole wheel with the pages all the way round.
  • partsWhat several sections share.
    • buildWhat several sections share.
      • cardsWhat several sections share.
        • burst.tsThe burst card style: cards spread out from the middle of the page, the nearest first.
      • rowsWhat several sections share.
        • stack.tsThe stack row motion, a drawer: the rows on screen start stacked under the first and spread to their places together.
      • 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.
    • art.tsxThe drawn art: pots in every stage (wet, leather-hard, bisque, glazed, fired), glaze test tiles and the kiln that glows warmer as it heats.
    • 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.
    • charts.tsxThe app's charts: a line (class fill, clay sold) with a soft area and a dot on the last value, stacked bars (firings per month) and a small spark line; each scales to its own range so it never sits flat, and each builds in.
    • command-palette.tsxThe command palette (⌘K or Ctrl K): type to find a page or an action, then Enter.
    • data.tsxThe pages' loads by name (one per list), a refresh of everything shown after a save, and the shared loading or error state while any load is not ready.
    • 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.tsDrag and drop for pots and bookings: a lifted copy that stays under the press point and moves 1:1 (mouse and pen at once, touch after a short hold so a swipe still scrolls), drop zones marked data-drop, Escape to cancel; and the FLIP that hops a moved pot (or glides a booking) from where it was to its new place.
    • field.tsxA labeled form field (a text input or a select) with its error line under it, tied together for screen readers.
    • 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 chunky 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).
    • 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.
    • 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.
    • 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.
    • ui.tsxThe small parts every page shares: the page heading, tabs and filter pills, meters, tone chips, stat tiles, the back link and the delete confirm.
    • 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.
    • seed-studio.tsThe pretend studio: teachers, members, classes, wheel bookings and the studio's own settings, dated from today so the demo always has a today.
    • seed-work.tsThe pretend work: every member's pieces on the shelves, the glaze library, kiln firings with their curves, and clay sales.
  • 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}).

pottery-glaze.tsx

The page: the sections in order.

Memuat…
Cocok untuk
Pottery and ceramics studios, makerspaces and craft schools that run classes, rent wheels and fire a shared kiln.
Cara kerjanya
Spin the potter's wheel to change page, drag pots between shelves, and shape the firing curve as the kiln glows hotter.
Cara memakai
Edit words in locales/ and colors in theme.ts, and swap the bodies in data/api.ts for calls to your backend.