question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Users can create saved explores

See original GitHub issue

Now that we have users, we should try implementing a feature that requires using user_id (because we don’t just want to have users for the sake of tracking…)

This is also a really important, quite basic feature for the app.

A user should be able to save an explore. When they save an explore, it appears in their saved explores page (see #233 )

Should create event for saved_explore_created: #236

https://www.sketch.com/s/5f6d7184-0fd0-4bde-925f-0f2d043f103b

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
ZeRegocommented, Jul 21, 2021

do you imagine we’ll ever want to save queries and charts separately?

@owlas Each saved chart would still be linked to a saved query.

This sounds similar to Jira. When you want to build a chart/table in a Jira dashboard you need to select a saved query.

When fetching the saved query we could get all the linked saved charts. We could apply the first in the list and provide a dropdown in the UI for people to switch between all the saved charts.

We could leave the work for the multiple saved chart configs for a future ticket.

1reaction
TuringLovesDeathMetalcommented, Jul 21, 2021

@hamzahc1

Does a saved explore include things like: sorts on columns, chart settings OR just the queries?

Yes, it should be basically save the state that your explore is in the moment that you’ve saved it (so, I think this is same thing as our current share link functionality 🤔 )

Note: Also think about error handling, what do we do if underlying model changes on a saved explore?

I actually wouldn’t worry about this…(for now). I would say that > 90% of model changes will not change the overall ‘logic’ of the model. If anything, changes will fix broken logic, so it would be really hard to actually give error handling because we wouldn’t know if the changes were fixing or breaking changes. Also, if you change a model, you’ll tend to change values within a model, and not the overall model structure (e.g. I might change the way I calculate average time spent in the app on my users table, but it’s reeeeallllyyy unlikely that I’d change the fact that the table is one row per user_id)

I guess the one type of error handling we could do is telling the user that the data has changed since the Explore was saved? But I feel like this might do more harm than good…(e.g. how would you then go and figure out what has changed? What happens if multiple columns have changed multiple times since the Explore was saved? etc.)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Remember passwords and fill out web forms for Internet ...
Learn how to fill in forms on websites and remember online passwords automatically with AutoComplete in Internet Explorer.
Read more >
[GA4] User explorer - Analytics Help - Google Support
User explorer displays the users who make up an existing segment, or who make up the temporary segment that results from using other...
Read more >
Roles | Looker - Google Cloud
Permission Depends On Type access_data None Model Specific see_lookml_ dashboards access_data Model Specific see_looks access_data Model Specific
Read more >
Working with the File Explorer in Windows 10 - Georgetown UIS
If you've set up search criteria you want to retain for a future search, you can save that search by clicking Save search....
Read more >
Find Documents with ProjectWise Search - GDOT
Favorite Quick Searches can be saved for easy access in ProjectWise Explorer. These are unique to your profile on your computer so you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found