Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User and Sign Ups Bug on Overview #134

Open
TeachMeTW opened this issue Sep 24, 2024 · 1 comment
Open

User and Sign Ups Bug on Overview #134

TeachMeTW opened this issue Sep 24, 2024 · 1 comment

Comments

@TeachMeTW
Copy link
Contributor

There is a bug on the Overview/Home page where certain components do not load properly:

  • # Active Users
  • # Users
  • Sign Ups Trend

Steps to Reproduce

  1. Navigate to the data page.
  2. Change the date on the top right to a future date (e.g., November 2023).
  3. Return to the Overview/Home page.
  4. Observe that the following components fail to load:
    • # Active Users
    • # Users
    • Sign Ups Trend

However, other components such as # Confirmed Trips and Trips Trend continue to function normally.

Expected Behavior

All components on the Overview/Home page should load and update properly, regardless of the date changes made on the data page.

Actual Behavior

After changing the date on the data page and returning to the Overview/Home page, the # Active Users, # Users, and Sign Ups Trend components fail to load/update.

@TeachMeTW
Copy link
Contributor Author

@JGreenlee I've been trying to debug this for a while now. What I noticed that this bug only happens when switching between DATA and HOME page; HOME and any other page loads components fine. When switching between data and home we get:

A nonexistent object was used in an `Input` of a Dash callback. The id of this object is `store-uuids` and the property is `data`. The string ids in the current layout are: [home-page-load, url, store-trips, store-excluded-uuids, store-demographics, store-trajectories, page-content, date-picker, collapse-button, collapse-icon, collapse-filters, date-picker-timezone, excluded-subgroups, global-loading, _pages_location, _pages_content, _pages_store, _pages_dummy, card-users, card-active-users, card-trips, fig-sign-up-trend, fig-trips-trend]

I believe this has something to do with lazy loading but I'm not too sure what. What do you suggest?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant