Skip to content

Comments

feat: add isOrgStarter flag for org-level starter templates#145

Merged
field123 merged 1 commit intomasterfrom
feat/org-starter-templates
Feb 20, 2026
Merged

feat: add isOrgStarter flag for org-level starter templates#145
field123 merged 1 commit intomasterfrom
feat/org-starter-templates

Conversation

@field123
Copy link
Collaborator

Summary

  • Adds isOrgStarter boolean column to the Project entity with a DB migration
  • Team editors (org admins) can toggle "Set as organization starter" on projects via the project context menu
  • Org starters appear in the New Project modal across all workspaces in the same team
  • Server-side permission check ensures only team editors can set the flag

Files changed

  • Entity/Migration: New isOrgStarter column + migration
  • ApiSchema: Added to ApiProject and SetSiteInfoReq
  • routes/projects.ts: Include in API response
  • DbMgr.ts: Updatable field + team editor permission check
  • ProjectListItem.tsx: Context menu toggle (gated on team editor perms)
  • NewProjectModal.tsx: "Organization starters" section in new project dialog

Test plan

  • As team editor: toggle org starter on a project, verify it appears in New Project across all workspaces in the team
  • As non-team-editor: verify the menu item is hidden
  • Verify workspace starters continue to work independently
  • Verify org starters from a different team are not shown

Add org-level starter flag that team editors can set on projects,
making them available as starter templates across all workspaces
in the organization.
@field123 field123 merged commit acbcb0f into master Feb 20, 2026
7 checks passed
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.

1 participant