OpenSearch-Dashboards
OpenSearch-Dashboards copied to clipboard
[HomePage] Add recent work section and additional styling for home page
Description
This PR implements:
- recent work section with max 8 cards
- each recent work card has the recent work item name, type and last updated time
- re-styling the home page sections
Issues Resolved
partially resolves #6066
Screenshot
--work with data, learn basic section styling and links
https://github.com/opensearch-project/OpenSearch-Dashboards/assets/43937633/1e1653f0-9177-4465-8777-7badc22b74a8
-- recent work section
- recent work will be added with its title and saved object type in reverse order(the latest viewed one will be placed at the front), and clicking on each card take back to the item
https://github.com/opensearch-project/OpenSearch-Dashboards/assets/43937633/534a10a1-60e0-4fc1-a98e-217db4a8a3c3
- filter by saved object type
https://github.com/opensearch-project/OpenSearch-Dashboards/assets/43937633/2a25839b-c467-4749-8ffb-be77290b1bdc
Changelog
- feat: Add recent work section and additional styling for home page
Codecov Report
Attention: Patch coverage is 61.29032%
with 24 lines
in your changes missing coverage. Please review.
Project coverage is 67.67%. Comparing base (
774f64e
) to head (2bfa070
).
Additional details and impacted files
@@ Coverage Diff @@
## main #6277 +/- ##
==========================================
+ Coverage 67.55% 67.67% +0.11%
==========================================
Files 3469 3470 +1
Lines 68479 68513 +34
Branches 11130 11130
==========================================
+ Hits 46264 46368 +104
+ Misses 19512 19425 -87
- Partials 2703 2720 +17
Flag | Coverage Δ | |
---|---|---|
Linux_1 | 33.11% <8.69%> (-0.02%) |
:arrow_down: |
Linux_2 | 55.25% <28.57%> (-0.02%) |
:arrow_down: |
Linux_3 | 45.27% <7.14%> (-0.05%) |
:arrow_down: |
Linux_4 | 34.96% <60.34%> (+0.24%) |
:arrow_up: |
Windows_1 | 33.13% <8.69%> (-0.02%) |
:arrow_down: |
Windows_2 | 55.20% <28.57%> (-0.02%) |
:arrow_down: |
Windows_3 | 45.28% <7.14%> (-0.04%) |
:arrow_down: |
Windows_4 | 34.96% <60.34%> (+0.24%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Added a comment here about the necessity of adding a filter button on the recent work section: https://github.com/opensearch-project/OpenSearch-Dashboards/issues/6066#issuecomment-2031004270
Changed the rendering structure of section back to previous way.
Hi @abbyhu2000 , is this PR targeting 2.15 or 2.16?
@ashwin-pc At least the recent items section is still needed.
@abbyhu2000 is this still 2.16?
This doesn't target 2.16 anymore. Will close