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
Outdated
Show resolved
Hide resolved
|
/ci |
|
Pinging @elastic/appex-sharedux (Team:SharedUX) |
Heenawter
left a comment
There was a problem hiding this comment.
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 ! |
nickofthyme
left a comment
There was a problem hiding this comment.
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
|
@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-serverand 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-publicto increase the view count every time a user opens a dashboard.@kbn/content-management-content-insights-publicto display the statsHow to test