SPEC-UIX-GRP Rev 0.2.1 · 2026-08-03

Cane Agency · UIX Seriesสถาบันอ้อย · ชุดเอกสาร UIX

UI / UX — Factory Groups (กลุ่มโรงงาน)UI / UX — กลุ่มโรงงาน

Documentเอกสาร
SPEC-UIX-GRP
Versionversion (เวอร์ชัน)
0.2.1
Scopeขอบเขต
grp · factory_group · grp-01…grp-07
Surfaceช่องทางใช้งาน
group (group capacity — the thirteenth surfacecapacity group — surface ที่สิบสาม)
Updatedปรับปรุงล่าสุด
2026-08-03
Masterเอกสารหลัก
SPEC-UIX

1. Principles1. หลักการ

2. Information architecture2. สถาปัตยกรรมสารสนเทศ

Sidebar: Overview · Consolidated statements · Mapping & eliminations · Performance · Group fleet · Group & membership · Directory & delegation. The tenant switcher carries the group context; inside a tenant it also carries the department picker — every department the account may open with the role it holds there, defaulting to the last used, each pick re-issuing the token (FR-220, OQ-17). Copy resolves through the grp.* namespace; sys.* is shared.

แถบข้าง: ภาพรวม · งบบริหารรวม · การ map และตัดรายการ · ผลการดำเนินงาน · กองรถกลุ่ม · กลุ่มและสมาชิกภาพ · ไดเรกทอรีและการมอบอำนาจ ตัวสลับ tenant บรรทุกบริบท group; ภายใน tenant ยังบรรทุกตัวเลือกหน่วยงาน — ทุกหน่วยงานที่บัญชีเปิดได้พร้อม role ที่ถือที่นั่น ค่าเริ่มต้นคือที่ใช้ล่าสุด ทุกการเลือกออก token ใหม่ (FR-220, OQ-17) คำในหน้าจอใช้ namespace grp.*; sys.* ใช้ร่วม

3. Screens3. หน้าจอ

Screenหน้าจอPurposeจุดประสงค์Key componentscomponent หลัก
grp-01Group overview — the KPI wall per member factory and rolled up, membership-period clipped and k-floored; drill-down opens a read-only group-rendered factory slice.ภาพรวมกลุ่ม — ผนัง KPI รายโรงงานสมาชิกและรวมขึ้น ตัดตามช่วงสมาชิกภาพและปิดบังตามเกณฑ์ k; การเจาะลงเปิดส่วนของโรงงานแบบอ่านอย่างเดียวที่กลุ่ม renderStat (card) · Table · Badge · Alert
grp-02Consolidated statements — P&L / balance sheet / cash view, per-factory columns, provisional|final badge, the management-view label, publish and export-pack actions.งบบริหารรวม — กำไรขาดทุน / ฐานะการเงิน / มุมมองเงินสด คอลัมน์รายโรงงาน ป้าย provisional|final ป้ายมุมมองบริหาร ปุ่มเผยแพร่และชุด exportTabs · Table (lined, sc-num) · Badge · Button · Dialog
grp-03Eliminations & chart mapping — the versioned map with its blocking unmapped bucket and the unmatched-pair exception queue.การตัดรายการและ map ผังบัญชี — การ map ที่มีเวอร์ชันพร้อมถังที่ยังไม่ได้ map ซึ่ง block การเผยแพร่ และคิวข้อยกเว้นคู่ที่จับไม่ได้Table (sortable) · Select · Input · Badge · Dialog
grp-04Performance — production, intake, payments and strategic exposure as factory aggregates with rolled-up trend.ผลการดำเนินงาน — การผลิต การรับอ้อย การจ่ายเงิน และภาระกลยุทธ์ เป็นค่ารวมรายโรงงานพร้อมแนวโน้มรวมStat (sparkline) · Table (striped) · Select · Badge
grp-05Group fleet — trucks that delivered to a member mill inside its membership period, merge health, plate-change declarations.กองรถกลุ่ม — รถที่ส่งอ้อยให้โรงงานสมาชิกภายในช่วงสมาชิกภาพ สุขภาพการควบรวม การแจ้งเปลี่ยนทะเบียนTable (compact, mono plates) · Badge · Select
grp-06Group & membership admin — the group record and evidence, admissions/divestments with effective dates, season re-attestation, audit log.ผู้ดูแลกลุ่มและสมาชิกภาพ — ระเบียนกลุ่มและหลักฐาน การรับเข้า/ขายออกพร้อมวันมีผล การยืนยันซ้ำรายฤดู บันทึกตรวจสอบTable (lined) · Button · Dialog (two-act) · Alert · Badge
grp-07Directory & delegation — the department tree, directory groups (incl. the built-in administrators group), delegated grants with four-eyes records, and the per-department effective-permission explainer.ไดเรกทอรีและการมอบอำนาจ — ต้นไม้หน่วยงาน กลุ่มไดเรกทอรี (รวมกลุ่มผู้ดูแลในตัว) grant ที่มอบอำนาจพร้อมบันทึกสี่ตา และคำอธิบายสิทธิ์ที่ใช้ได้จริงรายหน่วยงานTree · Table · Switch (allow|deny) · Button · Dialog · Tooltip

