32 Commits
Author SHA1 Message Date
63e28dc964 feat(tracker): Gantt chart for the issue tracker (#10992)
* feat(tracker): Gantt chart for the issue tracker

Builds on the merged search/filter rework (#10998). Introduces @hcengineering/gantt, a dependency-free scheduling/zoom/drag/viewport engine package (with a neutral GanttDependency contract), and wires the tracker-specific adapter, Svelte UI, model schema, dependency-shift notifications and sanity coverage in tracker-resources.

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

* fix(tracker): source Gantt holidays from HR and scope confirm-gate per view

Follow-up to review feedback on #10992:

- Confirm-gate: the module-global flag is replaced by a createConfirmGate()
  factory - one instance per mounted GanttView, so two Gantt views mounted at
  once in the same JS context no longer block each other's pointer input. A
  two-instance independence test guards the regression.

- Sidebar sorting: the stale deadline cast is dropped and issue.deadline is
  read directly (the field was added to the Issue model in this PR).

- HR holidays: the per-project WorkingDaysConfig.holidays field duplicated the
  workspace-wide hr.class.PublicHoliday concept and could drift from the real
  HR calendar. It is removed. WorkingDaysConfig now carries only the weekday
  mask and an optional holidayDepartment. The tracker adapter resolves holidays
  for the selected department plus all ancestors up to hr.ids.Head, matching
  HR's existing inheritance semantics (hr-resources ScheduleView). A missing or
  invalid reference falls back to company-wide (root) holidays; unrelated
  departments are never included. The ancestor walk is cycle/missing-parent
  safe.

  A small WorkingDaysEditor in the existing project create/edit dialog lets
  users with the existing project permission enable the mode, choose weekdays,
  and select an HR department (default: Company-wide). It persists through the
  existing project create/update transaction paths (createDoc on create,
  client.update on edit) and uses $unset when the mode is disabled. At least
  one working day must stay active.

  Calendar loading is explicit via a CalendarStateMachine: project-scoped drag,
  resize, cascade, keyboard-shift and auto-schedule mutations stay disabled
  until both the project config and the holiday data have loaded. A monotonic
  generation ticket (bumped synchronously on project switch) is re-checked
  immediately before every calendar-dependent date commit, so work started in
  one project can never persist after a switch to another. The all-projects
  view has no single project calendar, so calendar-dependent edits are
  read-only there; display, selection, the context menu and the manual
  date-picker (which does no calendar arithmetic and takes no mutation ticket)
  stay available.

  This depends on the lightweight @hcengineering/hr model package, but not on
  hr-resources; the tracker adapter uses hr.class.* and hr.ids.Head at runtime,
  and actual HR model presence is checked through the hierarchy - without the
  HR model, holidays resolve to an empty set. The @hcengineering/gantt engine
  package stays domain-neutral (no @hcengineering imports, no runtime deps).

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

* fix(gantt): measure FS gap-preservation floor in working days

The finish-to-start gap-preservation floor in the cascade scheduler mixed
two time measures: the FS snap anchor is working-calendar aware, but the
floor added a raw calendar-millisecond start-side delta. With an active
working calendar the two diverge, so dragging a predecessor over a weekend
over-shifted the successor across non-working days (a Fri->Mon body drag is
3 calendar days but only 1 working day, and could even land a successor on
a Saturday).

Measure the floor on the DUE side in working days instead: translate the
predecessor's shift via the new workingDayDelta helper and advance the
floor base with addWorkingDays over the calendar. A day-granular resize
gate (utcMidnight comparison, not a raw === 0 test) arms the floor only on
a start-DAY move, so a pure due-resize stays a pure snap even when the
stored issue carries a time-of-day on the cascade-commit path. The floor
base is normalized via utcMidnight(targetAnchor). The legacy path
(cfg === undefined) stays byte-identical to today's raw-ms floor. A
left-resize in working-days mode now correctly no-ops the floor (the due,
and thus the FS gap, did not move) instead of shifting on the raw start
delta.

Engine: add workingDayDelta (signed, half-open from-exclusive/to-inclusive
working-day step count) and export the previously-private utcMidnight from
packages/gantt/src/working-days.ts. The engine stays domain-neutral (no
@hcengineering imports, empty dependencies).

Adds engine and adapter test coverage: workingDayDelta cases and the full
FS floor matrix (right-resize no-push, weekend-spanner body drag, floor
wins over snap, holiday in the floor path, floor-dominant multi-hop chain,
negative delta, legacy no-cfg, SS pure-snap, raw time-of-day right-resize,
direct left-resize).

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>
2026-08-27 20:24:38 +07:00
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
Artyom SavchenkoandGitHub 315f390920 Add ability to copy all data from cards/docs tables (#10505)
Signed-off-by: Artem Savchenko <armisav@gmail.com>
2026-02-13 15:30:43 +05:00
Artyom SavchenkoGitHubCopilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
e578d7e3e4 Add ability to copy cards as table (#10355)
* Add ability to copy cards as table

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* Add links and faulure handler

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* Potential fix for code scanning alert no. 283: Incomplete string escaping or encoding

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Artyom Savchenko <armisav@gmail.com>

* Fix escaping

Signed-off-by: Artem Savchenko <armisav@gmail.com>

---------

Signed-off-by: Artem Savchenko <armisav@gmail.com>
Signed-off-by: Artyom Savchenko <armisav@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2026-01-04 15:08:40 +07:00
Denis BykhovandGitHub 20e6bbd5df Relationship table (#10329)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
2025-12-24 18:21:29 +05:00
Denis BykhovandGitHub 0762a42922 Fix permissions for mixins/tags (#10294)
* Fix permissions for mixins/tags

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>

* Fix

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>

---------

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
2025-12-12 10:15:56 +07:00
Denis BykhovandGitHub 020bfc3855 Improve attribute permissions presenter (#10272)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
2025-12-03 22:03:08 +07:00
Denis BykhovandGitHub d06b92ebdd card RBAC (#10197)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
2025-11-10 14:41:05 +07:00
Andrey SobolevandGitHub 7b7aa1041d Allow to perform markdown copy (#10090) 2025-10-14 22:28:26 +07:00
Denis BykhovandGitHub eb9150541b ValueIsSet criteria mode (#9815)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
2025-09-09 22:52:16 +07:00
Alexander OnnikovandGitHub 7d0034c123 EQMS-1635 Add generic action for copying link (#9668)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
2025-08-12 22:20:05 +07:00
Denis BykhovandGitHub 29257e9fc8 Improve process ui (#9645) 2025-08-06 17:19:12 +07:00
Anton AlexeyevandGitHub 3f2606b2bd Qfix readonly improvements (#9621)
Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>
2025-07-31 21:30:40 +07:00
Denis BykhovandGitHub c81ea1a4da Update card trigger (#9579)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
2025-07-22 13:01:17 +07:00
Anton AlexeyevandGitHub cfbe03bf99 Readonly ux improvements (#9573)
* Add Join WS button to the AccountPopup

Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>

* Add ReadOnly notification to the Recorder

Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>

* Add ReadOnly notification to the file uploader

Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>

* Fix formatting

Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>

* Tune locales

Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>

---------

Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>
2025-07-21 18:23:10 +07:00
Anton AlexeyevandGitHub 73fa668681 Readonly allow signup (#9517)
Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>
2025-07-11 13:19:37 +07:00
Denis BykhovandGitHub 654f0b1d61 Automation only props (#9460)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
2025-07-04 17:09:24 +05:00
Anton AlexeyevandGitHub 5eccbe6464 Readonly fixes (#9407)
Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>
2025-06-30 16:23:34 +07:00
KristinaandGitHub f279c8f261 Add card icon (#9379)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
2025-06-25 22:01:32 +04:00
Anton AlexeyevandGitHub 635304c4af Readonly workspace access (#9005)
Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>
2025-06-02 13:21:38 +07:00
KristinaandGitHub 7809b1d524 Card & messages UI changes (#8876)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
2025-05-08 14:12:09 +07:00
Artyom SavchenkoandGitHub d2603d8629 UBERF-9716: New profile preview and initial achievements (#8504)
* UBERF-9716: Draft user profile

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* UBERF-9716: Redesign user profile card

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* UBERF-9716: Hide error for profile popup

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* UBERF-9716: Add achievement header and refactor

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* UBERF-9716: Display timezone

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* UBERF-9716: Fix formatting

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* UBERF-9716: Refactor

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* UBERF-9716: Add preview for mentions

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* UBERF-9716: Move achievements to separate module and use component extension

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* UBERF-9716: Clean up

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* UBERF-9716: Fix rush check

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* UBERF-9716: Clean up

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* UBERF-9716: Fix validate

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* UBERF-9716: Fix validate

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* UBERF-9716: Minor fixes

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* UBERF-9716: Fix formatting and template

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* UBERF-9716: Update npm lock

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* UBERF-9716: Add light background and fix some issues

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* UBERF-9716: Clean up

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* UBERF-9716: Fix svelte error

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* UBERF-9716: Clean up

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* UBERF-9716: Add preview to new chat

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* UBERF-9716: Fix svelte

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* UBERF-9716: Update avatar selector

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* UBERF-9716: Use instead of px

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* UBERF-9716: Accent name

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* UBERF-9716: Fix formatting

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* UBERF-9716: Remove unused width prop

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* UBERF-9716: Remove isButtonIcon

Signed-off-by: Artem Savchenko <armisav@gmail.com>

---------

Signed-off-by: Artem Savchenko <armisav@gmail.com>
2025-04-15 13:13:16 +07:00
Artyom SavchenkoandGitHub 809e577057 UBERF-9639: Master-detail view for cards (#8413)
Signed-off-by: Artem Savchenko <armisav@gmail.com>
2025-04-02 09:18:26 +07:00
Denis BykhovandGitHub 7bfd8403a8 Relation fixes (#8167)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
2025-03-07 14:14:17 +05:00
KristinaandGitHub e34f59ca37 Initial meeting minutes (#7111)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
2024-11-07 17:08:15 +07:00
Alexander OnnikovandGitHub 5b3f69a85f UBERF-8573 Hide archived teamspaces and drives (#7112) 2024-11-06 21:01:29 +07:00
Alexander OnnikovandGitHub ba821dd5d2 UBERF-8063 Generic space archive/unarchive actions (#6530)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
2024-09-12 14:06:05 +07:00
Tiago CruzandGitHub ee04637f10 Translations (#5666)
Signed-off-by: Tiago Cruz <tcruz@netic.io>
2024-05-27 11:59:36 +07:00
Denis BykhovandGitHub 167ad3378b Remove extra strings (#5603)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
2024-05-15 22:41:21 +07:00
Denis BykhovandGitHub 1e0e5de097 Space actions (#5574)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
2024-05-10 18:54:34 +07:00
Alexander PlatovandGitHub d2681eba2e Updated RoomPopup layout (#5365) 2024-04-16 08:31:27 +07:00
Andrey SobolevandGitHub 1967e8e5dc Enable and fix pt and es languages (#4792)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2024-02-27 22:53:16 +06:00