Skip to content

#4250 Org process and factory - #4368

Open
Santiordon wants to merge 2 commits into
developfrom
#4250-org-content
Open

#4250 Org process and factory#4368
Santiordon wants to merge 2 commits into
developfrom
#4250-org-content

Conversation

@Santiordon

@Santiordon Santiordon commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Changes

Add process and factory for remaining org tables:

  • FrequentlyAskedQuestion
  • Milestone
  • Announcement
  • Popup
  • Checklist
  • Contact
  • Guest_Definition

Checklist

  • All commits are tagged with the ticket number
  • No linting errors / newline at end of file warnings
  • All code follows repository-configured prettier formatting
  • No merge conflicts
  • All checks passing
  • Screenshots of UI changes (see Screenshots section)
  • Remove any non-applicable sections of this template
  • Assign the PR to yourself
  • No yarn.lock changes (unless dependencies have changed)
  • Request reviewers & ping on Slack
  • PR is linked to the ticket (fill in the closes line below)

Closes #4250

@Santiordon Santiordon self-assigned this Aug 7, 2026
@Santiordon Santiordon linked an issue Aug 7, 2026 that may be closed by this pull request
content: generateChecklistSubtaskContent(this.faker),
itemType: Checklist_Item_Type.TASK,
isOptional: this.faker.datatype.boolean({ probability: 0.3 }),
displayIndex: childIndex,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add 1 to this cause the checklist index starts at 1

content: generateChecklistRootContent(this.faker),
itemType: Checklist_Item_Type.TASK,
isOptional: this.faker.datatype.boolean({ probability: 0.2 }),
displayIndex: rootIndex,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

slackChannelName: chooseSlackChannel(this.faker),
slackEventId: `seed-slack-event-${i}`,
dateMessageSent: generateRecentDate(this.faker, now),
dateDeleted: this.faker.datatype.boolean({ probability: DELETED_CONTENT_CHANCE })

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could this ever be before dateCreated?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Seed Data] - Generate Org Content

2 participants