-
Notifications
You must be signed in to change notification settings - Fork 923
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]Fix the UI of recent assets in the header #8156
[Workspace]Fix the UI of recent assets in the header #8156
Conversation
> | ||
<EuiTitle size="xxs"> | ||
<EuiText size="m"> |
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.
Should this be size="s"
with h3
?
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.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8156 +/- ##
==========================================
+ Coverage 60.90% 60.91% +0.01%
==========================================
Files 3808 3808
Lines 91178 91178
Branches 14396 14396
==========================================
+ Hits 55529 55541 +12
+ Misses 32095 32083 -12
Partials 3554 3554
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
Looks good to me, let's remove the console.log
@@ -124,6 +123,9 @@ export const RecentItems = ({ | |||
const navLinks = useObservable(navLinks$, []); | |||
const loadingCount = useObservable(loadingCount$, 0); | |||
|
|||
// eslint-disable-next-line | |||
console.log('loadingCount', loadingCount); |
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.
Let's remove console.log
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.
Thanks for the comment, all updated.
6d6c552
to
2a26e67
Compare
@Qxisylolo Approved, but you may need to resolve the conflicts |
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]>
Signed-off-by: Qxisylolo <[email protected]>
13826cc
to
afde0b9
Compare
Signed-off-by: Qxisylolo <[email protected]>
afde0b9
to
618c975
Compare
defaultMessage: 'Preferences', | ||
})} | ||
</EuiButtonEmpty> | ||
iconType="managementApp" |
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.
Icon type changed to gear?
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.
* resolve conflicts Signed-off-by: Qxisylolo <[email protected]> * fix/ fix the_UI_of_recent_assets, delete comments Signed-off-by: Qxisylolo <[email protected]> * fix/ fix the recent title size Signed-off-by: Qxisylolo <[email protected]> * fix/the_UI_of_recent_assets, use icon button Signed-off-by: Qxisylolo <[email protected]> * fix/the_UI_of_recent_assets, a small fix Signed-off-by: Qxisylolo <[email protected]> * remove comment Signed-off-by: Qxisylolo <[email protected]> * new resolve conflicts Signed-off-by: Qxisylolo <[email protected]> * Changeset file for PR #8156 created/updated --------- 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 b1113f4) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…ect#8156) * resolve conflicts Signed-off-by: Qxisylolo <[email protected]> * fix/ fix the_UI_of_recent_assets, delete comments Signed-off-by: Qxisylolo <[email protected]> * fix/ fix the recent title size Signed-off-by: Qxisylolo <[email protected]> * fix/the_UI_of_recent_assets, use icon button Signed-off-by: Qxisylolo <[email protected]> * fix/the_UI_of_recent_assets, a small fix Signed-off-by: Qxisylolo <[email protected]> * remove comment Signed-off-by: Qxisylolo <[email protected]> * new resolve conflicts Signed-off-by: Qxisylolo <[email protected]> * Changeset file for PR opensearch-project#8156 created/updated --------- Signed-off-by: Qxisylolo <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> Signed-off-by: Federico Silva <[email protected]>
* resolve conflicts * fix/ fix the_UI_of_recent_assets, delete comments * fix/ fix the recent title size * fix/the_UI_of_recent_assets, use icon button * fix/the_UI_of_recent_assets, a small fix * remove comment * new resolve conflicts * Changeset file for PR #8156 created/updated --------- (cherry picked from commit b1113f4) 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
This pr fixes the UI issue of recent assets in the header
Screenshot
fix: Icons should be styled with single color Style = "Text"
fix: Add cog icon as trigger for preferences dropdown and remove preferences button from the bottom
fix: Add spacing between recent item name and workspace name
Changelog
Check List
yarn test:jest
yarn test:jest_integration