Open abbyhu2000 opened 7 months ago
@abbyhu2000
Thank you for writing up this issue! Some notes on the functionality and design:
Recent work section; no recent work
Recent work section; filtered by dashboards
Filter menu; more than one type showing
No previews
@abbyhu2000 The following is a description of style and content updates to the homepage seen in the mockups above.
Content
Title of the first section is "Start working with data". It includes the following 4 cards:
Title of the third section is Learn OpenSearch basics. It includes the following 6 cards, all of which open in a new tab and have the popout icon that denotes that the link opens in another tab and is external. All of the 6 cards contain a snippet of content from the first lines in the article.
Links on page
Style
@abbyhu2000 Please see the following content updates by @vagimeli. Let me know if you have any questions.
@abbyhu2000
I'm wondering if we can include both recently viewed and recently updated items in the recent items list? These would be items recently viewed and recently updated by a user (as opposed to all users in the tenant/ application, even though, if the security plugin is disabled, perhaps it would default to recently updated or viewed by all users. I'd look to you to help me understand what this behavior might be).
I've mocked up two possibilities for what this could look like. I prefer the tabbed approach. Please let me know if you see any issues with this design. (@kgcreative)
Hi @lauralexis, I am currently modifying the styling in the sections. For the third card Set up pre-built dashboards; links to "/app/integrations#/"
, could you provide the picture? and also i don't think the route /app/integrations#/
exist?
Hi @abbyhu2000 --
Do you see https://playground.opensearch.org/app/integrations#/? This is where the third card should link.
I added the image for the card here too
@lauralexis I see. The integration page only comes with installing the observability plugin. I think by default we should not show this card since user might not have observability plugin installed?
@abbyhu2000 Is it possible to do either of the following if the observability plugin is not installed?
I'm just trying to understand our options in terms of conditional behavior.
@abbyhu2000 Is it possible to do either of the following if the observability plugin is not installed?
- Hide the card, or
- Change the link destination to external documentation
I'm just trying to understand our options in terms of conditional behavior.
@lauralexis i can do either one option for the observability plugin. The current implementation for the above PR is to hide the card if observability plugin is not installed. I can also change the behavior to the second option if needed.
@abbyhu2000 Hiding the card works. Thank you
Hi @abbyhu2000 --
Do you see https://playground.opensearch.org/app/integrations#/? This is where the third card should link.
I added the image for the card here too
@lauralexis Could you attach picture of both dark mode and light mode for the integration card unless they are the same one? Thx!
@lauralexis @ashwin-pc @kgcreative
I have some opinions on the filter button for the recent work section.
Since recent work section only shows 8 items maximum, is it necessary to have a filter just over 8 items?
Since there are 8 different types for the item, every time user choose a type, it is possible that they can get 8 totally different recent section. They can also choose to selected multiple different types, and that will add even more permutations to the recent work items. I feel like this is a confusing user experience, and overly complicated for the recent work section.
Also since I am using 'services.chrome.recentlyAccessed' services to get a list of recent work, the max number recent items it stored is 20. So if we add a type filter and there are 8 types, that means we have to possibly store 64 items if we want to show 8 items of the type that is selected. (Since we store such a long list of item, some of the item prob has a super old timestamp like last updated 2 month ago, do we really need to still show them in the recent work?) I think this is unnecessarily complicated since users mostly just want to use this as a shortcut to access some pretty recent item that they wish to modified again. If they want to access other item that is not super recent, they will prob just go to saved object to access that item instead of using recent work section.
Thus I think we do not need a filter button on the recent work section, what do you guys think?
Hi @abbyhu2000 -- Do you see https://playground.opensearch.org/app/integrations#/? This is where the third card should link. I added the image for the card here too
@lauralexis Could you attach picture of both dark mode and light mode for the integration card unless they are the same one? Thx!
@abbyhu2000 I've attached images for both the light and dark themes here
@lauralexis @ashwin-pc @kgcreative
I have some opinions on the filter button for the recent work section.
- Since recent work section only shows 8 items maximum, is it necessary to have a filter just over 8 items?
- Since there are 8 different types for the item, every time user choose a type, it is possible that they can get 8 totally different recent section. They can also choose to selected multiple different types, and that will add even more permutations to the recent work items. I feel like this is a confusing user experience, and overly complicated for the recent work section.
- Also since I am using 'services.chrome.recentlyAccessed' services to get a list of recent work, the max number recent items it stored is 20. So if we add a type filter and there are 8 types, that means we have to possibly store 64 items if we want to show 8 items of the type that is selected. (Since we store such a long list of item, some of the item prob has a super old timestamp like last updated 2 month ago, do we really need to still show them in the recent work?) I think this is unnecessarily complicated since users mostly just want to use this as a shortcut to access some pretty recent item that they wish to modified again. If they want to access other item that is not super recent, they will prob just go to saved object to access that item instead of using recent work section.
Thus I think we do not need a filter button on the recent work section, what do you guys think?
@abbyhu2000 An additional item to consider that will impact the final design:
Do you have any thoughts on the ability to filter between recently viewed by me and recently updated by me? This would add further complexity to the design, but is very useful as we have two different user types: the producer who is mostly authoring and interested in last updated, and the consumer who is mostly viewing and interested in last viewed. https://github.com/opensearch-project/OpenSearch-Dashboards/issues/6066#issuecomment-2010583258
To answer your question directly:
To summarize: Let me know if you have concerns on the effort and timeline for this. I think it's valuable from the user experience perspective, but if it is very complex, we can break the work into phases, as I think we can still deliver some value without the filter. More importantly/ as a higher priority, we want to show items that have been updated and items that have been viewed. Let me know your thoughts!
Add a section on the new home page for users to view a list of recently viewed objects.
More UI to followed. @kgcreative @lauralexis
Original RFC: #5251