wing-ops/frontend
Nan Kyung Lee dc82574635 feat(prediction): 오염분석 다각형/원 분석 기능 구현
- 오염분석 섹션을 탭 UI로 개편 (다각형 분석 / 원 분석)
- 다각형 분석: 지도 클릭으로 꼭짓점 추가 후 분석 실행
- 원 분석: NM 프리셋 버튼(1·3·5·10·15·20·30·50) + 직접 입력, 사고지점 기준 자동 계산
- 분석 결과: 분석면적·오염비율·오염면적·해상잔존량·연안부착량·민감자원 개소 표시
- MapView: 다각형(PolygonLayer) / 원(ScatterplotLayer) 실시간 지도 시각화
- geo.ts: pointInPolygon, polygonAreaKm2, circleAreaKm2 유틸 함수 추가

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-13 09:19:30 +09:00
..
public feat(auth): Google OAuth 로그인 연동 2026-02-27 16:42:59 +09:00
src feat(prediction): 오염분석 다각형/원 분석 기능 구현 2026-03-13 09:19:30 +09:00
.env.example chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
eslint.config.js chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
index.html chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
package-lock.json feat(assets): 선박보험 엑셀 다운로드 기능 추가 2026-03-05 14:30:56 +09:00
package.json feat(assets): 선박보험 엑셀 다운로드 기능 추가 2026-03-05 14:30:56 +09:00
postcss.config.js chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
README.md chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
tailwind.config.js refactor(css): CSS 인프라 구축 + body default 인라인 스타일 1,055건 제거 2026-03-01 10:45:01 +09:00
tsconfig.app.json refactor(frontend): 공통 모듈 common/ 분리 + OpenLayers 제거 + path alias 설정 2026-02-28 14:00:50 +09:00
tsconfig.json chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
tsconfig.node.json chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
vite.config.ts feat(weather): 기상 정보 기상 레이어 업데이트 (#78) 2026-03-11 11:14:25 +09:00

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...

      // Remove tseslint.configs.recommended and replace with this
      tseslint.configs.recommendedTypeChecked,
      // Alternatively, use this for stricter rules
      tseslint.configs.strictTypeChecked,
      // Optionally, add this for stylistic rules
      tseslint.configs.stylisticTypeChecked,

      // Other configs...
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])

You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:

// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...
      // Enable lint rules for React
      reactX.configs['recommended-typescript'],
      // Enable lint rules for React DOM
      reactDom.configs.recommended,
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])