Skip to content

[configuration] Reactify study entity forms#10993

Open
Montekkundan wants to merge 1 commit into
aces:mainfrom
Montekkundan:montek/10817-configuration-reactify-study-entities
Open

[configuration] Reactify study entity forms#10993
Montekkundan wants to merge 1 commit into
aces:mainfrom
Montekkundan:montek/10817-configuration-reactify-study-entities

Conversation

@Montekkundan

Copy link
Copy Markdown
Contributor

Brief summary of changes

  • Replaces the Cohort and Project Smarty forms with TypeScript React pages.
  • Preserves the existing form fields, validation, Save and Reset behavior, and guarded update endpoints.
  • Keeps project cohort affiliations and edited tab headings synchronized.
  • Fixes recruitment target type handling when updating projects.
  • Adds translation template entries and integration coverage.
  • Removes the retired Smarty templates and jQuery form scripts.
  • Keeps generated JavaScript bundles ignored.

Testing instructions

  • Sign in as a user
  • Open http://localhost:8080/configuration/cohort/.
  • Create and edit a cohort, then confirm its name, options, and recruitment target save correctly.
  • Confirm Reset restores the form values and invalid recruitment targets show an error.
  • Open http://localhost:8080/configuration/project/.
  • Create and edit a project, including its affiliated cohorts.
  • Confirm the project tab updates immediately and the changes persist after reloading.
  • Confirm missing names, missing aliases, invalid recruitment targets, and aliases longer than four characters show validation errors.
  • Run target=configuration npm run compile.

Link(s) to related issue(s)

@Montekkundan Montekkundan self-assigned this Jul 23, 2026
@github-actions github-actions Bot added Language: PHP PR or issue that update PHP code Language: Javascript PR or issue that update Javascript code Module: configuration PR or issue related to configuration module labels Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Language: Javascript PR or issue that update Javascript code Language: PHP PR or issue that update PHP code Module: configuration PR or issue related to configuration module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[configuration] Reactify Study Entities

1 participant