-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat: Add a link to each service's analytics page in the editor #2387
Conversation
0479b44
to
cba3f5f
Compare
🤖 Hasura Change Summary compared a subset of table metadata including permissions: Updated Tables (1)
|
Removed vultr server and associated DNS entries |
...a.planx.uk/migrations/1699010412430_alter_table_public_flows_add_column_metabase_link/up.sql
Outdated
Show resolved
Hide resolved
- As per: #2387 (comment) - Update the flowMetabaseLink to handle the query returning null
…navailable - As per: #2387 (comment) - Move the analytics link to be the middle option to maintain groupings - As per: #2387 (comment) - Render a disable version of the analytics page link to covney active/inactive to improve usability
- As per: #2387 (comment) - Best practice not to tie the variable name to a single provider
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and all working as expected for me! I successfully added a (fake) analytics_link
to this flow.
One minor comment about migration history, but not a particularly big deal to skip if you're ready to get this merged.
...a.planx.uk/migrations/1699010412430_alter_table_public_flows_add_column_metabase_link/up.sql
Outdated
Show resolved
Hide resolved
- Add analytcis link via bar chart icon - Only renders if the flow has a metabase link associated in the db
- As per: #2387 (comment) - Update the flowMetabaseLink to handle the query returning null
… and flowMetabaseLink - Consistently use the pattern of directly settings state attributes
…navailable - As per: #2387 (comment) - Move the analytics link to be the middle option to maintain groupings - As per: #2387 (comment) - Render a disable version of the analytics page link to covney active/inactive to improve usability
- As per: #2387 (comment) - Best practice not to tie the variable name to a single provider
- As the name of the new column changed there was a create and a rename migration - Removed both of these and added a new migration which names the column correctly from the get go
b4e3f1d
to
4ed6592
Compare
All seems good on this Pizza testing with this flow: https://2387.planx.pizza/testing/mikes-analytics-testing |
What
analytics_link
to theflow
table to store the link to analytics for each flowshared
store.analytics_link
to open the page in a new tabWhy
Screen Recording
Screen.Recording.2023-11-06.at.17.28.29.mov
Follow Up
analytics_link
for services which have them as per https://www.notion.so/opensystemslab/Plan-Service-Content-d579ddc3f4f3472b8fe167865ede2e93#e637abed931d4697a2707455d81e4620