Skip to content

Conversation

@henryjonathanquispe
Copy link
Contributor

@henryjonathanquispe henryjonathanquispe commented Nov 21, 2025

Related Tickets & Packages

Code Review Checklist

  • I have pulled this code locally and tested it on my instance, along with any associated packages.
  • This code adheres to ProcessMaker Coding Guidelines.
  • This code includes a unit test or an E2E test that tests its functionality, or is covered by an existing test.
  • This solution fixes the bug reported in the original ticket.
  • This solution does not alter the expected output of a component in a way that would break existing Processes.
  • This solution does not implement any breaking changes that would invalidate documentation or cause existing Processes to fail.
  • This solution has been tested with enterprise packages that rely on its functionality and does not introduce bugs in those packages.
  • This code does not duplicate functionality that already exists in the framework or in ProcessMaker.
  • This ticket conforms to the PRD associated with this part of ProcessMaker.

ci:deploy


Note

Introduces a sliding MobileDrawer for small screens and updates ProcessesCatalogue to use it with safer menu state/config handling.

  • UI/Components
    • MobileDrawer.vue: New mobile sliding drawer with overlay, positional slide transitions, v-model support, and open/close events.
  • Processes Catalogue
    • ProcessesCatalogue.vue: Switches menu container to dynamic component (mobile-drawer on mobile, collapsable-container on desktop) with responsive classes and left/right positioning.
    • Auto-closes menu on category change when mobile; toggles showMenu on control click; improves config access with optional chaining and guarded updates.
    • Updates MenuCatologue container classes for full-size white panel on mobile.
  • Exports
    • base/ui/index.js: Exports MobileDrawer.

Written by Cursor Bugbot for commit dae6eed. This will update automatically on new commits. Configure here.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

This PR is being reviewed by Cursor Bugbot

Details

Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

},
hideMenu(value) { // value is the new value of the menu
this.showMenu = value;
this.showMenu = !this.showMenu;
Copy link

Choose a reason for hiding this comment

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

Bug: hideMenu emits stale value after toggling showMenu

The hideMenu method now toggles showMenu with !this.showMenu but still emits sizeChanged with the old value parameter. Since hideMenu is called from a click handler without arguments, value is undefined. The emitted event should reflect the new state of showMenu, not the undefined parameter.

Fix in Cursor Fix in Web

this.userConfiguration.launchpad.isMenuCollapse = this.showMenu;
if(this.userConfiguration?.launchpad) {
this.userConfiguration.launchpad.isMenuCollapse = this.showMenu;
}
Copy link

Choose a reason for hiding this comment

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

Bug: Menu show/collapse state semantics inverted

The defineUserConfiguration method assigns isMenuCollapse directly to showMenu, but these have opposite meanings. When isMenuCollapse is true (menu is collapsed), showMenu should be false (menu not shown). Similarly, updateUserConfiguration assigns showMenu to isMenuCollapse, creating the same inversion. The values should be negated: this.showMenu = !this.userConfiguration?.launchpad?.isMenuCollapse in defineUserConfiguration and this.userConfiguration.launchpad.isMenuCollapse = !this.showMenu in updateUserConfiguration.

Fix in Cursor Fix in Web

@vladyrichter
Copy link

QA server K8S was successfully deployed https://ci-7db5b5180e.engk8s.processmaker.net

@processmaker-sonarqube
Copy link

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

@pmPaulis pmPaulis requested a review from CarliPinell November 21, 2025 18:18
@pmPaulis
Copy link
Contributor

Team,
This changes has QA REVIEW
Captura de pantalla 2025-11-25 a las 1 19 28 p  m
Regards,

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants