-
Notifications
You must be signed in to change notification settings - Fork 893
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
[WorkSpace] Refractor homepage assets list section #7702
[WorkSpace] Refractor homepage assets list section #7702
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7702 +/- ##
==========================================
+ Coverage 63.73% 63.74% +0.01%
==========================================
Files 3637 3637
Lines 80444 80448 +4
Branches 12792 12792
==========================================
+ Hits 51270 51285 +15
+ Misses 26040 26029 -11
Partials 3134 3134
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
src/plugins/saved_objects_management/public/management_section/recent_work.tsx
Outdated
Show resolved
Hide resolved
src/plugins/saved_objects_management/public/management_section/recent_work.tsx
Outdated
Show resolved
Hide resolved
Signed-off-by: Qxisylolo <[email protected]>
Signed-off-by: Qxisylolo <[email protected]>
Signed-off-by: Qxisylolo <[email protected]>
Signed-off-by: Qxisylolo <[email protected]>
Signed-off-by: Qxisylolo <[email protected]>
5227f37
to
ca37389
Compare
const capitalTheFirstLetter = function (recentAccessItem: DetailedRecentlyAccessedItem) { | ||
return recentAccessItem.type.charAt(0).toUpperCase() + recentAccessItem.type.slice(1); | ||
}; | ||
|
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.
Nit: seems like an util function, better to move it out of the Component render function.
Nice, looks much better. |
* refractor assets section Signed-off-by: Qxisylolo <[email protected]> * refractor assets section Signed-off-by: Qxisylolo <[email protected]> * refractor assets section_1 Signed-off-by: Qxisylolo <[email protected]> * Changeset file for PR #7702 created/updated * add new test Signed-off-by: Qxisylolo <[email protected]> * delete border Signed-off-by: Qxisylolo <[email protected]> --------- Signed-off-by: Qxisylolo <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> (cherry picked from commit 765527a) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* refractor assets section * refractor assets section * refractor assets section_1 * Changeset file for PR #7702 created/updated * add new test * delete border --------- (cherry picked from commit 765527a) Signed-off-by: Qxisylolo <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Description
In this pr, I refractor the assets list in the homepage.
Screenshot
empty state
Look
filtering
Title tooltip
Changelog
Check List
yarn test:jest
yarn test:jest_integration