-
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
[Timelion] Remove kui usage #80287
[Timelion] Remove kui usage #80287
Conversation
@cchaos what do you think? I have removed the kui styles and added new ones that are either inline or on the timelion scss files. I also removed fontAwesome usage |
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.
Wow, that was a lot of work @stratoula ! Thanks for doing that. My only suggestion is to still make sure that all classes are prefixed with .tim
to keep them scoped to the Timelion app. Some of the selctors aren't very unique, like form-checkbox
, which could end up clashing with a similar selector from someone else.
But other than that, the approach LGTM, but I haven't pulled the PR to test locally. Just wanted to give my initial thoughts first.
Thank you @cchaos! You are totally right. Will fix this and send it for a proper review ❤️ |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
Pinging @elastic/kibana-app (Team:KibanaApp) |
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.
I compared the new version with the one from the Demo site and found just a couple small issues, but everything else seems to be the same.
1. Is it possible to move the menu system to the header area as we do with all the other apps now?
2. The icons in the chart aren't showing up
3. The auto-complete dropdown isn't connected to the input as well as it was before. Also, the input itself looks to have a darker bg than the rest making it look disabled.
4. The tabs under Help don't change active state (very minor)
src/plugins/timelion/public/directives/timelion_help/timelion_help.html
Outdated
Show resolved
Hide resolved
@cchaos thank you a lot! I will address them all but the first one is not relevant with this PR so I would suggest creating an issue for this and discuss this request there. wdyt? |
@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.
No. 4 actually looks like it is working now. Not sure what changed, but basically the tabs in the Help section weren't updating their "active" state when switching between them. All good now.
LGTM with the exception of replacing a few hex values with EUI vars (for dark mode).
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.
Code LGTM ,thx for the cleanup and also for removing the font that used to be awesome! Tested locally, and found one minor issue, the "Don't show this again" link/button is displayed in plain text color. Should be an easy CSS fix, so I'm approving and I think it's safe to press the "Don't review this again" button.
💚 Build SucceededMetrics [docs]async chunks size
page load bundle size
History
To update your PR or re-run it, just comment with: |
* [Timelion] Remove kui usage * Fix custom checkbox * Add tim prefix to the new classes * Fix functional test * PR fixes * Fix type * PR comments * Remove the last fontawesome usages * fix timelion links Co-authored-by: Kibana Machine <[email protected]>
* [Timelion] Remove kui usage * Fix custom checkbox * Add tim prefix to the new classes * Fix functional test * PR fixes * Fix type * PR comments * Remove the last fontawesome usages * fix timelion links Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Kibana Machine <[email protected]>
* master: (51 commits) [Discover] Unskip flaky test (elastic#80670) Fix security solution template label (elastic#80754) [Ingest]: ignore 404, check if there are transforms in results. (elastic#80721) Moving loader to logo in header, add a slight 250ms pause (elastic#78879) [Security Solution][Cases] Fix bug with case connectors (elastic#80642) Update known-plugins.asciidoc (elastic#75388) [Lens] Add median operation (elastic#79453) Fix navigateToApp logic when navigating to the current app. (elastic#80809) [Visualizations] Fix bad color mapping with multiple split series (elastic#80801) [ILM] Add esErrorHandler for the new es js client (elastic#80302) Fix codeowners (elastic#80826) skip flaky suite (elastic#79463) [Timelion] Remove kui usage (elastic#80287) [Ingest Manager] add skipIfNoDockerRegistry to package_install_complete test (elastic#80779) [Alerting UI] Disable "Save" button for Alerts with broken Connectors (elastic#80579) Allow the default space to be accessed via `/s/default` (elastic#77109) Add script to identify plugin dependencies for TS project references migration (elastic#80463) [Search] Client side session service (elastic#76889) feat: 🎸 add separator for different context menu groups (elastic#80498) Lazy load reporting (elastic#80492) ...
Summary
Closes #80052.
It removes kui usage from timelion app. It also removes the usage of FontAwesome.
Checklist