avniproject / avni-product

https://avniproject.org/
7 stars 9 forks source link

Improve usability of dashboards #1296

Open vinayvenu opened 1 year ago

vinayvenu commented 1 year ago

Problem statement

Custom dashboards that are either on the "More" menu or on the home screen can potentially be slow. The primary issue with this is that the screen is not usable when the dashboard cards are running.

Fixing the performance of each card is beyond the scope of this card as it includes custom queries. Additionally, since the query is slow, it is also not possible to make the app responsive during this time.

The one thing we can do is to provide the organisation and the user the ability to control when each card is synced. There are some other minor performance bottlenecks that are currently present.

Existing performance bottlenecks

Future changes (for reference)

In the future, we will do the following changes to the dashboard cards

  1. Add filters
  2. Add concept based search
  3. Deprecate MyDashboard with custom dashboards for the home page

Solution

Eventually (not in scope of this version)

vinayvenu commented 1 year ago

This is deprioritized for a while because there is a lot that can be achieved by optimizing the queries written for existing implementations