fix: React 프론트엔드 버그 수정 및 모바일 반응형 개선

- CORS: React 포트(5174) 허용 추가 (application.yml)
- ProjectController: /my 엔드포인트 userId 파라미터 선택사항으로 변경
- API 응답 안전 처리: toArray 유틸 추가, 모든 뷰에서 배열 보장
- DataTable emptyMessage: JSX → 문자열로 변경 (PrimeReact 호환)
- LoginView: Password → InputText type=password 변경
- 모바일 사이드바: Vue/React 양쪽 inline width 제거로 슬라이드 정상 동작
- 모바일 서브메뉴 텍스트 표시 CSS 수정

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
이 Commit은 다음에 포함되어 있습니다:
2026-03-30 21:35:53 +09:00
부모 cda5f9591e
커밋 85aaebe134
18개의 변경된 파일90개의 추가작업 그리고 42개의 파일을 삭제

파일 보기

@@ -8,6 +8,8 @@ import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import kr.co.accura.wbx.spring.auth.WbxUserDetails;
import org.springframework.security.core.annotation.AuthenticationPrincipal;
import jakarta.validation.Valid;
import java.util.List;
import java.util.Map;
@@ -45,8 +47,11 @@ public class ProjectController {
}
@GetMapping("/my")
public ResponseEntity<List<ProjectDto>> myProjects(@RequestParam Long userId) {
return ResponseEntity.ok(projectService.findMyProjects(userId));
public ResponseEntity<List<ProjectDto>> myProjects(
@AuthenticationPrincipal WbxUserDetails user,
@RequestParam(required = false) Long userId) {
Long resolvedUserId = userId != null ? userId : user.getId();
return ResponseEntity.ok(projectService.findMyProjects(resolvedUserId));
}
@GetMapping("/{id}/members")

파일 보기

@@ -36,7 +36,7 @@ wbx:
admin-ui:
enabled: true
cors:
allowed-origins: ${CORS_ORIGINS:http://localhost:5173}
allowed-origins: ${CORS_ORIGINS:http://localhost:5173,http://localhost:5174}
notification:
sse-enabled: true