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>
This commit is contained in:
Michael Uray
2026-06-18 21:17:02 +00:00
parent 8c9fc01744
commit 12eda959eb
3 changed files with 25 additions and 29 deletions
+1 -5
View File
@@ -173,11 +173,7 @@ async function migrateIdentifiers (client: MigrationClient): Promise<void> {
export async function migrateAddStartDate (client: MigrationClient): Promise<void> {
// Issues live in DOMAIN_TASK; Milestones live in DOMAIN_TRACKER.
await client.update(
DOMAIN_TASK,
{ _class: tracker.class.Issue, startDate: { $exists: false } },
{ startDate: null }
)
await client.update(DOMAIN_TASK, { _class: tracker.class.Issue, startDate: { $exists: false } }, { startDate: null })
await client.update(
DOMAIN_TRACKER,
{ _class: tracker.class.Milestone, startDate: { $exists: false } },
@@ -86,7 +86,9 @@
editable
kind={'regular'}
size={'medium'}
on:change={(e) => { void changeStartDate(e.detail) }}
on:change={(e) => {
void changeStartDate(e.detail)
}}
/>
</div>
<div class="date-cell">
@@ -96,7 +98,9 @@
editable
kind={'regular'}
size={'medium'}
on:change={(e) => { void changeTargetDate(e.detail) }}
on:change={(e) => {
void changeTargetDate(e.detail)
}}
/>
</div>
</div>
@@ -111,6 +115,22 @@
/>
</div>
<div class="w-full mt-6">
<QueryIssuesList
focusIndex={50}
{object}
query={{ milestone: object._id }}
shouldSaveDraft
hasSubIssues={true}
viewletId={tracker.viewlet.MilestoneIssuesList}
createParams={{ milestone: object._id }}
>
<svelte:fragment slot="header">
<Label label={tracker.string.Issues} />
</svelte:fragment>
</QueryIssuesList>
</div>
<style lang="scss">
.dates-row {
display: flex;
@@ -130,19 +150,3 @@
font-weight: 500;
}
</style>
<div class="w-full mt-6">
<QueryIssuesList
focusIndex={50}
{object}
query={{ milestone: object._id }}
shouldSaveDraft
hasSubIssues={true}
viewletId={tracker.viewlet.MilestoneIssuesList}
createParams={{ milestone: object._id }}
>
<svelte:fragment slot="header">
<Label label={tracker.string.Issues} />
</svelte:fragment>
</QueryIssuesList>
</div>
+2 -6
View File
@@ -129,11 +129,7 @@ export enum IssuePriority {
*
* @public
*/
export type DependencyKind =
| 'finish-to-start'
| 'start-to-start'
| 'finish-to-finish'
| 'start-to-finish'
export type DependencyKind = 'finish-to-start' | 'start-to-start' | 'finish-to-finish' | 'start-to-finish'
/**
* @public
@@ -352,7 +348,7 @@ export interface IssueParentInfo {
* @public
*/
export interface IssueRelation extends AttachedDoc<Issue, 'relations'> {
target: Ref<Issue> // successor
target: Ref<Issue> // successor
kind: DependencyKind
/** Lag in schedule days; can be negative (overlap). */
lag: number