A stage-lighting hire desk in soft neumorphism: jobs, fixture stock, kit lists, crew shifts and a cue board whose faders glide to each cue.
Web
9 pages
$69
Adresse de la page : /
Suite plus bas ↓
Intégré
Ce que vous obtenez
Clair et sombreUtilise les couleurs de votre thème
Ordinateur, tablette et téléphoneLes écrans pour lesquels il est conçu
Paquets…
Taille du code…
Économe en batterie30 i/s, au repos quand rien ne bouge
Pause quand masquéHors écran ou autre onglet
Mouvement réduitCalme pour ceux qui le demandent
Vérifié à chaque modification
Sécurité vérifiée le 28 nov.
Vérification des typesTypeScript strict
Lint et formatESLint · Prettier
Tests et buildCaptures claires et sombres
Audit de sécuritéAucune vulnérabilité élevée ou critique
Ancienneté des paquetsChaque version publique depuis 7 jours ou plus
CPU au reposMoins d’un demi-cœur au repos, ≤ 30 i/s
Code
Un problème avec cette application ? Envoyer un avis ›
lighting-dimmerReact
lighting-dimmer.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.
crew.tsxpageCrew: the week board of shifts (drag to swap people or days) and the roster with each person's role, rate and hours this week.
cues.tsxpageThe cue board: pick a show, run its cue stack on the faders (GO glides them to the next cue), record changed levels into the live cue, and add, edit, reorder or delete cues.
fixtures.tsxpageFixtures: stock by type as drawn cards with what's out, in repair and on the shelf; ?status= lists the matching units across every type; #/fixtures/<type> opens a type with its serials.
home.tsxpageOverview: tonight on the desk — the month's numbers, tonight's jobs, how much kit is out, a live dimmer bank for tonight's show, the week ahead and what's on the repair bench.
job.tsxpageOne job (#/jobs/<id>?tab=): its status line and the next move, the details and the priced quote, the kit list, the crew's shifts and its cue stack.
jobs.tsxpageJobs: every quote and booking, filtered by status, scene or day from the address, with a search; #/jobs/<id> opens one job. The search lives here so it survives opening a job and coming Back.
kit.tsxpageThe kit room: pick a job that needs kit, scan or type serials to check them out and back in, and tick units on its kit list.
reports.tsxpageReports: revenue by month, how much of each fixture type is out earning (utilisation), how often it comes back damaged, and the top clients; the period keys switch the fixture numbers.
settings.tsxpageSettings: the business numbers quotes are priced with (company, VAT, crew day rate, overtime), the desk's palette, and Appearance (style, theme and language).
sign-in.tsxpageThe sign-in page (#/sign-in): a drawn strip of desk faders above the card with the logo and the form, without the rack 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).
crew-forms.tsxsectionThe crew forms in dialogs: a person (name, role, rate, phone, freelance) and a shift (who, which job, the day and the hours), each with Delete when editing.
crew-week.tsxsectionThe crew's week as a board: a row per person, a column per day, each shift a key that drags to another person or day (or lifts with Space and moves with the arrows), with Undo.
dimmer-bank.tsxsectionThe dimmer bank: a show's channel faders with a cue readout and GO / Back keys; on GO every fader glides to the next cue's level over its fade time and settles softly.
fixture-forms.tsxsectionThe stock forms in dialogs: a fixture type (name, kind, power, day rate) and a unit (serial, condition, last test, note).
job-bits.tsxsectionWhat the Jobs pages share: the tone of each status, the next status a job moves to, and the job form (a new quote or an edit) in a dialog.
job-kit.tsxsectionA job's kit list: each fixture type with how many, a stepper, and its picked units as keys that check out and back in; add more types from the stock.
job-tabs.tsxsectionA job's Crew and Cues tabs: its shifts with hours and cost (add or edit one in a dialog), and its show's cue stack with a link to the cue board.
rack.tsxsectionThe rack: the desk's column of soft keys, one per page; the current page's key sinks and its LED lights amber. On a phone it sits in the menu sheet as a grid.
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.
top-bar.tsxsectionThe top bar: the menu key on narrow screens, the numbered scene keys (saved views with their counts), the theme switch and the account menu; clear at rest, a soft ground fade once the page scrolls under it.
unit-table.tsxsectionThe units list: serials with their condition and where they are, filtered by status from the address, each with its next step (prep, return, mark damaged, repair done), edit and delete.
partspartsWhat several sections share.
buildbuildWhat several sections share.
cardscardsWhat several sections share.
spotlight.tspartThe spotlight card style: the page shows dim, then each card lights up in turn, 50ms apart, with a brief primary edge.
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 sunk disc, in the accent's text shade.
backdrop.tsxpartThe Glass style's backdrop: what shows through the see-through panels, faded out in Solid; 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.
field.tsxpartA labeled form field (a text input or a select) with its error line under it, tied together for screen readers.
fixture-art.tsxpartThe drawn fixtures: one small line drawing per kind (a par can, a profile, a moving head...) on a 64-unit grid, its lens lit in the accent.
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 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).
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 desk's soft controls: a channel fader (a real slider: drag, arrow keys, Page Up/Down, Home/End) that glides to cue levels, a lit key, the fixture-out gauge ring, a sunk level bar and a status chip.
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.
ui.tsxpartThe page pieces every page shares: the heading row, a raised card with its title, tab keys, a save helper and the four data states around a load.
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: the hire company's owner.
api.tsdataThe fake API: every page loads and saves through these functions, so wiring a real backend happens here only.
model.tsdataThe shapes the fake API answers with (jobs, fixtures, crew, shows, reports) and the few rules every page counts by, so a number and the list it opens always agree.
plans.tsdataThe pretend jobs, each set a number of days from today: who it's for, where, the load times, the kit it takes ([type, how many]) and the crew on it. data/seed.ts turns them into jobs, kit lists and shifts.
seed.tsdataThe pretend hire company's data: fixture stock, jobs from three weeks back to three ahead, crew and their shifts, set around today so tonight always has shows on.
shows.tsdataThe cue stacks of the three shows on now or next (the album launch, the wedding, the play), and twelve months of history for Reports.
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}).
lighting-dimmer.tsx
The page: the sections in order.
Chargement…
Idéal pour
Lighting and AV hire companies that quote shows, prep fixtures, send kit out, book crew and program cues.
Fonctionnement
Scene keys filter tonight's jobs; the kit room checks serials out and back; on the cue board GO glides every fader to its level.
Utilisation
Edit words in content.ts and colors in theme.ts, and swap the bodies in data/api.ts for calls to your backend.
Aucun paquet en plusReact seulement, rien d’autre
102,0 ko gzippé · 67 fichiersLe téléchargement complet