fhircore icon indicating copy to clipboard operation
fhircore copied to clipboard

Add the ability to define the bottomsheet that is displayed when a location point is clicked.

Open dubdabasoduba opened this issue 11 months ago • 1 comments

Describe the feature request.

  • With the addition of the Geo-Widget on OpenSRP 2, we would like to be able to navigate from the map to the Location Profile.
  • This redirect after an icons on the map has been clicked can happen in 2 routes
    • Route 1: Clicking on the icons on the maps redirects to the Profile directly
    • Route 2: Clicking on the icons on the map launches a configurable bottom sheet that allows the users to view summary data of the location item.
  • This ticket is to add the ability to display and configure the bottom sheet on the Route 2

Acceptance criteria

  • [x] Content authors should be able to define which route the icon click should take.
  • [x] A configurable bottom sheet should be launched if Route 2 above is selected. This bottom sheet should have the following configurations
    • [x] Ability to fetch data, and define FHIR core widgets to display the data
    • [x] Ability to add buttons that allow redirecting to other views on the app

Implementation plan (For Engineers) The plan for implementing the solution e.g. via a description or a check list for the various ordered tasks that will need to be completed. i.e. Describe how you intend to solve the problem

dubdabasoduba avatar Mar 13 '24 11:03 dubdabasoduba

@Mstjamush this is ready for QA.

AnnieMungai avatar Apr 25 '24 11:04 AnnieMungai

Any feedback on the QA for this issue? @AnnieMungai @Mstjamush?

ellykits avatar May 28 '24 09:05 ellykits

@Mstjamush - linked ticket: https://github.com/onaio/fhir-resources/issues/2955

AnnieMungai avatar Jun 07 '24 12:06 AnnieMungai

Passed QA on the resources repo.

AnnieMungai avatar Jul 03 '24 08:07 AnnieMungai