4. State & masking rules4. กติกาสถานะและการปิดบัง

StateสถานะRenderingการแสดงผล
defaultปกติSeason-to-date, per-factory columns first, group total last; figures tabular (sc-num).ตั้งแต่ต้นฤดูถึงปัจจุบัน คอลัมน์รายโรงงานก่อน ยอดรวมกลุ่มท้ายสุด; ตัวเลขแบบ tabular (sc-num)
loadingกำลังโหลดsc-skel cards and rows — never a spinner over a populated table.sc-skel สำหรับ card และแถว — ไม่ใช้ spinner ทับตารางที่มีข้อมูลแล้ว
emptyว่างEmptyState with a single sentence and one action: grp.overview.empty · grp.stmt.empty · grp.fleet.empty.EmptyState หนึ่งประโยคและหนึ่งการกระทำ: grp.overview.empty · grp.stmt.empty · grp.fleet.empty
maskedปิดบังCells resolving to fewer than five farmers show the floor chip grp.mask.floor, enforced server-side before render AND export; amounts without grp_amounts render masked; per-farmer agreement rows without grp_str_agreements are ABSENT, never masked-partial.ช่องที่ลดรูปเป็นชาวไร่น้อยกว่าห้ารายแสดง chip เกณฑ์ grp.mask.floor บังคับฝั่ง server ก่อน render และ export; ตัวเงินที่ไม่มี grp_amounts แสดงแบบปิดบัง; แถวข้อตกลงรายชาวไร่ที่ไม่มี grp_str_agreements ไม่มีเลย ไม่ใช่ปิดบังบางส่วน
blockedถูกกั้นPublish disabled with the unmapped count (grp.stmt.blocked); a non-delegable key refusal names the key (grp.dir.notdelegable).ปุ่มเผยแพร่ปิดพร้อมจำนวนบัญชีที่ยังไม่ได้ map (grp.stmt.blocked); การปฏิเสธกุญแจที่มอบไม่ได้ระบุชื่อกุญแจ (grp.dir.notdelegable)
suspendedถูกพักLapsed attestation: a banner (grp.status.suspended), the read model frozen, run and publish actions disabled — member factories unaffected.การยืนยันขาดอายุ: banner (grp.status.suspended) แช่ read model ปิดปุ่มรันและเผยแพร่ — ไม่กระทบโรงงานสมาชิก
read-onlyอ่านอย่างเดียวPublished runs and every drill-down factory slice; no affordance on the screen writes into a factory (G2).การรันที่เผยแพร่แล้วและทุกส่วนของโรงงานที่เจาะลงไป; ไม่มีปุ่มใดบนหน้าจอเขียนเข้าโรงงาน (G2)

5. Copy & tone5. คำและน้ำเสียง

The grp.* namespace carries the console's strings, bilingual and Thai-first in the product. Two copy duties are load-bearing: the disclosure notice shown inside each member factory's portal (grp.disclosure.notice — plain sentences naming the department, the group, who administers and what is visible), and the masking explanation (grp.mask.floor) which teaches the rule instead of implying a bug. Errors state the blocking fact and the remedy: grp.err.overlap, grp.err.retro, grp.dir.notdelegable, grp.dir.fourEyes.

namespace grp.* บรรทุกคำของ console สองภาษาและใช้ไทยเป็นหลักในผลิตภัณฑ์ คำสองชุดแบกน้ำหนักไว้: ประกาศการเปิดเผย ที่แสดงใน portal ของโรงงานสมาชิกแต่ละแห่ง (grp.disclosure.notice — ประโยคเรียบง่ายที่ระบุหน่วยงาน กลุ่ม ผู้ดูแล และสิ่งที่มองเห็นได้) และคำอธิบายการปิดบัง (grp.mask.floor) ซึ่งสอนกติกาแทนที่จะทำให้คิดว่าระบบพัง ข้อความผิดพลาดบอกข้อเท็จจริงที่กั้นและทางแก้: grp.err.overlap, grp.err.retro, grp.dir.notdelegable, grp.dir.fourEyes

