Skip to content

refactor(terminology): migrate fuel-station terms to generic store language - #48

Merged
spandreou merged 1 commit into
mainfrom
antigravity/global-store-terminology-migration
Sep 5, 2026
Merged

refactor(terminology): migrate fuel-station terms to generic store language#48
spandreou merged 1 commit into
mainfrom
antigravity/global-store-terminology-migration

Conversation

@spandreou

Copy link
Copy Markdown
Owner

Summary

This PR implements the ShiftOryx Global Product Terminology Migration, removing fuel-station-specific product language across the entire platform in favor of generic multi-tenant workforce scheduling SaaS terminology.

Key Terminology Changes

  • Canonical Greek Product Term: κατάστημα (singular) / καταστήματα (plural) replacing customer-facing πρατήριο / πρατήρια / πρατηρίου.
  • Canonical English Equivalent: store / stores.
  • Business Category Option: FUEL_STATION category label in src/utils/portalHelpers.js updated to display Κατάστημα (internal enum identifier FUEL_STATION preserved for backward compatibility).
  • Customer-Facing Strings Updated:
    • src/App.jsx: Central portal RouteNoticePage guidance updated to reference καταστήματος / κατάστημα.
    • src/components/auth/TenantGate.jsx: Checking banner updated to Ελέγχουμε την πρόσβαση στο συγκεκριμένο κατάστημα.
    • src/components/portal/InvalidHostNotice.jsx: Subtitle and message updated to generic κατάστημα.
    • src/hooks/useSchedulerStore.js: Error message updated to Δεν βρέθηκε tenant context για το κατάστημα.
    • src/services/tenantAccessService.js: noAccess message updated to Δεν υπάρχει ενεργό κατάστημα συνδεδεμένο με αυτόν τον λογαριασμό.
    • src/services/tenantAuthorization.js: TENANT_ACCESS_DENIED_MESSAGE updated to Δεν έχετε πρόσβαση σε αυτό το κατάστημα.
    • src/scheduler-engine/generateSchedule.ts: Internal comment updated to reference legacy 4-6 Store topology.
    • docs/saas-security-qa-checklist.md: Expected customer-facing assertion text updated to match new store messages.
    • docs/project-brain.md, docs/project-status-report.md, docs/SHIFTORYX_MASTER_ROADMAP.md, README.md: Product positioning updated from fuel-station-specific tool to multi-tenant workforce scheduling SaaS.

Preserved Technical Compatibility Identifiers

  • Firebase project name: gasstationproject-9dd89 (in configs/scripts).
  • Legacy DNS / hostnames: gas.homelabshare.gr, bp-kallis.homelabshare.gr.
  • Tenant slugs: bp-kallis.
  • Category enum identifier: FUEL_STATION.
  • Internal architectural identifiers: tenantHostContext, TenantGate, tenantId, etc.

Regression & Quality Assurance

  • Added scripts/validate-product-terminology.mjs registered as npm run qa:product-terminology to continuously guard against deprecated customer-facing terms in runtime code (src/).
  • Updated static test scripts scripts/validate-saas-foundation.mjs and scripts/validate-tenant-authorization.mjs.
  • All verification suites pass: qa:product-terminology, qa:auth-broker-negative, qa:auth-broker, qa:central-portal-isolation, qa:tenant-authorization, qa:saas-foundation, qa:phase5-portal, npm run build, npm run security:scan.

@strix-security

strix-security Bot commented Sep 5, 2026

Copy link
Copy Markdown

Strix is installed on this repository, but we couldn't run this PR security review because this workspace's trial has ended. Add a card to resume code reviews here.

@vercel

vercel Bot commented Sep 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
shiftoryx Ready Ready Preview Sep 5, 2026 7:48am UTC

@spandreou
spandreou merged commit 2be6ef5 into main Sep 5, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant