mahdahar 695ee3de91 feat(tests): implement proper group member sequencing and cleanup deprecated skills
**Test Group Member Management:**
- Refactor member data structure from simple ID array to object array with sequence numbers
- Update member objects to include both TestSiteID and Member (sequence) fields
- Fix addMember() to assign sequential Member numbers automatically
- Fix removeMember() to re-sequence remaining members after removal
- Fix moveMember() to properly swap and re-sequence members
- Add sorting by sequence number in members list display
- Update payload builder in tests.js to use proper object structure for API
- Update TestFormModal.svelte member mapping for edit mode

**Documentation:**
- Add TypeScript Types section to AGENTS.md with TestType and TestSummary examples
- Reorganize TODO.md with new test type categories and backend notes

**Cleanup:**
- Remove deprecated OpenSpec skills from .opencode/ directory:
  - opsx-apply.md, opsx-archive.md, opsx-explore.md, opsx-propose.md
  - openspec-apply-change/SKILL.md, openspec-archive-change/SKILL.md
  - openspec-explore/SKILL.md, openspec-propose/SKILL.md

**New Files:**
- Add .serena/memories/ for code style conventions and task tracking
2026-03-09 16:50:35 +07:00
2026-02-19 16:42:03 +07:00
2026-02-09 21:39:14 +07:00

CLQMS Frontend

Clinical Laboratory Quality Management System (CLQMS) - SvelteKit frontend application.

Tech Stack

  • Framework: SvelteKit 2.50.2 with Svelte 5 (runes)
  • Styling: Tailwind CSS 4 + DaisyUI 5
  • Icons: Lucide Svelte
  • Build Tool: Vite 7.3.1
  • Package Manager: pnpm

Prerequisites

  • Node.js 18+
  • pnpm (npm install -g pnpm)
  • Backend API running on http://localhost:8000

Setup

# Install dependencies
pnpm install

# Create environment file
cp .env.example .env

Development Commands

# Start development server
pnpm run dev

# Build for production
pnpm run build

# Preview production build
pnpm run preview

# Sync SvelteKit (runs automatically on install)
pnpm run prepare

Project Structure

src/
  lib/
    api/          # API client and endpoints
    stores/       # Svelte stores (auth, valuesets)
    components/   # Reusable components
    utils/        # Utility functions
  routes/         # SvelteKit routes
    (app)/        # Authenticated routes
      dashboard/
      patients/
      master-data/
    login/        # Public routes

API Configuration

API requests to /api are proxied to http://localhost:8000 in development (configured in vite.config.js).

Authentication

JWT-based authentication with automatic redirect to /login on 401 responses.

Code Style

See AGENTS.md for detailed coding guidelines.

Description
No description provided
Readme 5.7 MiB
Languages
Svelte 88.9%
JavaScript 9.7%
TypeScript 1%
CSS 0.3%