Hasyim Kai 89b6163da8 Squashed commit of the following:
commit 82e33c6dbf
Merge: f96cbdb eba740a
Author: Munawwirul Jamal <57973347+munaja@users.noreply.github.com>
Date:   Thu Dec 4 13:21:37 2025 +0700

    Merge pull request #209 from dikstub-rssa/feat/move-kai-ui-to-sidebar-195

    Feat/move kai UI to sidebar 195

commit f96cbdb173
Merge: 5de0057 62556a5
Author: Munawwirul Jamal <57973347+munaja@users.noreply.github.com>
Date:   Thu Dec 4 12:07:25 2025 +0700

    Merge pull request #210 from dikstub-rssa/feat/procedure-room-order

    Feat/procedure room order

commit 62556a5c7d
Merge: 93a294d 5de0057
Author: Munawwirul Jamal <57973347+munaja@users.noreply.github.com>
Date:   Thu Dec 4 12:07:18 2025 +0700

    Merge branch 'dev' into feat/procedure-room-order

commit 5de0057278
Merge: 71ca7f9 782034c
Author: Andsky <andrianovsky95@gmail.com>
Date:   Thu Dec 4 11:56:31 2025 +0700

    Merge pull request #211 from dikstub-rssa/feat/micro-lab-order-50

    Feat/micro lab order 50

commit 93a294d8d0
Merge: 6c26367 26365bb
Author: Andrian Roshandy <andrianovsky95@gmail.com>
Date:   Thu Dec 4 11:18:49 2025 +0700

    Merge branch 'dev' into feat/procedure-room-order

commit 26365bbd2e
Merge: b6b56d1 e7cab6c
Author: Andrian Roshandy <andrianovsky95@gmail.com>
Date:   Thu Dec 4 11:18:33 2025 +0700

    Merge branch 'dev' of github.com:dikstub-rssa/simrs-fe into dev

commit 6c26367c1d
Author: Andrian Roshandy <andrianovsky95@gmail.com>
Date:   Thu Dec 4 10:51:40 2025 +0700

    feat/procedure-room-order: added item

commit a0dfd214e5
Author: Andrian Roshandy <andrianovsky95@gmail.com>
Date:   Thu Dec 4 10:25:50 2025 +0700

    feat/procedure-room-order: finishing

commit acb573e279
Author: Andrian Roshandy <andrianovsky95@gmail.com>
Date:   Thu Dec 4 10:25:35 2025 +0700

    feat/procedure-room-order: adjust procedure-room-order

commit 9adb77d10b
Author: Andrian Roshandy <andrianovsky95@gmail.com>
Date:   Thu Dec 4 10:24:52 2025 +0700

    feat/procedure-room-order: adjust material-package

commit 52454a019e
Merge: 0a0fb73 b6b56d1
Author: Andrian Roshandy <andrianovsky95@gmail.com>
Date:   Thu Dec 4 10:23:14 2025 +0700

    Merge branch 'dev' into feat/procedure-room-order

commit b6b56d186d
Author: Munawwirul Jamal <munawwirul.jamal@gmail.com>
Date:   Thu Dec 4 10:17:16 2025 +0700

    dev: hotfix, cleaning some pubs

commit 0a0fb73483
Author: Munawwirul Jamal <munawwirul.jamal@gmail.com>
Date:   Wed Dec 3 14:33:13 2025 +0700

    feat/procedure-room-order: flow for procedure room

commit 7b4b4eecf9
Merge: 9f72e1d b172125
Author: Andrian Roshandy <andrianovsky95@gmail.com>
Date:   Wed Dec 3 10:18:15 2025 +0700

    Merge branch 'feat/mcu-order' into feat/procedure-room-order

commit 782034c2b1
Merge: bae0a22 b80ee5a
Author: Andrian Roshandy <andrianovsky95@gmail.com>
Date:   Wed Dec 3 10:16:45 2025 +0700

    Merge branch 'dev' into feat/micro-lab-order-50

