Skip to content

Task/FOUR-34495: Add in the plugins creation the new UI for create the project - #9189

Merged
caleeli merged 1 commit into
feature/FOUR-34328from
task/FOUR-34495
Nov 20, 2026
Merged

caleeli merged 1 commit into
feature/FOUR-34328from
task/FOUR-34495

Conversation

@agustinbusso

Copy link
Copy Markdown
Contributor

Description

Redesign the plugin creation modal with MCP setup instructions, a copyable prompt, and client-flow animation. Add Claude, Cursor, and Codex icons, and validate repository URLs and Git refs before saving.

Screen.Recording.2026-11-20.at.3.47.52.PM.mov

Related Tickets and PRs

https://processmaker.atlassian.net/browse/FOUR-34495

Redesign the plugin creation modal with MCP setup instructions, a copyable prompt, and client-flow animation. Add Claude, Cursor, and Codex icons, and validate repository URLs and Git refs before saving.
@cursor

cursor Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

PR Summary

Low Risk
UI-only changes in the admin plugins screen with stricter front-end validation on install payloads; no API or auth changes in this diff.

Overview
Redesigns the Create/Edit Plugin dialog by swapping pm-modal for a centered b-modal with a two-column layout: a refreshed git install form on the left and an MCP setup panel on the right.

The form now uses Tailwind-styled inputs (URL, optional credentials, branch/tag) and runs client-side validation before install—required HTTPS repository URL, valid git ref names, and disallowing branch and tag together. Save still posts to /plugins/install but sends trimmed fields and skips empty branch/tag.

The MCP side adds a generated setup prompt (instance base URL and MCP endpoints), copy/view prompt actions, and an animated client → MCP → ProcessMaker flow with rotating example prompts; timers start on modal open and are cleared on close/unmount, with reduced-motion fallbacks.

Footer actions are custom-styled buttons wired through onCreatePluginFooterAction; modal reset/fetch now happens on @hidden instead of on close only.

Reviewed by Cursor Bugbot for commit 71bfb28. Bugbot is set up for automated code reviews on this repo. Configure here.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 71bfb28. Configure here.

nextErrors.url = [$t("The Repository URL field is required.")];
} else if (!isValidHttpsUrl(url)) {
nextErrors.url = [$t("Repository URL must be a valid URL")];
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

HTTPS URL errors hide the real rule

Low Severity

New client-side URL checks reject anything that is not https:, including common SSH (git@github.com:...) and http:// clone URLs, but always show Repository URL must be a valid URL. Those values are valid URLs, so the message hides the actual HTTPS-only rule that the install API enforces with starts_with:https://. Users who paste a GitHub SSH URL cannot tell they need to switch to HTTPS, and a clearer backend starts_with error never appears because validation never reaches the API.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 71bfb28. Configure here.

@decisions-sonarqube

Copy link
Copy Markdown

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@caleeli
caleeli merged commit f1dbede into feature/FOUR-34328 Nov 20, 2026
11 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.

3 participants