avniproject / avni-client

Android app for the fieldworkers.
https://avniproject.org
GNU Affero General Public License v3.0
7 stars 18 forks source link

Add dashboard shortcut to bottom drawer #1328

Closed mahalakshme closed 1 week ago

mahalakshme commented 2 months ago

Need:

Users frequently dont use search to navigate the beneficiaries. They use the dashboards. Hence having one another dashboard as bottom drawer shortcut helps in easy navigation.

Acceptance criteria:

Out of scope:

Mockups

dashboard_bottom_drawer

One of the test cases:

Being able to add 'Overall Overview' dashboard as shortcut in the bottom drawer for all user groups in TeachAP app.

petmongrels commented 2 months ago

other commits

petmongrels commented 2 months ago
Dinesh2019 commented 1 month ago
Screenshot 2024-03-27 at 2 40 05 PM Screenshot 2024-03-27 at 2 45 24 PM
petmongrels commented 1 month ago
Dinesh2019 commented 1 month ago

Image

Dinesh2019 commented 1 month ago

Tested env : pre-release apk used for testing : apk

[x] Display dashboard 1 as primary and dashboard 2 as secondary on the home page with respective cards. Dashboard 2 should be accompanied by an icon and a name.

Dinesh2019 commented 2 weeks ago

We unable to see the secondary option in the user group to add the secondary dashboard.Hence reopening the ticket

env : pre-release org : iphscd user : vedantr@iphscd

Refer image :

Image

petmongrels commented 2 weeks ago

web app for 8.0 not deployed on prerelease

Dinesh2019 commented 2 weeks ago

But i have tested this is in per-release already u can see my comment which was added in mar 27

petmongrels commented 2 weeks ago

web app was deployed in 2 months ago in prerelease. in two months likely some other branch was deployed. I can see that the code is not correct.

Dinesh2019 commented 1 week ago

@petmongrels do we have workaround for this because the card is in QA Ready

petmongrels commented 1 week ago

redeploy web app

Dinesh2019 commented 1 week ago

when we click on the more option the second dashboard is also getting selected but it display on the more option details .

Refer video :

https://github.com/avniproject/avni-client/assets/127730126/3eaf6e02-bdc4-4c9b-9898-efeea33f990b

petmongrels commented 1 week ago

@mahalakshme do we want to fix this. I think showing all dashboards doesn't hurt.

mahalakshme commented 1 week ago

@petmongrels discussed with Dinesh, here showing all dashboards is not the issue. The issue is just that, when More option is selected, the secondary dashboard option is also getting highlighted in the bottom drawer and it need not. So moving it back to QA failed. Let me know if you think otherwise.