Related documentsเอกสารที่เกี่ยวข้อง

Revision historyประวัติการแก้ไข

RevฉบับDateวันที่Changeการเปลี่ยนแปลง
0.1.02026-07-25Created by PROP-026 (spec v0.25.0, accepted & applied 25 Jul 2026; all 17 open questions client-decided) — the GRP market perspective family opens with six documents. Rev starts at 0.1.0 per the post-PROP-014 semantic-versioning convention.สร้างโดย PROP-026 (spec v0.25.0 รับและ apply 25 ก.ค. 2569; ลูกค้าตัดสินคำถามเปิดครบทั้ง 17 ข้อ) — ตระกูล perspective ฝั่งตลาด GRP เปิดพร้อมเอกสารหกฉบับ เริ่ม rev ที่ 0.1.0 ตามธรรมเนียม semantic versioning หลัง PROP-014
0.2.02026-08-03PROP-073 (spec v0.47.0): one word — Tenant. Party → Tenant, party_id (and every prefixed form) → tenant_id, PartyCapacity/PartyQualification/PartyFounded → Tenant*, party context/switcher → tenant context/switcher, cross-party → cross-tenant, organisation → organization, and ผู้เล่น retired as the Thai gloss (the Latin word tenant instead, R-THAI). Hold list untouched: counterparty · third party · tripartite working group · Person*/person_id; display codes and token claims were held by R-NULL for one release and then MOVED at v0.47.1 on client decision (C-1), because no token has ever been SIGNED — no auth exists in the built ocsb/ocsf prototypes — and the only printed codes were eight fixture strings in apps/ocsf/fund-shell.jsx, swept in the same pass: PTY- → TNT-, TCA- → TCA-, TQL- → TQL-, claim tnt → tnt, claim dep → dep. Carried in the same pass: the PROP-075 rectification — the retired directory noun domain becomes department (A-82 R-ONETREE) and the dangling A-86/A-87/A-88 citations are re-pointed at the ids they were actually given, A-81/A-82/A-83.PROP-073 (spec v0.47.0): คำเดียว — Tenant Party → Tenant, party_id ทุกรูป → tenant_id, PartyCapacity/PartyQualification/PartyFounded → Tenant*, cross-party → cross-tenant และเลิกใช้ ผู้เล่น เป็นคำแทนวัตถุนี้ในภาษาไทย (ใช้คำละติน tenant ตาม R-THAI) รายการห้ามแตะไม่ถูกแตะ: คู่สัญญา · third party · คณะทำงานไตรภาคี · Person*/person_id รอบเดียวกันแก้ค้างจาก PROP-075: domain → department (A-82) และแก้การอ้าง A-86/A-87/A-88 ที่ไม่มีอยู่จริงเป็น A-81/A-82/A-83
0.2.12026-08-03PROP-073 PATCH 1 (spec v0.47.1 / v0.47.2 / v0.47.3 as applicable): the identifiers v0.47.0 had held, moved on client decision. PTY-######## → TNT-######## · PCA-######## → TCA-######## · PQL-######## → TQL-######## · token claim pty → tnt · token claim dom → dep (v0.47.1, C-1 — R-NULL had held them as a stored VALUE and a wire format; reversed because no token has ever been signed and the only printed codes were fixture strings). quota_org_officer → quota_officer · lead_org_officer → lead_officer (v0.47.2, C-2 — org is organization abbreviated, not a resemblance). The retired role LABEL swept as a phrase family and quota organization naming the tenant → quota group / กลุ่มโควตา (v0.47.3). All retired forms are in the FR-396 crosswalk and refused in new text by NFR-142.PROP-073 PATCH 1 (spec v0.47.1 / v0.47.2 / v0.47.3 ตามที่เกี่ยวข้อง): ตัวระบุที่ v0.47.0 คงไว้ ถูกย้ายตามการตัดสินของลูกค้า PTY- → TNT- · PCA- → TCA- · PQL- → TQL- · claim pty → tnt · claim dom → dep (v0.47.1, C-1) · quota_org_officer → quota_officer · lead_org_officer → lead_officer (v0.47.2, C-2) · ป้ายชื่อบทบาทที่เลิกใช้และ องค์กรโควตา ที่เรียก tenant → กลุ่มโควตา (v0.47.3) ทุกรูปที่เลิกใช้อยู่ในตารางแปลง FR-396