Repository navigation
Conversation
…-app page (demo and Workzone via KIDRAHT_URL)
…s it only with its own KIDRAHT_DEMO_URL
…vite-only signup Each company now has a country. Albania (AL) brings lek (ALL) amounts, Albanian public holidays (weekend holidays move to the next working day, both Easters, Bajram dates to confirm yearly), 20 vacation days, 20 % VAT and Albanian as the default language for new workers. Germany stays the default and behaves as before. SaaS signup can be limited to an invite code (SIGNUP_INVITE_CODE) for the pilot phase, and asks for the company country.
…y provisioning - Site types STEEL_WORKSHOP (fabrication) and STEEL_ASSEMBLY (on site) in all languages. - Company logo (PNG/JPG/WebP/SVG up to 150 KB) uploaded in Settings and shown in the top bar; rendered only through <img>. - scripts/provision-company.ts creates one real customer (company, owner admin, plan, first sites, knowledge) from Railway variables, once and idempotently; customer data never lands in the repo. - Field board (Workzone) lists only active sites; finished projects stay in the admin list. - Fix: the site document upload label used a missing key; Albanian site placeholders use Albanian examples.
- Steel sites (workshop / on-site assembly) get four work phases each: foundation, columns, trusses, painting on site; cutting, drilling, welding, coating in the workshop. Stored as the site's TreeItem rows, so progress counters and realtime updates keep working. - Phase board: large touch tiles with animated SVG scenes, a process track and a full-screen card per phase with Done, Note and Material missing (quick material chips); the actor comes from the session. - Site cards on the field board show a steel hall or workshop scene that builds up with progress, plus a progress ring. - Albanian strings fixed (diacritics) on the screens touched.
- Material groups per construction site run through ordered factory steps (cutting, laser, assembly, final) with block reason, notes and full history - Factory (STEEL_WORKSHOP) is no longer a site card; it is a static panel - Site page shows 'materials from the factory' with ready summary - New ProductionBatch / ProductionEvent tables with tenant RLS
…documents - Factory panel under Workzone is view-only; groups link to their site - Site page: work phases plus office-added tasks, factory production of the site's material beside it; steps moved by office, foreman or master only - Supplier order PDF: read site, address and material lines, office checks, material goes on the line; missing site created, missing details filled - Documents button: documents and photos (upload or camera) for the team, orders and invoices with costs for the office only (SiteFile table, RLS) - Site cards: hall, bridge or multi-storey frame drawing, name on a corner plate - Optional pilot samples (Muster workers and sites) via PILOT_SAMPLES_* vars
- Worker crew roles: site engineer, factory engineer, office, site worker, factory worker. Site phases move only for site engineers, factory steps only for factory engineers, orders/costs only for the office; workers view and report missing material. - The company logo replaces the product logo in the top bar. - Site cards show only in the Workzone canvas, not under the factory. - Machine card opens full screen with a drawing, inspections and defects; cones hidden for steel companies; fleet strip uses the user's language. - Sample data: a worker per role and four sample machines.
- Company logo sits inside the white round mark like the product logo - Workzone site cards use the small drawing again; rows spaced so cards never overlap - Control panel menu: compact links with icons, active accent, user card, language/theme/logout as one row; a scrollable row of links on phones - Sites page: cards with drawing, address, phases progress and files; 'new site' form folded away; edit and management in one fold - Personnel & fleet: compact stats with icons, worker rows with avatar and icon actions, machine drawings in the fleet table, no filler banners - Steel companies: no road safety stock on the dashboard or in the menu - Albanian: the last missing panel strings translated
- The menu is rendered once: a scrollable row on phones, the sidebar from tablet up (the duplicate phone menu broke link lookups) - Sidebar user card shows the e-mail under the name - Site cards show the task count with its word again - E2E: open the folded new-site form, find site cards as list items
…cument tiles, folded details, icon report headers
…country's base pack, signed sign-in link (no second PIN), KiDraht in the admin menu; Albanian default leave 22 days
Owner-approved UI correction: one header office entry, separate team/tool areas, KiDraht beside notifications, slightly larger readable worker names and discreet camera glyphs with accessible touch targets. Local build/TypeScript/lint and four focused browser flows passed, including 28 workers, desktop/phone/landscape light/dark, header/footer underlay and actual synthetic uploads for vehicle/site/factory/profile with private access checks. No migration, configuration or operational permission changes.
Owner-approved UI correction: full-width worker strip with operational controls in a normal-flow row below it, light orange crystal home actions, fullscreen offices with floating glass navigation, and the original tenant logo on the reception marble wall. Local production build/TypeScript/lint, 11 office integration cases and nine focused browser flows passed across desktop, narrow and short landscape in light/dark. Existing operational access and workflows preserved; no migration, dependencies, secrets or configuration changes.
Owner-approved UI extension: accepted warm glass/crystal materials inside steel sites and existing process/material sheets; compact touch controls and soft green live workers without the expanding pulse. Keep the opened process bound to its existing ID across reordering/refreshes. Server commands, calculations, permissions and stored data contracts are unchanged. Local production build/TypeScript/lint, 40 existing access/role/stage unit cases and three focused browser flows passed. Before/after desktop, 390/320px phones and short landscape were reviewed in light/dark. No migration, dependencies, provider, account or configuration changes.
Constrain process artwork to its preview and keep the narrow catalog readable. Add the own-office crystal work control with existing identity checks and the shared single-clock attendance engine. Persist explicit office location without changing hours or grants; keep plan/GPS autofill from overriding it. Owner authorized immediate production publication. Additive nullable workplace migration; no account or Railway config changes. Local production build/TypeScript, lint, 8 attendance integration cases and the focused desktop/phone light/dark browser flow passed. PR166 remains separate.
Owner-approved merge and application deployment. Add the registration-only warehouse key and visible employee profile entry; preserve existing management and repair rights. No employee grants or roles are activated by this migration. Validated locally: production build/TypeScript/lint, 1,154 unit cases and nine browser flows. Full integration: 493/494; the unchanged completion-notification assertion also fails on the original baseline and remains documented. Preserve the independently published PR167 and PR168 work.
Continue the owner-requested office presence workflow with direct Ndalo, real green door status and a compact digital reception list. Reuse attendance/pause/undo rules, protect stale and foreign stop targets, and send the actual stop instant for first-minute clicks. Keep private office work separate. Preserve production PR166 warehouse baseline. No migration or account/access/provider/Railway config changes. Local build/TypeScript/lint, 9 focused attendance integration cases and the desktop/phone/landscape light/dark browser flow passed.
Owner-approved merge and application deployment. Use the accepted photographic industrial style for tasks/processes and future explicit AI images. Preserve uploaded originals and stored legacy bytes, permissions, provider/model, quotas and the PR169 office work. Validated locally before approval: 1,161 unit tests, production build/TypeScript, full lint, two browser workflows across desktop/phone light/dark and 200% text. Do not repeat broad tests or alter real grants/photos during publication. No schema migration or Railway configuration change.
Read current office/site/factory/paused/stopped-today status from one freshly authorized repeatable-read snapshot, with explicit unknown/conflicting records, exact counts and paginated names. Preserve private assistant boundaries, history, model and quota/input limits. Make reception presence shell-free lettering anchored on the marble. Preserve PR170 photos, PR169 office controls and PR166 warehouse work. No migration, account/access or Railway config changes. Local build/TypeScript/lint, 80 assistant unit/provider-contract/route tests, 3 isolated-Postgres integration cases and the desktop/phone/landscape light/dark browser flow passed.
Owner-approved merge and app deployment. Match named tasks to their actual work across sites and add 15 specific photographic defaults. Preserve original uploads, current-style AI images, legacy stored bytes, material links/progress, permissions and model/provider/quotas. Retain the other agent's PR171/172 office and assistant work. No schema or Railway configuration changes. Prior local checks: 55 focused tests, 36/36 catalog snapshot coverage, production build/TypeScript, changed-file lint and synthetic two-site browser workflow PASS. Publication uses bounded live checks without repeating broad tests.
Owner-approved office UI release. Integrate drawer/mail lettering with the original scene and open the existing company assistant beside the monitor for the configured office admins. Apply compact crystal surfaces while preserving action hues, original photos, archives and permissions. Includes PR174 unchanged. Local build, scoped lint, 31 focused checks and synthetic desktop/narrow/landscape browser verification passed. No schema, configuration, provider or real permission changes.
Owner-approved release documentation and genuine synthetic office captures. Record verified PR175 application publication and preserve all app source, permissions, original photos and PR174 work. No runtime or configuration changes.
#177) Owner-approved AL Steel production release. Show recorded factory/workshop workers, keep one names popover, add own workshop Start/Stop and compact service bays/history. Preserve existing repair workflow and permissions. Includes PR174/175/176 unchanged. The CHECK-only workplace migration preserves existing history. Fresh encrypted backup and independent restore verified 86 tables; preflight access bootstrap has zero pending changes. Focused local checks, production build/TypeScript and synthetic desktop/narrow/light/dark/enlarged-text workflow passed. No Co-Authored-By trailers.
Owner-approved application release. Include partial part/plate cutting in factory process progress on home and site; keep assembly release/field totals and kilograms unchanged. Order current crews first and idle sites alphabetically in the phone grid and canvas. Preserve PR177 workshop/attendance work, original photos, permissions, stored confirmations and configuration. Prior local build/TypeScript, scoped lint, 18 focused checks and synthetic responsive browser verification passed. No broad tests or Actions repeated; no migration or provider calls.
Use the existing warm crystal surfaces for daily planning, its calendar and the production dashboard. Compact monitor, copy and refresh actions; preserve workflows, permissions and production calculations. Local build, types, lint, metrics/access tests and focused visual/functional regressions passed. Owner approved merge and production deployment.
Reuse the warm crystal identity for worker profiles and report screens. Remove the inherited office navigation divider and add existing illustrations to factory-list process cards. Preserve calculations, permissions, A4 report content, field-list rendering and process confirmations. Local build, types, lint and focused synthetic visual/functional checks passed. Owner approved merge and production deployment.
Group clothing by item type and size with reserve and employee-custody counts. Preserve individual records, existing confirmation flows and stored codes; hide XLS references in clothing views.
Apply the accepted crystal warehouse presentation and reception schedule plaque. Preserve inventory, custody, permissions and the merged clothing-group changes. Owner approved release of PR #182.
Reuse the approved crystal presentation for fleet, vehicle/service cards and steel administration. Preserve GPS, fuel, repair commands, business records and permissions. Owner approved publication of PR #184.
Choose an employee and quantity from a clothing group while preserving per-piece confirmations and history. Reserve eligible stock atomically with idempotent requests; preserve the merged fleet and administration changes from PR184.
…185) Preserve service workflows and access; compact empty workshop phases and clarify steel-only glass surfaces.
Allow the recipient to confirm one original clothing delivery in a single atomic action while retaining each piece’s confirmation, custody movement and audit history. Preserve independent office approval, UUID replay protection, existing clothing records and the merged PR185 workshop work. Owner approved merge and application publication.
Preserve existing operations and access while lifting office work surfaces and confirmation dialogs above the team header.
Preserve original photos, crystal surfaces, business behavior and authorization while serving bounded lossless thumbnails and keeping worker profile actions above navigation. Owner approved PR189 head 0742429 for AL-Steel production.
Restore the accepted crystal material across office work views and make return controls legible. Order reception by existing office presence, then configured directors. Preserve business logic, data, access and original assets. Owner approved PR190 head70972a4 for AL-Steel production.
…0261113 Add crystal task journal with personal scheduled reminders
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Redi · project thread
Everything needed to run the first real pilot firm (a metal construction company in Albania) on the shared SaaS platform.
Country per company
CompanyProfile.country(DEdefault,AL), DB CHECK constraint, set in Settings and at signup.src/lib/region.ts: DE = EUR, 26 vacation days, 19 % VAT, German (unchanged). AL = lek (ALL, no decimals), 20 days (Labour Code art. 92), 20 % VAT, Albanian.formatMoney(cents, lang, currency); EUR output unchanged.SIGNUP_INVITE_CODEis set (constant-time compare).Metal construction
STEEL_WORKSHOP(fabrication) andSTEEL_ASSEMBLY(on site) in all 6 languages, with icons on the field board.Company logo
CompanyProfile.logoDataUrl: PNG/JPG/WebP/SVG up to 150 KB, uploaded in Settings, shown as a white badge in the top bar. Only rendered via<img>(no script execution from SVG); stored values are re-validated before rendering.One-time provisioning
scripts/provision-company.tscreates one company (owner admin, plan, sites, knowledge, logo) fromPROVISION_COMPANY_JSON+PROVISION_OWNER_PASSWORD. No-op without them, never changes an existing company. Customer data stays in Railway variables, never in this repository.Fixes found while testing with real data
admin.addDocument(key lives underworkzone).countryis optional in the action schema so older forms still save (integration test).Checks
🤖 Generated with Claude Code
https://claude.ai/code/session_01Lb2GogwE3kmcK3UbxNrdUA