mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-20 11:22:25 +02:00
* 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>
162 lines
6.6 KiB
JSON
162 lines
6.6 KiB
JSON
{
|
|
"string": {
|
|
"Contains": "contiene",
|
|
"NotContains": "non contiene",
|
|
"MoveClass": "Sposta {class}",
|
|
"SelectToMove": "Seleziona {classLabel} da spostare in {class}.",
|
|
"Delete": "Elimina",
|
|
"Move": "Sposta",
|
|
"Cancel": "Annulla",
|
|
"LabelYes": "Sì",
|
|
"LabelNo": "No",
|
|
"LabelNA": "N/A",
|
|
"ChooseAColor": "Scegli un colore",
|
|
"Table": "Tabella",
|
|
"Role": "Ruolo",
|
|
"DeleteObject": "Elimina oggetto",
|
|
"DeleteObjectConfirm": "Vuoi eliminare {count, plural, =1 {questo oggetto} other {questi # oggetti}}?",
|
|
"NoCreatePermissionTitle": "Permessi insufficienti per creare",
|
|
"DeletePopupNoPermissionTitle": "Permessi insufficienti per eliminare.",
|
|
"DeletePopupNoPermissionLabel": "Contatta le persone della lista qui sotto affinché possano farlo.",
|
|
"DeletePopupCreatorLabel": "Creatori (possono eliminare solo quelli creati da loro):",
|
|
"DeletePopupOwnerLabel": "Proprietari (possono eliminare tutti):",
|
|
"Archive": "Archivia",
|
|
"ArchiveConfirm": "Vuoi archiviare questo {count, plural, =1 {oggetto} other {# oggetti}}?",
|
|
"Open": "Apri",
|
|
"OpenInNewTab": "Apri in una nuova scheda",
|
|
"Assignees": "Assegnatari",
|
|
"Labels": "Etichette",
|
|
"MoveLeft": "Sposta a sinistra",
|
|
"MoveRight": "Sposta a destra",
|
|
"MoveUp": "Sposta in alto",
|
|
"MoveDown": "Sposta in basso",
|
|
"RestoreDefaults": "Ripristina impostazioni predefinite",
|
|
"SelectItem": "Seleziona elemento",
|
|
"SelectItemAll": "Seleziona tutti gli elementi",
|
|
"SelectItemNone": "Deseleziona tutti gli elementi",
|
|
"NumberItems": "{count, plural, =0 {nessun elemento} =1 {1 elemento} other {# elementi}}",
|
|
"Assigned": "Assegnato",
|
|
"Created": "Creato",
|
|
"Subscribed": "Iscritto",
|
|
"ShowPreview": "Mostra anteprima documento",
|
|
"ShowActions": "Mostra popup azioni",
|
|
"ActionPlaceholder": "Cerca o esegui un comando...",
|
|
"General": "Generale",
|
|
"Navigation": "Navigazione",
|
|
"Editor": "Editor",
|
|
"MarkdownFormatting": "Formattazione",
|
|
"CustomizeView": "Personalizza vista",
|
|
"Filter": "Filtra",
|
|
"ClearFilters": "Pulisci filtri",
|
|
"FilterLessThan": "Meno di",
|
|
"FilterGreaterThan": "Più di",
|
|
"FilterIsNot": "non è",
|
|
"FilterIsEither": "è",
|
|
"FilterIsEitherPlural": "è",
|
|
"FilterStatesCount": "{value, plural, =1 {1 stato} other {# stati}}",
|
|
"FilterUpdated": "Filtro aggiornato",
|
|
"FilterRemoved": "{count, plural, =1 {# valore non esistente è stato} other {# valori non esistenti sono stati}} rimossi dal filtro",
|
|
"Before": "Prima",
|
|
"After": "Dopo",
|
|
"Apply": "Applica",
|
|
"Save": "Salva",
|
|
"IncludeItemsThatMatch": "Includi elementi che corrispondono",
|
|
"AnyFilter": "qualsiasi filtro",
|
|
"AllFilters": "tutti i filtri",
|
|
"MatchCriteria": "Criteri di corrispondenza",
|
|
"DontMatchCriteria": "Non corrispondono ai criteri",
|
|
"View": "Visualizza",
|
|
"MarkupEditor": "Modifica contenuto",
|
|
"List": "Elenco",
|
|
"Grid": "Griglia",
|
|
"Timeline": "Cronologia",
|
|
"Select": "Seleziona",
|
|
"NoGrouping": "Nessun raggruppamento",
|
|
"Grouping": "Raggruppamento",
|
|
"Ordering": "Ordinamento",
|
|
"Manual": "Manuale",
|
|
"FilteredViews": "Viste filtrate",
|
|
"NewFilteredView": "Nuova vista filtrata",
|
|
"FilteredViewName": "Nome vista filtrata",
|
|
"Then": "Poi",
|
|
"ShowPreviewOnClick": "Clicca per mostrare l'anteprima dell'indice del documento...",
|
|
"Shown": "mostrando {len} risultati {total, plural, =-1 {} other {di # elementi filtrati}}",
|
|
"Total": "Totale: {total, plural, other{#}}",
|
|
"ShowEmptyGroups": "Mostra gruppi vuoti",
|
|
"Overdue": "Scaduto",
|
|
"Today": "Oggi",
|
|
"Yesterday": "Ieri",
|
|
"ThisWeek": "Questa settimana",
|
|
"NextWeek": "Prossima settimana",
|
|
"ThisMonth": "Questo mese",
|
|
"NextMonth": "Prossimo mese",
|
|
"NotSpecified": "Non specificato",
|
|
"ExactDate": "Data esatta",
|
|
"BeforeDate": "Prima della data",
|
|
"AfterDate": "Dopo la data",
|
|
"BetweenDates": "Tra le date",
|
|
"AddSavedView": "Aggiungi vista salvata",
|
|
"Public": "Pubblico",
|
|
"Hide": "Nascondi",
|
|
"Rename": "Rinomina",
|
|
"SaveAs": "Salva come",
|
|
"And": "e",
|
|
"Between": "è tra",
|
|
"ShowColors": "Usa colori",
|
|
"Show": "Mostra",
|
|
"FilterArrayAll": "tutti",
|
|
"FilterArrayAny": "qualsiasi",
|
|
"Or": "O",
|
|
"HyperlinkPlaceholder": "https://jappleseed.com",
|
|
"CopyToClipboard": "Copia negli appunti",
|
|
"CopyAll": "Copia tutto",
|
|
"CopyDocumentMarkdown": "Copia come Markdown",
|
|
"CopyAsMarkdownTable": "Copia come tabella Markdown",
|
|
"TableCopiedToClipboard": "Tabella copiata negli appunti",
|
|
"TableCopyFailed": "Impossibile copiare la tabella negli appunti",
|
|
"PublicView": "Vista pubblica",
|
|
"ChooseIcon": "Scegli icona",
|
|
"IconColor": "Scegli colore icona",
|
|
"IconCategory": "Icona",
|
|
"EmojiCategory": "Emoji",
|
|
"Type": "Tipo",
|
|
"ToViewCommands": "per visualizzare i comandi disponibili",
|
|
"UnArchive": "Annulla archiviazione",
|
|
"UnArchiveConfirm": "Vuoi annullare l'archiviazione di questo {count, plural, =1 {oggetto} other {# oggetti}}?",
|
|
"Pin": "Fissa",
|
|
"Unpin": "Slega",
|
|
"Archived": "Archiviato",
|
|
"MoreActions": "Altre azioni",
|
|
"Leave": "Esci",
|
|
"Join": "Unisciti",
|
|
"Copied": "Copiato",
|
|
"Title": "Titolo",
|
|
"HideArchived": "Nascondi archiviato",
|
|
"RemoveRelation": "Rimuovere relazione",
|
|
"RemoveRelationConfirmation": "Vuoi rimuovere la relazione?",
|
|
"MasterDetail": "Master-detail",
|
|
"Tree": "Albero",
|
|
"Document": "Documento",
|
|
"Loading": "Caricamento...",
|
|
"NoRelations": "Nessuna relazione",
|
|
"ReadOnlyWarningTitle": "✨ Demo ospite anonimo",
|
|
"ReadOnlyWarningMessage": "Sei in modalità di sola lettura. Scegli il tuo percorso: Unisciti a questo spazio per collaborare (come ospite) o crea il tuo spazio per gestire completamente i progetti — task, scadenze, team!",
|
|
"ReadOnlyJoinWorkspace": "Unisciti allo spazio",
|
|
"ReadOnlySignUp": "Crea spazio",
|
|
"PermissionWarningTitle": "✨ Migliora il tuo accesso!",
|
|
"PermissionWarningMessage": "Il tuo ruolo attuale ha autorizzazioni limitate. Per sbloccare questa e altre funzionalità avanzate, chiedi all'amministratore del tuo spazio di lavoro di aggiornare il tuo livello di accesso!",
|
|
"Icon": "Icona",
|
|
"Color": "Colore",
|
|
"AutomationOnly": "Solo automazione",
|
|
"CopyLink": "Copia link",
|
|
"ValueIsSet": "Il valore è impostato",
|
|
"RoleLabel": "Ruolo: {role}",
|
|
"ForbidAttributeChanges": "Vieta modifiche: ",
|
|
"AllowAttributeChanges": "Consenti modifiche: ",
|
|
"RelationshipTable": "Tabella delle relazioni",
|
|
"FilterOverflowBadge": "+{count}",
|
|
"AddFilter": "Aggiungi filtro",
|
|
"HiddenFilters": "Filtri nascosti"
|
|
}
|
|
}
|