ems-backend icon indicating copy to clipboard operation
ems-backend copied to clipboard

AB#89564 new button action types dashboard

Open Maximo-reliefapps opened this issue 1 year ago • 0 comments

Description

Button action types have been revamped to add different types of actions, when creating a button you will be able to select between these actions:

  • Link: Original action button behavior, you will be able to set a relative direction or external page link to go when clicking the button.
  • Record edition: (Only when having a context DS and record selected) This button will open a modal to edit the selected record.
  • Email notification: To define

Useful links

Type of change

  • [x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.

  • [x] Create a button and make sure types are required and the type-specific fields work as expected
  • [x] Use the new button type (edit record) and make sure it works.
  • [x] Use a link type (original function) button and confirm it still works

Screenshots

Check in the frontend ticket: https://github.com/ReliefApplications/ems-frontend/pull/2466

Checklist:

( * == Mandatory )

  • [x] * I have set myself as assignee of the pull request
  • [x] * My code follows the style guidelines of this project
  • [x] * Linting does not generate new warnings
  • [x] * I have performed a self-review of my own code
  • [x] * I have put the ticket for review, adding the oort-frontend team to the list of reviewers
  • [x] * I have commented my code, particularly in hard-to-understand areas
  • [x] * I have put JSDoc comment in all required places
  • [x] * My changes generate no new warnings
  • [x] * I have included screenshots describing my changes if relevant
  • [x] * I have selected labels in the Pull Request, according to the changes with code brings
  • [ ] I have made corresponding changes to the documentation ( if required )
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • [ ] New and existing unit tests pass locally with my changes
  • [ ] Any dependent changes have been merged and published in downstream modules

More explanation

https://www.loom.com/share/05a716d61b9744faaf51fb304c21d1e5?sid=f87cf896-582a-4f76-93ae-8ceed801b145

Maximo-reliefapps avatar Apr 18 '24 07:04 Maximo-reliefapps