-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Logs UI] Fix z-index of logs page toolbar #54469
Conversation
Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui) |
@elasticmachine merge upstream |
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.
👀 Reviewing on behalf of @elastic/logs-metrics-ui
...
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.
We encoutered a problem like that before in the log analysis setup screen. react-datepicker
has unfortunate z-index values, which we overrode in
Lines 137 to 150 in ea4a1ac
const FixedDatePicker = euiStyled( | |
({ | |
className, | |
inputClassName, | |
...datePickerProps | |
}: { | |
className?: string; | |
inputClassName?: string; | |
} & EuiDatePickerProps) => ( | |
<EuiDatePicker {...datePickerProps} className={inputClassName} popperClassName={className} /> | |
) | |
)` | |
z-index: 3 !important; | |
`; |
FixedDatePicker
and re-use it here?
I'll give it a shot, but if we takes me more than 1 hour I think it's better to merge this as it is. I'm getting rid of the datepicker in #54280 anyway |
@elasticmachine merge upstream |
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.
LGTM once CI is green 👍
@@ -23,6 +23,7 @@ import { LogFilterState } from '../../../containers/logs/log_filter'; | |||
import { LogPositionState } from '../../../containers/logs/log_position'; | |||
import { Source } from '../../../containers/source'; | |||
import { WithKueryAutocompletion } from '../../../containers/with_kuery_autocompletion'; | |||
import euiStyled from '../../../../../../common/eui_styled_components'; |
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.
This is not used anymore.
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
* Fix z-index of logs page toolbar * Extract `FixedDatePicker` from log setup page, and use it in the stream page * Clean unused import Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Fix z-index of logs page toolbar * Extract `FixedDatePicker` from log setup page, and use it in the stream page * Clean unused import Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Fix z-index of logs page toolbar * Extract `FixedDatePicker` from log setup page, and use it in the stream page * Clean unused import Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Fix z-index of logs page toolbar * Extract `FixedDatePicker` from log setup page, and use it in the stream page * Clean unused import Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* master: [State Management] remove AppState from Dashboard app (elastic#54105) Expose fatalErrors API from the Start contract (elastic#55300) [BUG] Data fetching twice on discover timefilter change (elastic#55279) [Mappings editor] Add missing max_shingle_size parameter to search_as_you_type (elastic#55161) [Logs UI] Fix z-index of logs page toolbar (elastic#54469) removes CTA from Task Manager info message (elastic#55334)
Closes #54449
The header of the log stream overlaps with the datepicker. This PR adjust the z-index of the logs toolbar to prevent it from happening.