commit 9f72e1df47
Merge: fa0ae98 b80ee5a
Author: Andrian Roshandy <andrianovsky95@gmail.com>
Date:   Wed Dec 3 10:02:57 2025 +0700

    Merge branch 'dev' into feat/procedure-room-order

commit fa0ae9866e
Author: Andrian Roshandy <andrianovsky95@gmail.com>
Date:   Wed Dec 3 09:44:33 2025 +0700

    feat/procedure-room-order: wip #3

commit ce93f996d9
Author: Andrian Roshandy <andrianovsky95@gmail.com>
Date:   Wed Dec 3 09:43:36 2025 +0700

    feat/procedure-room-order: wip #2
    + procedure-room

commit 4444e87cb3
Author: Andrian Roshandy <andrianovsky95@gmail.com>
Date:   Wed Dec 3 09:42:31 2025 +0700

    feat/procedure-room-order: wip #1

    + material-package
    + material-package-item

commit b172125d99
Merge: b2d3c14 9b7a719
Author: Andrian Roshandy <andrianovsky95@gmail.com>
Date:   Mon Dec 1 20:41:58 2025 +0700

    Merge branch 'feat/page-cleaning' into feat/mcu-order

commit bae0a222b8
Author: Andrian Roshandy <andrianovsky95@gmail.com>
Date:   Mon Dec 1 01:51:04 2025 +0700

    feat/micro-lab-order-50: adjust for antibiotic

commit 1ee0f39e7d
Author: Andrian Roshandy <andrianovsky95@gmail.com>
Date:   Mon Dec 1 01:50:39 2025 +0700

    feat/micro-lab-order-50: added antibiotic

commit 95e27a8b6f
Author: Andrian Roshandy <andrianovsky95@gmail.com>
Date:   Sun Nov 30 13:00:04 2025 +0700

    feat/micro-lab-order-50: wip

commit a002ef6c6e
Merge: fb2f01b b2d3c14
Author: Andrian Roshandy <andrianovsky95@gmail.com>
Date:   Sun Nov 30 12:50:31 2025 +0700

    Merge branch 'feat/mcu-order' into feat/micro-lab-order-50

commit b2d3c14ddc
Author: Andrian Roshandy <andrianovsky95@gmail.com>
Date:   Sun Nov 30 12:48:11 2025 +0700

    feat/mcu-order: adjustment

commit fb2f01bd36
Merge: 9a481fe 5c92f8b
Author: Andrian Roshandy <andrianovsky95@gmail.com>
Date:   Sun Nov 30 12:43:11 2025 +0700

    Merge branch 'feat/mcu-order' into feat/micro-lab-order-50

commit 5c92f8b946
Author: Andrian Roshandy <andrianovsky95@gmail.com>
Date:   Sun Nov 30 12:30:19 2025 +0700

    feat/mcu-order: added the components

commit 9a481fec14
Merge: 4251239 78fc289
Author: Andrian Roshandy <andrianovsky95@gmail.com>
Date:   Fri Nov 28 21:18:10 2025 +0700

    Merge branch 'dev' into feat/micro-lab-order-50

commit 4251239f7c
Author: Andrian Roshandy <andrianovsky95@gmail.com>
Date:   Fri Nov 28 21:17:18 2025 +0700

    feat/micro-lab-order-50: wip

commit cf5789549e
Author: Munawwirul Jamal <munawwirul.jamal@gmail.com>
Date:   Sun Nov 23 15:56:31 2025 +0700

    feat/mcu: improved wip

commit a40eac35f8
Merge: 3211972 baf6ab1
Author: Andrian Roshandy <andrianovsky95@gmail.com>
Date:   Wed Nov 19 22:23:18 2025 +0700

    Merge branch 'dev' into feat/radiology-order-54

commit 3211972a84
Merge: e3fc1e4 ccabe01
Author: Andrian Roshandy <andrianovsky95@gmail.com>
Date:   Sat Nov 15 20:15:07 2025 +0700

    Merge branch 'dev' into feat/radiology-order-54

