asepharyana 7901fc3f82 feat(dimentorin): feedback mentor 2-step modal (Figma Modals-Feedback 1 & 2)
Halaman yang belum ada di FE: feedback mentor setelah sesi selesai. Figma punya 'Modals - Feedback 1' (rating 1-5 + 2 pertanyaan pilihan) dan 'Modals - Feedback 2' (3 textarea: suka/tingkatkan/testimoni). BE sudah punya POST /dimentorin/sessions/{id}/feedback/create.

- BARU mentoring/_components/feedback-modal.tsx: modal 2 step (rating bintang + kebermanfaatan + rekomendasi → textarea suka/tingkatkan/testimoni), validasi step (Lanjut disabled sampai rating+opsi dipilih), submit gabung jadi feedback text + rating, reset state tiap buka
- my-sessions: tombol ' Beri Feedback' muncul untuk sesi status completed; modal ter-integrasi; invalidate my-sessions + mentor-stats setelah submit
- Verifikasi end-to-end via browser: tombol muncul, modal step 1 → rating 5 + opsi → step 2 → isi textarea → Kirim → POST 200 feedback+rating tersimpan di DB (sesi Status Test di-set completed utk test lalu di-reset)
2026-08-05 23:18:51 +07:00
2025-03-13 02:03:13 +07:00
2025-04-26 20:32:58 +07:00
2025-06-19 11:17:21 +07:00
2025-04-03 13:59:27 +07:00
2025-03-13 00:50:45 +07:00
2025-04-26 20:32:58 +07:00
2025-03-13 00:50:45 +07:00
2025-03-13 00:50:45 +07:00
2025-04-26 20:32:58 +07:00
2025-03-13 02:03:13 +07:00
2025-05-20 11:09:14 +07:00
2025-05-22 22:31:04 +07:00
2025-03-13 00:50:45 +07:00

IMPHNEN Frontend Service

IMPHNEN

This repository is a monorepo for all frontend services of IMPHNEN. The monorepo includes three main applications:

  1. Gacha - Application for Gacha Website.
  2. Backoffice - Application for Internal Management Website.
  3. Dimentorin - Application for Mentoring Service.
  4. Landing Page - Application for Landing Page.

How to install

  1. Clone this repository:
    git clone https://github.com/IMPHNEN/imphnen-frontend-service.git
    cd imphnen-frontend-service
    
  2. Install all dependencies:
    npm install
    

How to run

Setup Environment Variables

Before running the applications, you need to set up the environment variables. You can do this by copying the .env.example file to .env and modifying the values according to your needs.

cd apps/{appname}
cp .env.example .env

Development

Use the following commands to run in development mode:

  • Gacha:
    npm run gacha:dev
    
  • Backoffice:
    npm run backoffice:dev
    
  • Dimentorin:
    npm run dimentorin:dev
    
  • Landing Page:
    npm run landing:dev
    

Build

Use the following commands to build the applications:

  • Gacha:
    npm run gacha:build
    
  • Backoffice:
    npm run backoffice:build
    
  • Dimentorin:
    npm run dimentorin:build
    
  • Landing Page:
    npm run landing:build
    

Production

Use the following commands to run the applications in production mode:

  • Gacha:
    npm run gacha:prod
    
  • Backoffice:
    npm run backoffice:prod
    
  • Dimentorin:
    npm run dimentorin:prod
    
  • Landing Page:
    npm run landing:prod
    

Storybook

This repository uses Storybook to develop, test, and document UI components in an isolated and interactive environment. Below are the commands to work with Storybook:

  • Run Storybook

    This command starts Storybook in development mode, allowing you to view and test UI components interactively.

    npm run ui:storybook
    
  • Run Unit Test

    This command runs unit tests for the UI components to ensure they function as expected.

    npm run ui:test
    
  • Build Components

    This command generates a static build of Storybook, which can be deployed for sharing and documentation purposes.

    npm run ui:build
    

How to contribute

  1. Fork the repository and clone it locally.
  2. Create a new branch for a new feature or fix:
    git checkout -b feat/feature-name
    
  3. Make changes, commit, and push to your forked repository.
  4. Create a pull request to this repository develop branch.

If you encounter any issues or problems, feel free to create a new Issue.

S
Description
Fork of IMPHNEN/imphnen-frontend-service (mirror)
Readme
46 MiB
Languages
TypeScript 98.2%
CSS 1.3%
JavaScript 0.3%
Dockerfile 0.1%