Перейти до вмісту

Audit Flax

v1.0

A minimal SaaS compliance workspace for SOC 2 and ISO 27001: controls, evidence, policies, vendor risk and audits, with segmented readiness rings and live automated checks, in warm sand and ink blue.

$69

Адреса сторінки: /

Вбудовано

Що ви отримуєте
  • Світла й темнаВикористовує кольори вашої теми
  • Комп’ютер, планшет і телефонЕкрани, для яких його створено
  • Пакети…
  • Розмір коду…
  • Економить батарею30 fps, у спокої не навантажує
  • Пауза, коли прихованоПоза екраном або в іншій вкладці
  • Зменшення рухуСпокійно для тих, хто цього просить

Перевіряється після кожної зміни

Безпеку перевірено 3 груд.
  • Перевірка типівСтрогий TypeScript
  • Лінтер і форматESLint · Prettier
  • Тести й збіркаСкриншоти у світлій і темній темах
  • Аудит безпекиБез високих чи критичних загроз
  • Вік пакетівКожна версія публічна 7+ днів
  • Процесор у спокоїМенше половини ядра у спокої, ≤ 30 fps

Код

audit-flaxReact
  • audit-flax.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.
    • audits.tsxThe audits: one timeline card per audit this cycle, then every auditor request in one list with tabs by audit; each request's status is set in its row, and a row opens its form.
    • controls.tsxThe controls: tabs by status with their counts, search and filters (owner, area, test frequency) kept in the address, and the list itself; a row opens its sheet, its box picks it for the bulk bar, and a row that changes status glides to its new place.
    • evidence.tsxThe evidence: tabs by review status plus Expiring soon, and every upload or synced export with the controls it backs, who uploaded it, its reviewer and when it expires. One waiting for review can be accepted or rejected in its row; a row opens its form.
    • overview.tsxThe overview: a greeting with the next audit date, the KPI strip, the readiness rings with the review queue beside the automated checks, then the failing controls, the evidence expiring soon and the activity feed.
    • policies.tsxThe policies: tabs by status, and each policy with its current version, approver, how many of the staff acknowledged it (a bar that grows as acknowledgements come in) and its next review. A row opens its sheet.
    • settings.tsxSettings in four tabs (?tab=): the frameworks in scope, the team, the reminders, and Appearance (theme and language).
    • sign-in.tsxThe sign-in page (#/sign-in): the logo and the form on one card on the sand ground, without the sidebar and top bar.
    • vendors.tsxVendor risk: tabs by risk tier, and every vendor with the data it can reach, its tier, owner, a security score and when its review is due; an overdue review shows red and Mark reviewed books the next one a year out. A row opens its form.
  • 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).
    • audit-timeline.tsxOne audit's card: the firm and its lead, the phases as bars along the dates with a line at today, where the audit stands now and its open items.
    • bottom-tabs.tsxThe phone's tab bar: the four pages used most, and More for the rest (the sidebar in a sheet). It sticks to the bottom of the screen under the page.
    • bulk-bar.tsxThe bar that rises when controls are picked: how many, mark them passing or as needing evidence, give them to an owner, or clear the pick.
    • checks-feed.tsxThe automated checks feed: each run against a connected system as it lands, newest on top (it slides in), pass or fail, the control it tests and how long ago. The live clock keeps it running; its pause stops it.
    • control-form.tsxThe control form (?new=control, ?edit=control:AC-04): title, area, owner, status, test frequency, the criteria it meets in each framework and a note.
    • control-sheet.tsxA control in the side sheet (?control=AC-04): its status and frameworks, then tabs for the details, the evidence behind it, its automated test runs and its history. Mark it passing or failing, edit it, delete it, or upload evidence for it.
    • evidence-form.tsxThe evidence form (?new=evidence, ?edit=evidence:EV-2118): the file, its name and kind, the controls it backs, the day it expires and who reviews it. A new upload waits for review; editing one can delete it.
    • kpi-strip.tsxThe KPI strip: four numbers in one bordered box, each with its line under it and a sparkline or a progress bar; a changed number rolls to its new value and a sparkline grows a point.
    • overview-lists.tsxThe overview's lower row: the failing controls with who holds the most open work, the evidence expiring soon, and the activity feed (a new event slides in at the top).
    • policy-form.tsxThe policy form (?new=policy, ?edit=policy:POL-03): its name, owner, approver and next review. A new one starts as a draft at v1.0.
    • policy-sheet.tsxA policy in the side sheet (?policy=POL-03): its status, owner, approver and review date, acknowledgement overall and by team, and its versions; approve one in review, start a new version, edit or delete it. Also the new-version dialog (?version=POL-03).
    • readiness.tsxThe overview's Readiness panel: one segmented ring per framework, and the evidence waiting for review. Accepting a piece ticks its row green, the controls it backs turn passing, and their segments fill along the ring while the percent rolls up.
    • request-form.tsxThe auditor request form (?new=request, ?edit=request:PBC-024): which audit asked, what for, the control it touches, who answers and by when. Editing one can delete it.
    • settings-program.tsxTwo settings panels: the frameworks in scope (a switch each; off hides its controls, ring and audit everywhere, and one stays on), and the reminders (how early evidence expiry warns, the email digest, nudging owners when a control fails).
    • settings-team.tsxThe team panel: everyone with their role and team, their access picked in the row (admin, control owner, viewer), Remove, and Invite, which opens a short form.
    • sidebar.tsxThe sidebar: the workspace, the framework chips that narrow the app (All, SOC 2, ISO 27001), search with the ⌘K shortcut, the pages in two groups with their counts and a pill that glides to the current one, Settings, and the live strap with its pause.
    • 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 menu button on narrow screens, where you are, the live dot, the page's main action (Upload evidence, New control…), the theme switch and the account menu. It frosts only once the page scrolls under it.
    • vendor-form.tsxThe vendor form (?new=vendor, ?edit=vendor:V-03): its name, what it does, the data it can reach, its risk tier, owner and whether its SOC 2 report is on file. Editing one can remove it.
  • partsWhat several sections share.
    • buildWhat several sections share.
      • cardsWhat several sections share.
        • odometer.tsxThe odometer card style: cards rise while every number rolls digit by digit to its value.
      • rowsWhat several sections share.
        • count.tsThe count row motion: each row on screen brightens from faint while its numbers (<Ticker>) count up, rounded every frame.
      • 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.
    • avatar.tsxA person's initials in a round badge, tinted with the primary.
    • backdrop.tsxThe backdrop behind the app: Flax is Solid, so it stays faded out on the still sand ground; with followBackground it paints your background instead.
    • command-palette.tsxThe command palette (⌘K or Ctrl K): type to find a page or an action, then Enter.
    • 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.
    • flip.tsFLIP for a list that re-sorts or filters: after each change every row that stayed glides from where it was to where it is now. Rows carry data-flip="<id>"; positions are measured inside the list, so a page scroll never reads as a move.
    • form.tsxWhat every form dialog shares: when the address opens it (?new=control, ?edit=control:AC-04) and how it closes, a text area, and the foot with Cancel, Save and a Delete that asks once more inside the dialog.
    • 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 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).
    • 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 one live clock: every 4 seconds an automated check runs (data/live.ts) and every page reloads in place; every 9 a few more people acknowledge a policy; every second the "ago" times redraw. It rests while nothing live is on screen, the tab is hidden or live is paused.
    • 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.
    • overlays.tsxEverything that opens over the page from the address: a control or a policy in the side sheet, and the forms (control, evidence, policy and its new version, vendor, auditor request). Any page can open one by adding its query (?control=AC-04, ?new=evidence).
    • read.tsOne read of the fake API by its key, through useApi: useRead("overview"), useRead<"deal">(`deal:${id}`). Each key keeps one load function, so a page that mounts again finds its answer.
    • ring.tsxA framework's readiness ring: one segment per control, passing ones in the accent from the top, then those waiting for evidence, then the failing ones in red. When a control turns passing its segment fills along the ring and the percent rolls to its new value.
    • router.tsThe page switcher: reads the app's page from the address hash (#/settings, #/?status=open).
    • scope.tsThe framework the sidebar's chips narrow the app to (All, SOC 2, ISO 27001): the overview's rings and the controls list show only that one's controls.
    • 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 that slides in from the end edge over the page (a control, a policy, a vendor), with tabs whose underline glides to the one picked. Escape, a tap outside or its close button slides it away; the address keeps what it shows (?control=AC-04&ctab=evidence).
    • 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 pieces every page shares: a control's status glyph and label, framework chips, a person's initials, the live dot, a panel with its head, tabs as links whose pill glides, and a "See all" link.
    • 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.
    • clock.tsThe demo's "now": today at 10:40 in the morning (a busy hour, so today is never thin), moving on with real time since the page opened. Every seed date is a day counted from it, so expiry and due dates stay near whenever the demo is opened.
    • db.tsThe pretend database: the seed data in memory and every change the app can make to it. data/api.ts is the only caller; a real backend replaces this file.
    • live.tsWhat happens on its own while the demo runs: the automated checks take turns, each run's result streams into the checks feed and flips its control when it fails or is fixed, and employees keep acknowledging published policies.
    • seed-controls.tsThe pretend controls of Ledgerline, a 120-person fintech getting ready for SOC 2 Type II and ISO 27001, with their owners and the automated checks that test them.
    • seed-records.tsThe pretend evidence, policies, vendors, audits, auditor requests and recent activity of Ledgerline's compliance program.
    • types.tsThe shapes of the pretend data: controls, evidence, policies, vendors, audits and their requests, the team, the automated checks and the activity feed. Dates are ISO days ("2026-11-29"), times ISO instants.
    • views.tsWhat each page reads, made from the pretend database: readiness per framework, the overview's lists, every page's rows with names filled in, and one record with what hangs off it.
  • 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}).

audit-flax.tsx

The page: the sections in order.

Завантаження…
Підходить для
Security and compliance teams at a growing fintech getting ready for SOC 2 Type II and ISO 27001 audits.
Як це працює
Accept a piece of evidence: its control ticks green and that ring segment fills while readiness rolls up, as live checks stream in.
Як користуватися
Edit words in content.ts and colors in theme.ts, and swap the bodies in data/api.ts for calls to your backend.