iaso icon indicating copy to clipboard operation
iaso copied to clipboard

IA-2938 update polio plugin

Open quang-le opened this issue 1 year ago • 0 comments

Explain what problem this PR is resolving

Related JIRA tickets : IA-2938

Self proofreading checklist

  • [X] Did I use eslint and black formatters
  • [X] Is my code clear enough and well documented
  • [X] Are my typescript files well typed
  • [ ] New translations have been added or updated if new strings have been introduced in the frontend
  • [ ] My migrations file are included
  • [ ] Are there enough tests
  • [ ] Documentation has been included (for new feature)

Doc

Some doc in the code

Changes

  • Split config.js and convert to TS:
    • use routes, menu and urls files, like in the main iaso codebase
  • Move all permissions in constants
  • Update useRoutes and useRedirections to use redirections from plugin
  • Update routes, links, buttons and filters:
    • remove redux from filters and redirections
    • use LinkButton where applicable
    • Remove all router and params props from route elements
  • Improve overall TS typing

How to test

Test all links, filters and redirections in polio

Notes

⚠️depends on https://github.com/BLSQ/bluesquare-components/tree/IA-2850_react-router_update_dev

quang-le avatar May 08 '24 16:05 quang-le