85 Commits
Author SHA1 Message Date
abe0cb9625 feat(tracker): Gantt scheduling schema (startDate + IssueRelation) + version bump (#10851)
* feat(tracker): add Gantt scheduling schema (startDate + IssueRelation)

Schema-only foundation for the upcoming Gantt-chart view in tracker.
No UI in this PR.

Changes:
- Issue.startDate: Timestamp | null (interface + IssueDraft + @Prop with @Index)
- Milestone.startDate: Timestamp | null (interface + @Prop, reusing the
  existing tracker.string.StartDate IntlString)
- New DependencyKind type ('finish-to-start' | 'start-to-start' |
  'finish-to-finish' | 'start-to-finish')
- New IssueRelation AttachedDoc class with kind: DependencyKind, signed
  lag: number — registered in models/tracker via TIssueRelation
- 7 new IntlString keys: IssueStartDate, GanttDependency,
  GanttDependency{FinishToStart,StartToStart,FinishToFinish,StartToFinish},
  GanttLag — all 13 locales updated
- Cross-plugin literal updates in importer + github sync to satisfy the new
  required Issue.startDate / Milestone.startDate fields:
  - packages/importer/src/importer/importer.ts: AttachedData<Issue> literal
  - services/github/pod-github/src/sync/issueBase.ts: 'startDate' added to
    GithubIssueData Omit list (github sync does not own scheduling)
  - services/github/pod-github/src/sync/issues.ts + pullrequests.ts:
    AttachedData<Issue|GithubPullRequest> literals

Out of scope (deferred to follow-up PRs):
- UI for Gantt view, drag/resize, dependency editor, critical path
- blockedBy → IssueRelation migration (ships atomically with the writer
  redirect in the dependency-UI PR)
- LinkIssues permission (tracker uses forbid-style permissions; needs
  maintainer discussion)
- Activity-feed wiring for IssueRelation (needs a producer to test against)
- IssueTemplate.startDate (template propagation semantics undecided)

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

* test(model-tracker): add migrateAddStartDate jest tests

3 tests covering migrateAddStartDate:
- writes startDate=null to Issues in DOMAIN_TASK with the right filter
- writes startDate=null to Milestones in DOMAIN_TRACKER with the right filter
- issues exactly two update calls (one per class)

Follows the MigrationClient mock pattern from
models/chat/src/__tests__/migration.test.ts.

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

* feat(model-tracker): add migrateAddStartDate + wire into trackerOperation

Backfills startDate=null on existing Issues (DOMAIN_TASK) and Milestones
(DOMAIN_TRACKER) so the new schema field has a defined value on every
pre-existing document. Idempotent via the standard tryMigrate state-key
mechanism (state: 'gantt-add-startdate').

Verified domain choices against existing migration helpers:
- migrateIdentifiers / passIdentifierToParentInfo use DOMAIN_TASK for
  Issues (lines 145, 161 in this file).
- TMilestone @Model decorator confirms DOMAIN_TRACKER for Milestones
  (models/tracker/src/types.ts:372).

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

* feat(tracker): expose Issue.startDate / Milestone.startDate in UI; tighten typing

UI changes (so the new schema fields are actually editable, in chronological
order Start → Due/Target):

- New StartDateEditor.svelte (mirrors DueDateEditor.svelte for startDate)
- ControlPanel: render Start Date row above Due Date row in the issue
  side panel; both always-visible (no `!== null` guard) so users can set
  them on issues that don't have a date yet
- NewMilestone form: Start Date input above Target Date input
- Milestone list view: Start Date column before Target Date column

- TIssueRelation: tighten interface to `extends AttachedDoc<Issue, 'relations'>`
  so attachedTo + collection are statically typed. The model class
  re-declares `collection: 'relations'` to match the narrower base.
- Drop 4 unused Dependency-kind IntlString keys (FinishToFinish,
  FinishToStart, StartToFinish, StartToStart) — they had no consumer
  in PR 1; will be re-introduced in PR 4 (dependency editor).
- Simplify migration.ts comments — drop ageing line-references.

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

* fix(tracker): set explicit @Prop ranks for Milestone date fields

The DocAttributeBar side panel sorts attributes by attr.rank ?? toRank(_id)
(see plugins/view-resources/src/components/ClassAttributeBar.svelte:42-47),
so without explicit ranks the visible order on a Milestone was hash-based
(startDate before Status, breaking the chronological flow the user expects).

Set ranks so the side panel renders Status → Start date → Target date.
Comments and attachments stay where they are (they're collections, filtered
out of the attribute panel by categorizeFields).

Issues are unaffected — the Issue side panel is the custom ControlPanel.svelte
which renders Start date / Due date in explicit slots (see PR 1's UI commit).

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

* fix(tracker-resources): EditMilestone renders Status/Start/Target in body in chronological order

The right-side DocAttributeBar sorts attributes by attr.rank ?? toRank(_id),
giving startDate before status (toRank('startDate') < toRank('status')
lexicographically). Setting an explicit rank via @Prop's third arg did not
propagate through the workspace upgrade for existing Attribute documents
in the model TX log — the rank made it into the bundled txes but the
existing Attribute creation TXes are not replaced on upgrade-workspace.

Pivot: render Status, Start date, Target date in the EditMilestone body
in explicit chronological order, and add 'status', 'startDate', 'targetDate'
to ignoreKeys so they don't appear duplicated in the side panel. This
mirrors how Issue's ControlPanel.svelte handles its date fields.

Reverts the no-op @Prop rank attempt.

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

* fix(fulltext): bump model version to 0.7.423 to match deployed workspaces

The fulltext-pod's compiled model version (baked into bundle/model.json via
common/scripts/version.txt at build time) lags whenever the workspaces have
been migrated to a newer patch but the pod was not rebuilt. In that state the
indexer rejects every incoming Tx with a `wrong version` warning, new issues
silently fail to land in Elasticsearch, and search returns empty results for
any document created after the migration.

Bumping `version.txt` aligns the compiled model with the workspaces. All
future builds (front, transactor, workspace, tool, fulltext) will emit
0.7.423, the indexer accepts the Tx stream again, and the deferred backlog
gets consumed automatically — no manual reindex needed.

This commit is the build-side companion to the schema migration in this
same PR. Without it the fulltext-pod cannot consume the migrated workspace's
Tx events.

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

* chore: apply rush format after develop merge

Resolves the failing formatting check requested by @ArtyomSavchenko in
review of #10851 after the develop branch merge.

Affects three files in our PR scope:
- models/tracker/src/migration.ts: collapse short multi-line client.update call
- plugins/tracker/src/index.ts: inline DependencyKind union + IssueRelation comment
- plugins/tracker-resources/src/components/milestones/EditMilestone.svelte:
  reformat inline arrow handlers, move QueryIssuesList block ahead of <style>

No logic changes; deterministic prettier output.

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

* test(tracker): fix milestone page-object selectors after startDate field addition

The Gantt schema PR added Milestone.startDate, which:

1. Adds a second datetime-button to the NewMilestone form pool. The
   existing 'div.antiCard-pool button.datetime-button' locator matched
   both buttons and tripped Playwright's strict-mode check. Scope the
   target-date locator to .last() and add a sibling .first() helper for
   the start-date button.

2. Moves Status / Start date / Target date editors from the
   auto-generated side panel into EditMilestone's body
   (div.dates-row > div.date-cell > span.cell-label + <button>) in
   chronological order. The label span no longer has a sibling <div>
   wrapping the button — the button is a direct sibling. Switch the
   buttonStatus/buttonTargetDate XPath to following-sibling::button[1]
   and match the new class="cell-label" span. Add a buttonStartDate
   helper for the new editor row.

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

* test(tracker): shift buttonEstimation index after startDate row addition

ControlPanel.svelte (issue side panel) now renders the Start date and
Due date rows unconditionally — pre-PR the Due date row was conditional
on issue.dueDate !== null and the Start date row didn't exist at all.
Both new rows emit a <div><button> pair via DueDatePresenter, which the
existing (//span[text()='Estimation']/../div/button)[3] XPath counts as
extra matches and pushes the Estimation button from the 3rd to the 5th
direct div/button under the popupPanel-body__aside-grid.

Direct div/button order under the grid (document order):
  1. CreatedBy (EmployeeBox > UserBox div > Button)
  2. Assignee  (AssigneeEditor div > Button)
  3. Start date (NEW — StartDateEditor > DueDatePresenter div > button.datetime-button)
  4. Due date   (NEW — DueDateEditor   > DueDatePresenter div > button.datetime-button)
  5. Estimation (AttributeBarEditor div > Button)

buttonAssignee at [2] is unchanged. textEstimation uses 'following-sibling::div[1]'
(first sibling), which is unaffected by additions earlier in the grid.

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

* chore: apply rush format (prettier compliance for CI)

CI's rush fast-format --branch develop step flagged
tests/sanity/tests/model/tracker/milestones-details-page.ts for a
missing blank line between the buttonTargetDate locator (introduced in
86b1c19ee8) and the next field. Apply the local 'rush format' result.

The two other files CI flagged
(plugins/process-resources/src/components/settings/BindingsEditor.svelte
and ImportSlotsPopup.svelte) were actually upstream changes from PR
#10921 (Fix add tag) that landed after our last develop merge — the
preceding merge of upstream/develop into this branch resolves those
diffs.

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

* fix(tests/tracker): use contains() for cell-label class to survive Svelte CSS scoping

The Svelte 4 compiler appends a scoped `svelte-<hash>` class to every
element matched by a component-local CSS selector. EditMilestone.svelte
styles `.cell-label` locally, so each label span ends up as
`<span class="cell-label svelte-XXXXX">` at runtime, not the bare
`<span class="cell-label">` shipped in source. The previous XPath
locator used strict `@class="cell-label"` and never matched.

Switch buttonStatus / buttonStartDate / buttonTargetDate to the standard
`contains(concat(' ', normalize-space(@class), ' '), ' cell-label ')`
class-match idiom so the locators tolerate the added scoped class.

Verified against the playwright accessibility snapshot from the failed
run (artifact playwright-results, hash 07a8f36b...md): the Status row
renders as a generic with text 'Status' immediately followed by a
button 'In progress' as the next direct sibling, matching the rest of
the XPath.

Fixes 5 milestone.spec.ts failures observed in run 27816114236:
- Create a Milestone (locator timeout on checkIssue → buttonStatus)
- Edit a Milestone   (locator timeout on editIssue  → buttonStatus.click)
- Delete a Milestone (locator timeout on checkIssue → buttonStatus)
plus their two retries each.

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-07-09 09:08:17 +07:00
Denis BykhovandGitHub 9a847386ae feat: add show all versions toggle to card view options and implement version query filtering (#10809)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
2026-04-29 01:30:46 +05:00
Denis BykhovandGitHub 963233b81d Card grid (#10749)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
2026-04-12 12:32:43 +05:00
Denis BykhovandGitHub 42f2141d0a Add type/tag permissions (#10384)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
2026-01-10 16:32:26 +05:00
Artyom SavchenkoandGitHub b24df45bac Bump model version (#10381)
Signed-off-by: Artem Savchenko <armisav@gmail.com>
2026-01-09 16:23:21 +07:00
Denis BykhovandGitHub 027e98d324 Version attribute migration (#10345)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
2026-01-02 19:26:58 +05:00
Denis BykhovandGitHub 9bb0d35de5 Card versioning (#10336)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
2025-12-29 19:04:38 +05: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 f35779f0ef Cleanup rollback (#10304)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
2025-12-18 00:40:23 +05:00
Denis BykhovandGitHub 2c2a217b1e Improve cards permissions (#10260)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
2025-11-29 13:19:46 +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
Denis BykhovandGitHub 27c2097f39 sortable card viewlets (#10160) 2025-10-28 08:21:56 +07:00
KristinaandGitHub e3c095ae4c Merge inbox (#10057) 2025-10-22 09:14:35 +07:00
Denis BykhovandGitHub aa0cfeae46 Different social ids for calendar (#10008)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
2025-10-02 23:31:59 +05:00
Artyom SavchenkoandGitHub 34ef726724 UBERF-13433: Migrate channels to threads (#9761)
* UBERF-13433: Migrate from channels to threads

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

* UBERF-13433: Migrate parent info

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

* UBERF-13433: Use client traverse

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

* UBERF-13433: Add tests

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

* UBERF-13433: Support Jest in model packages

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

* Revert "UBERF-13433: Support Jest in model packages"

This reverts commit 415f5916c9.

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

* Revert "UBERF-13433: Add tests"

This reverts commit 38d7fcd794.

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

---------

Signed-off-by: Artem Savchenko <armisav@gmail.com>
2025-09-03 12:44:45 +07:00
Denis BykhovandGitHub a178877017 Try fix collaborator migration (#9480)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
2025-07-08 00:22:33 +07:00
Denis BykhovandGitHub 9814268cf8 Calendar settings (#9416) 2025-07-02 12:54:03 +07:00
f50b0fab71 Rework processes (#9322)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Andrey Sobolev <haiodo@gmail.com>
2025-06-24 23:18:11 +05:00
Denis BykhovandGitHub 17d804e639 Extract collaborators (#9217)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
2025-06-20 13:50:51 +05:00
Denis BykhovandGitHub 3ccd195be1 Add blockTime property to calendar events (#9275)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
2025-06-17 16:55:57 +05:00
KristinaandGitHub 27a35e2c93 Add chat q-fixes (#9173)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
2025-06-05 12:03:28 +07:00
Alexey ZinovievandGitHub d0dc3076e0 Bump model version (#8963) 2025-05-16 16:30:16 +07:00
Denis BykhovandGitHub a9b9690f5e Fix calendar migration (#8531)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
2025-04-11 10:55:21 +05:00
Denis BykhovandGitHub 24f608e706 Bump model (#8522) 2025-04-10 21:21:39 +07:00
Andrey SobolevandGitHub 163f6785c9 UBERF-9693: Allow to reindex from migration (#8345)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2025-03-25 23:09:40 +07:00
Alexey ZinovievandGitHub def2a411c5 Bump model (#8300)
Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
2025-03-20 15:20:32 +04:00
Andrey Sobolev 353c2561af Bump version
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2025-03-07 19:16:14 +07:00
Andrey Sobolev c92fdd07a4 Bump model
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2025-03-05 14:20:12 +07:00
Andrey Sobolev ce8b6c6dcb Bump s0.7.1
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2025-02-13 22:05:20 +07:00
Andrey Sobolev e37848ad4f Bump model 445
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2025-02-12 23:22:31 +07:00
Andrey Sobolev d825cb11e8 Bump version to 442
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2025-02-12 00:32:31 +07:00
Andrey Sobolev ff3ca91752 Bump version to v0.6.436
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2025-02-10 23:17:56 +07:00
Andrey Sobolev fbc41a0a2c Bump model version
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2025-02-08 23:36:16 +07:00
Andrey Sobolev b88123be7c Bump model version
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2025-01-29 14:06:02 +07:00
Andrey Sobolev 0c8b7c0ea8 v0.6.382
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2024-12-11 21:03:38 +07:00
Andrey Sobolev 4ef62584b7 v0.6.364
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2024-12-02 14:38:19 +07:00
Andrey Sobolev 6c090753d8 v0.6.360
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2024-11-21 17:07:34 +07:00
Andrey Sobolev 96dd1a14be v0.6.359
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2024-11-19 14:47:27 +07:00
Andrey Sobolev 6f1c260894 v0.6.357
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2024-11-13 14:54:58 +07:00
Andrey Sobolev 285ba6d93b v0.6.355
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2024-11-11 21:33:08 +07:00
Andrey Sobolev a87c9ae5f1 v0.6.349
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2024-11-07 17:10:12 +07:00
Andrey Sobolev c48d3bc2d4 v0.6.346
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2024-10-30 23:46:43 +07:00
Andrey Sobolev c713c71779 v0.6.345
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2024-10-29 22:14:49 +07:00
Andrey Sobolev dd36f812fc v0.6.341
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2024-10-26 03:09:57 +07:00
Andrey Sobolev 4316ec5744 v0.6.334
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2024-10-21 23:25:31 +07:00
Andrey Sobolev 4687a482ff v0.6.333
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2024-10-20 11:51:59 +07:00
Andrey Sobolev db942a3e90 v0.6.332
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2024-10-17 02:58:53 +07:00
Andrey Sobolev f84837bbdb v0.6.329
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2024-10-16 21:17:26 +07:00
Andrey Sobolev 2a4c326eb9 v0.6.328
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2024-10-14 23:34:22 +07:00
Andrey Sobolev f69c7d47ec v0.6.326
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2024-10-14 00:12:18 +07:00