commit e3fc1e4ab9
Author: Andrian Roshandy <andrianovsky95@gmail.com>
Date:   Sat Nov 15 20:14:38 2025 +0700

    feat/radiology-order-54: adjust wip
2025-12-04 13:57:03 +07:00
2025-12-04 13:57:03 +07:00
2025-12-04 09:46:11 +07:00
2025-10-31 14:30:19 +07:00

SIMRS - FE

RSSA - Front End

Important

Read this following instructions before doing your job

Framework Guide

Configuration

  • nuxt.config.ts
    Nuxt configuration file
  • .env
    Some environment variables

Directory Structure for app/

  • app.vue: Main layout
  • components : Contains all reusable UI components.
  • components/content : Entry point for business logic and workflows. Pages or routes call these content components to handle API requests and process application logic
  • components/app : View-layer components that manage and present data. These are used within content/ to render or handle specific parts of the UI, and return results back to the content
  • components/pub : Public/shared components used across different parts of the app.
  • composables : Contains reusable logic and utility functions (e.g. composables, hooks)..
  • layouts : Reusable UI layout patterns used across pages.
  • models : Contains data definitions or interfaces.
  • schemas : Contains JSON schemas used for validation.
  • services : Contains reusable API calls and business logic.

Directory Structure for app/pages

  • pages/auth : Authentication related pages.
  • pages/(features) : Grouped feature modules that reflect specific business content or domains.

Directory Structure for server/

  • server/api : API or proxy requests

Workflows

The basic development workflow follows these steps:

Define Your Data in models/

  • Create data definitions or interfaces.
  • These should represent the structure of the data used across your app.

Build UI Components in components/app

  • Create reusable UI and app specific components.
  • Keep components pure, avoid making HTTP requests directly within them.
  • They receive data via props and emit events upward.

Business Logic in components/content

  • This layer connects the UI with the logic (API calls, validations, navigation).
  • It composes components from components/app/, components/pub/, and other content.
  • Also responsible for managing state, side effects, and interactions.

Create Pages in pages/

  • Define permissions and guards for each page.
  • Pages load the appropriate content from components/content/.
  • They do not contain UI or logic directly, just route level layout or guards.

Validation

  • UI level validation in components/app. help users avoid mistakes before submitting.

    • Lightweight/instant validation related to UX.
    • Basic formatting (email regex, numeric-only, password length).
    • Showing error messages directly under the field.
  • Business level validation in components/flow. cannot rely only on the UI, since it often requires server-side checks or rules that may change.

    • More complex validation rules tied to business logic.

Code Conventions

  • Under the script setup block, putting things in group with the following order:
    • Imports → all dependencies, sorted by external, alias (~), and relative imports.
    • Props & Emits → clearly define component inputs & outputs.
    • State & Computed → all ref, reactive, and computed variables grouped together.
    • Lifecycle Hooks → grouped by mounting → updating → unmounting order.
    • Functions → async first (fetching, API calls), then utility & event handlers.
    • Watchers → if needed, put them at the bottom.
    • Template → keep clean and minimal logic, use methods/computed instead of inline JS.
  • Declaration Naming
    • Uses PascalCase for type naming
    • Uses camelCase for variable and const naming
    • Underscore can be used to indicates that a variable has derived from an attribute of an object
      for example: person_name indicates it is an attribute name from object person
  • Looping
    • Uses i, j, k as variable for for looping index
    • Uses item as object instantition for forEach loop callback
    • Uses item as object instantition for v-for loop callback in the template

Git Workflows

The basic git workflow follows these steps:

  1. Create a new branch on dev
    • branch name should be feat/<feature-name> or fix/<bug-name>
  2. Make your changes
  3. Commit your changes
    • commit msg format: [type]: [description]
      • type can be feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert
      • description should be a brief description of the changes
      • Example: feat: add new feature
  4. Push your changes to dev
  5. Create a pull request from dev to main
Description
No description provided
Readme 6.5 MiB