Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FOUR-13453 order calcs list with drag and drop option #1612

Merged
merged 8 commits into from
Jun 12, 2024

Conversation

devmiguelangel
Copy link
Contributor

@devmiguelangel devmiguelangel commented Jun 10, 2024

Issue & Reproduction Steps

As a designer, I want to have the option to Order the list of Calcs that I am creating in the Screen Builder.

Related Tickets & Packages

FOUR-13453

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:next

@devmiguelangel devmiguelangel self-assigned this Jun 10, 2024
Copy link

cypress bot commented Jun 10, 2024

Passing run #806 ↗︎

0 271 19 0 Flakiness 0

Details:

FOUR-13453 order calcs list with drag and drop option
Project: screen-builder Commit: b36d9b42c7
Status: Passed Duration: 07:08 💡
Started: Jun 12, 2024 12:57 PM Ended: Jun 12, 2024 1:05 PM

Review all test suite changes for PR #1612 ↗︎

<template #options="{ item }">
<button
v-b-tooltip="{ customClass: 'bypass-btn-tooltip' }"
:title="item.byPass ? 'Unbypass Calc' : 'Bypass Calc'"
Copy link
Contributor

Choose a reason for hiding this comment

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

Add translation for this labels

Copy link
Contributor Author

Choose a reason for hiding this comment

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

translations were added

</div>
<div
v-for="(item, index) in sortedItems"
:key="index"
Copy link
Contributor

Choose a reason for hiding this comment

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

Consider to add a prefix to the :key like:

Suggested change
:key="index"
:key="`item-${index}`"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

prefix was added

Copy link

@caleeli caleeli merged commit fb884a6 into feature/FOUR-13452 Jun 12, 2024
15 checks passed
@caleeli caleeli deleted the feature/FOUR-13453 branch June 12, 2024 13:49
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