-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Dashboard insights flyout with dashboard views #187993
Dashboard insights flyout with dashboard views #187993
Conversation
adf914e
to
d3eef07
Compare
/ci |
2 similar comments
/ci |
/ci |
/ci |
6875057
to
2d91030
Compare
/ci |
💔 Build Failed
Failed CI StepsMetrics [docs]Module Count
Public APIs missing comments
Async chunks
Public APIs missing exports
Page load bundle
Unknown metric groupsAPI count
async chunk count
ESLint disabled line counts
Total ESLint disabled count
History
|
/ci |
1 similar comment
/ci |
@elasticmachine merge upstream |
c2dad49
to
2c8c588
Compare
/ci |
9895d28
to
c8386e2
Compare
/ci |
packages/content-management/content_insights/content_insights_public/README.md
Outdated
Show resolved
Hide resolved
packages/content-management/content_insights/content_insights_server/src/register.ts
Outdated
Show resolved
Hide resolved
src/plugins/dashboard/public/dashboard_container/embeddable/create/create_dashboard.ts
Show resolved
Hide resolved
/ci |
Pinging @elastic/appex-sharedux (Team:SharedUX) |
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.
Local test + code review. LGTM 👍
@elasticmachine merge upstream |
1 similar comment
@elasticmachine merge upstream |
@Dosant I was talking with @teresaalvarezsoler and we would like to add a single EuiTourStep to bring attention to the new info we have available under the @florent-leborgne can you please give us a hand with the copy? this is what we have: Heading: New Activity section |
@andreadelrio What do you think of something a bit shorter like this?: View dashboard activity The dashboard details now include more information about its creation, last edit, and usage statistics over the last 90 days. |
I really like this! thanks @florent-leborgne ! |
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.
Charts code looks generally great, just a few suggestions.
...nagement/content_insights/content_insights_public/src/components/views_stats/views_chart.tsx
Outdated
Show resolved
Hide resolved
...nagement/content_insights/content_insights_public/src/components/views_stats/views_chart.tsx
Outdated
Show resolved
Hide resolved
...nagement/content_insights/content_insights_public/src/components/views_stats/views_chart.tsx
Outdated
Show resolved
Hide resolved
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.
LGTM
@andreadelrio, here is a poc how it would look like The thing with the tour is that we usually remember the "seen" state in local storage and I am afraid that this one could be a bit too intrusive for how not important it is with the risk of being shown again if the user cleans or changes the browser, or changes the deployment. I wonder if highlighting the feature with screenshots in the release note could be enough here? I'd suggest reconsidering or at least doing it in a separate pr |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@teresaalvarezsoler can you weigh in on how to proceed? I'm personally not sure this warrants a Tour (even it is a single-step tour). |
Ok, I thought this might be much more simpler. Let's not do this then. I hope users will find it through other means. |
@elasticmachine merge upstream |
expected head sha didn’t match current head ref. |
buildkite test this |
f28f91d
to
2238ac4
Compare
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]Module Count
Public APIs missing comments
Async chunks
Public APIs missing exports
Page load bundle
Unknown metric groupsAPI count
ESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
## Summary Follow up to #187993 Fix missing features in serverless API integration tests
Summary
close #183687
Feature
Implementation
Server side
Dashboard plugin registers new routes to increase the view count and get stats. Routes are protected for users with dashboard access only. The implementation is located in
@kbn/content-management-content-insights-server
and internally uses usage counters. The retention is 90 days, so we can only show stats for last 90 days.Client side
@kbn/content-management-content-insights-public
to increase the view count every time a user opens a dashboard.@kbn/content-management-content-insights-public
to display the statsHow to test