Files
1be6047c8a feat(tracker): field-prefixed search, inline filter chips and zero-hit empty state (#10998)
* feat(tracker): field-prefixed search, inline filter chips and zero-hit empty state

Adds SearchInputAdvanced (field:value prefixes routed to Elasticsearch query_string), match highlighting, inline filter chips with overflow popover, a reusable zero-hit empty state in view-resources, and search-scope/highlight view options for List and Kanban.

Signed-off-by: Michael Uray <michaeluray@users.noreply.github.com>

* refactor(tracker-search): address review follow-ups on search/filter rework

Shared, non-storage-specific field list, test-folder conventions, locale
coverage, single regex source and an owner-token gate for the result count.

- core: add shared `fullTextSearchFields` constant next to
  FullTextSearchContext as the single source of truth for the full-text
  fields exposed to `field:value` targeting. The client encoder derives
  ES_NATIVE_FIELDS from it and the elastic adapter derives KNOWN_FIELD_RE
  from it, replacing the two "KEEP IN SYNC" copies. Per-field boost weights
  stay a local adapter detail.
- tests: move the five co-located tests into each package's existing test
  folder convention (ui `__test__`, view-resources `__tests__`) and fix the
  relative imports.
- i18n: translate the new tracker search/filter strings in the remaining
  locales (zh, ja, ko, cs, es, fr, it, pt, pt-br, tr), reusing each file's
  existing terminology; ICU placeholders left unchanged.
- encoder: hoist the reserved-character class into one constant and build two
  RegExp instances from it (non-global for `.test()`, global for `.replace()`)
  to avoid the shared-lastIndex trap.
- view-resources: guard `resultIssueCountStore` writes with an owner-token
  gate so a superseded viewlet can no longer clobber the active viewlet's
  count; List/KanbanView claim and release, IssuesView resets through the
  current owner. Assumes a single active IssuesView surface.
- view-resources: make result-count reporting opt-in via a new
  `reportResultCount` prop on List (default true). Embedded, non-primary List
  instances (sub-issues / related issues in the issue edit panel, routed
  through SubIssueList) pass false and never claim the owner token, so opening
  and closing an issue can no longer strand the primary Issues viewlet with a
  dead token — the zero-hit SearchEmptyState card renders again afterwards. Add
  a regression test covering the opted-out embedded consumer.
- elastic: escape every regex metacharacter (not just `.`) when building
  KNOWN_FIELD_RE from `fullTextSearchFields`, so a future field name carrying
  another metacharacter cannot silently corrupt the alternation. Behaviour for
  the current fields is unchanged.

Signed-off-by: Michael Uray <michaeluray@users.noreply.github.com>

* refactor(tracker-search): centralize regex escaping and lock down result-count store

- Share escapeRegExp from @hcengineering/core so the client encoder and the server elastic adapter escape the fulltext field list identically, not just dots on the client.

- Export resultIssueCountStore as a read-only Readable; the owner-token gate functions (setResultCount / resetResultCount / releaseResultCountOwner) are now the only write path.

Signed-off-by: Michael Uray <michaeluray@users.noreply.github.com>

---------

Signed-off-by: Michael Uray <michaeluray@users.noreply.github.com>
Co-authored-by: Michael Uray <michaeluray@users.noreply.github.com>
Co-authored-by: Artyom Savchenko <armisav@gmail.com>
2026-08-11 19:09:33 +07:00

162 lines
7.4 KiB
JSON

{
"string": {
"Contains": "포함",
"NotContains": "포함하지 않음",
"MoveClass": "{class} 이동",
"SelectToMove": "{class}을(를) 이동할 {classLabel}을(를) 선택하세요.",
"Delete": "삭제",
"Move": "이동",
"Cancel": "취소",
"LabelYes": "예",
"LabelNo": "아니요",
"LabelNA": "해당 없음",
"ChooseAColor": "색상 선택",
"Table": "표",
"Role": "역할",
"DeleteObject": "객체 삭제",
"DeleteObjectConfirm": "{count, plural, =1 {이 객체를} other {객체 #개를}} 삭제하시겠습니까?",
"NoCreatePermissionTitle": "생성 권한이 없습니다",
"DeletePopupNoPermissionTitle": "삭제 권한이 없습니다.",
"DeletePopupNoPermissionLabel": "삭제하려면 아래 목록의 담당자에게 문의하세요.",
"DeletePopupCreatorLabel": "작성자 (직접 작성한 항목만 삭제 가능):",
"DeletePopupOwnerLabel": "소유자 (모두 삭제 가능):",
"Archive": "보관",
"ArchiveConfirm": "{count, plural, =1 {이 객체를} other {객체 #개를}} 보관하시겠습니까?",
"Open": "열기",
"OpenInNewTab": "새 탭에서 열기",
"Assignees": "담당자",
"Labels": "라벨",
"MoveLeft": "왼쪽으로 이동",
"MoveRight": "오른쪽으로 이동",
"MoveUp": "위로 이동",
"MoveDown": "아래로 이동",
"RestoreDefaults": "기본값 복원",
"SelectItem": "포커스된 항목 선택",
"SelectItemAll": "모든 항목 선택",
"SelectItemNone": "모든 항목 선택 해제",
"NumberItems": "{count, plural, =0 {항목 없음} =1 {항목 1개} other {항목 #개}}",
"Assigned": "할당됨",
"Created": "생성됨",
"Subscribed": "구독 중",
"ShowPreview": "문서 미리보기",
"ShowActions": "작업 팝업 표시",
"ActionPlaceholder": "검색 또는 명령어 실행...",
"General": "일반",
"Navigation": "탐색",
"Editor": "편집기",
"MarkdownFormatting": "서식",
"CustomizeView": "뷰 사용자 지정",
"Filter": "필터",
"ClearFilters": "필터 지우기",
"FilterLessThan": "미만",
"FilterGreaterThan": "초과",
"FilterIsNot": "아님",
"FilterIsEither": "임",
"FilterIsEitherPlural": "임",
"FilterStatesCount": "{value, plural, =1 {상태 1개} other {상태 #개}}",
"FilterUpdated": "필터가 업데이트되었습니다",
"FilterRemoved": "{count, plural, =1 {존재하지 않는 값 #개를} other {존재하지 않는 값 #개를}} 필터에서 제거했습니다",
"Before": "이전",
"After": "이후",
"Apply": "적용",
"Save": "저장",
"IncludeItemsThatMatch": "일치하는 항목 포함",
"AnyFilter": "필터 중 하나",
"AllFilters": "모든 필터",
"MatchCriteria": "조건 일치",
"DontMatchCriteria": "조건 불일치",
"View": "뷰",
"MarkupEditor": "서식 있는 콘텐츠 필드 편집",
"List": "목록",
"Grid": "그리드",
"Timeline": "타임라인",
"Select": "선택",
"NoGrouping": "그룹화 없음",
"Grouping": "그룹화",
"Ordering": "정렬",
"Manual": "수동",
"FilteredViews": "필터링된 뷰",
"NewFilteredView": "새 필터링된 뷰",
"FilteredViewName": "필터링된 뷰 이름",
"Then": "다음",
"ShowPreviewOnClick": "클릭하면 문서 인덱스 미리보기가 표시됩니다...",
"Shown": "{total, plural, =-1 {} other {필터링된 #개 항목 중}} {len}개 결과 표시 중",
"Total": "합계: {total, plural, other{#}}",
"ShowEmptyGroups": "빈 그룹 표시",
"Overdue": "기한 초과",
"Today": "오늘",
"Yesterday": "어제",
"ThisWeek": "이번 주",
"NextWeek": "다음 주",
"ThisMonth": "이번 달",
"NextMonth": "다음 달",
"NotSpecified": "지정 안 함",
"ExactDate": "정확한 날짜",
"BeforeDate": "날짜 이전",
"AfterDate": "날짜 이후",
"BetweenDates": "날짜 사이",
"AddSavedView": "저장된 뷰 추가",
"Public": "공개",
"Hide": "숨기기",
"Rename": "이름 변경",
"SaveAs": "다른 이름으로 저장",
"And": "그리고",
"Between": "범위",
"ShowColors": "색상 사용",
"Show": "표시",
"FilterArrayAll": "모두",
"FilterArrayAny": "하나 이상",
"Or": "또는",
"HyperlinkPlaceholder": "https://jappleseed.com",
"CopyToClipboard": "클립보드에 복사",
"CopyAll": "모두 복사",
"CopyDocumentMarkdown": "Markdown으로 복사",
"CopyAsMarkdownTable": "Markdown 표로 복사",
"TableCopiedToClipboard": "표를 클립보드에 복사했습니다",
"TableCopyFailed": "표를 클립보드에 복사하는 데 실패했습니다",
"PublicView": "공개",
"ChooseIcon": "아이콘 선택",
"IconColor": "아이콘 색상 선택",
"IconCategory": "아이콘",
"EmojiCategory": "이모지",
"Type": "유형",
"ToViewCommands": "사용 가능한 명령어 보기",
"UnArchive": "보관 해제",
"UnArchiveConfirm": "{count, plural, =1 {이 객체를} other {객체 #개를}} 보관 해제하시겠습니까?",
"Pin": "고정",
"Unpin": "고정 해제",
"Archived": "보관됨",
"MoreActions": "추가 작업",
"Leave": "나가기",
"Join": "참여",
"Copied": "복사됨",
"Title": "제목",
"HideArchived": "보관됨 숨기기",
"RemoveRelation": "관계 제거",
"RemoveRelationConfirmation": "관계를 제거하시겠습니까?",
"MasterDetail": "마스터-디테일",
"Tree": "트리",
"Document": "문서",
"Loading": "로딩 중...",
"NoRelations": "관계 없음",
"ReadOnlyWarningTitle": "✨ 익명 게스트 데모",
"ReadOnlyWarningMessage": "읽기 전용 모드입니다. 경로를 선택하세요. 이 워크스페이스에 게스트로 참여해 협업하거나, 직접 워크스페이스를 만들어 작업, 마감일, 팀까지 프로젝트 전체를 관리해 보세요!",
"ReadOnlyJoinWorkspace": "워크스페이스 참여",
"ReadOnlySignUp": "워크스페이스 만들기",
"PermissionWarningTitle": "✨ 액세스 권한 업그레이드!",
"PermissionWarningMessage": "현재 역할은 권한이 제한되어 있습니다. 이 기능과 다른 고급 기능을 사용하려면 워크스페이스 관리자에게 권한 업그레이드를 요청하세요!",
"Icon": "아이콘",
"Color": "색상",
"AutomationOnly": "자동화 전용",
"CopyLink": "링크 복사",
"ValueIsSet": "값이 설정됨",
"RoleLabel": "역할: {role}",
"ForbidAttributeChanges": "변경 금지: ",
"AllowAttributeChanges": "변경 허용: ",
"RelationshipTable": "추적 매트릭스",
"FilterOverflowBadge": "+{count}",
"AddFilter": "필터 추가",
"HiddenFilters": "숨겨진 필터"
}
}