feat(project): 전체 뷰에 우클릭 컨텍스트 메뉴 + optimistic update 전면 적용
- 공용 우클릭 메뉴(showContextMenu)와 토스트(showToast)를 도입해 보드 카드, 리스트 행, 달력 막대, 타임라인 아이템, 세션 컬럼 헤더, 홈 프로젝트 카드, 사이드바 프로젝트 트리, 멤버 행, 알림 행까지 9곳에 열기/완료토글/삭제 등 빠른 조작 메뉴를 추가. - 프로젝트 생성/수정/삭제, 멤버 추가/삭제, 홈 업무모달 저장/삭제/완료토글, 알림 모두읽음 등 남아있던 location.reload() 를 모두 로컬 DOM/상태 patch 기반 optimistic update 로 전환. - 8초 주기 실시간 동기화 폴러도 전체 새로고침 대신 업무/세션/멤버만 조용히 재조회해 병합하도록 변경(softSyncProjectRef). - 로컬에 Postgres+세션 우회 로그인으로 실제 서버 붙여 헤드리스 크롬으로 검증하는 과정에서 실사용 버그 2건 발견해 같이 수정: 폴러가 재조회한 업무에 context_project_id 가 없어 스코프 필터에 걸려 화면에서 사라지던 문제, 서버가 최초 렌더한 업무 행은 data-task-id 가 <li> 가 아니라 안쪽 <a> 에만 있어 수정/삭제가 조용히 씹히던 문제.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20260917e" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20260917f" />
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
{% endblock %}
|
||||
|
||||
@@ -45,5 +45,5 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<script src="/static/project.js?v=20260917d" defer></script>
|
||||
<script src="/static/project.js?v=20260917e" defer></script>
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20260917e" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20260917f" />
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
{% endblock %}
|
||||
|
||||
@@ -393,5 +393,5 @@
|
||||
<script>
|
||||
window.PJ_COLORS = {{ ["#4573d2","#37a3a3","#62a420","#e8a33d","#e8384f","#aa62e3","#f06a6a","#5a6772"] | tojson }};
|
||||
</script>
|
||||
<script src="/static/project.js?v=20260917d" defer></script>
|
||||
<script src="/static/project.js?v=20260917e" defer></script>
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20260917e" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20260917f" />
|
||||
<!-- 구글 머티리얼 심볼(담당자 아이콘 등) — self-host -->
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
<!-- 타임라인 vis-timeline — self-host -->
|
||||
@@ -438,5 +438,5 @@
|
||||
</script>
|
||||
|
||||
<script src="/static/vendor/vis-timeline/vis-timeline-graph2d.min.js"></script>
|
||||
<script src="/static/project.js?v=20260917d" defer></script>
|
||||
<script src="/static/project.js?v=20260917e" defer></script>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user