Skip to content

#4250 Org process and factory - #4368

Merged
wavehassman merged 5 commits into
developfrom
#4250-org-content
Aug 10, 2026
Merged

#4250 Org process and factory#4368
wavehassman merged 5 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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

fixed

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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

fixed

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?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

good catch. fixed

@wavehassman
wavehassman self-requested a review August 9, 2026 23:45
@wavehassman
wavehassman merged commit 8f1e43c into develop Aug 10, 2026
4 checks passed
@wavehassman
wavehassman deleted the #4250-org-content branch August 10, 2026 00:14
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