Skip to content
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

[Exploratory View] Make series editor header sticky #118223

Merged

Conversation

awahab07
Copy link
Contributor

Fixes #117131

Summary

Make the header actions header on series editor on Exploratory View sticky, because the Apply Changes button scrolls off the container.

Before
https://user-images.githubusercontent.com/2748376/141177629-c859f669-04e6-45f9-b41d-2ccbb295ddf0.mp4

After
https://user-images.githubusercontent.com/2748376/141177679-1c9315f9-06c4-40de-876a-87691836add9.mp4

Screenshots

Light Dark
Screenshot 2021-11-10 at 16 53 11 Screenshot 2021-11-10 at 16 55 02

Checklist

Delete any items that are not applicable to this PR.

- [ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support
- [ ] Documentation was added for features that require explanation or tutorials
- [ ] Unit or functional tests were updated or added to match the most common scenarios

  • Any UI touched in this PR is usable by keyboard only (learn more about keyboard accessibility)
  • Any UI touched in this PR does not create any new axe failures (run axe in browser: FF, Chrome)
    - [ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the docker list
  • This renders correctly on smaller devices using a responsive layout. (You can test this in your browser)
  • This was checked for cross-browser compatibility

For maintainers

- [ ] This was checked for breaking API changes and was labeled appropriately

@awahab07 awahab07 requested a review from a team as a code owner November 10, 2021 19:10
@awahab07 awahab07 changed the title Exploratory View - Make series editor header sticky [Uptime] Exploratory View - Make series editor header sticky Nov 10, 2021
@awahab07 awahab07 added bug Fixes for quality problems that affect the customer experience Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v7.16.0 v8.0.0 labels Nov 10, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/uptime (Team:uptime)

@awahab07 awahab07 changed the title [Uptime] Exploratory View - Make series editor header sticky [Exploratory View] Exploratory View - Make series editor header sticky Nov 10, 2021
@awahab07 awahab07 changed the title [Exploratory View] Exploratory View - Make series editor header sticky [Exploratory View] Make series editor header sticky Nov 10, 2021
@awahab07 awahab07 added release_note:skip Skip the PR/issue when compiling release notes v8.1.0 and removed release_note:fix labels Nov 10, 2021
@awahab07
Copy link
Contributor Author

awahab07 commented Nov 10, 2021

Should wait for #118238 and accommodate the changes.

@awahab07 awahab07 force-pushed the 117131-Exploratory-View-Apply-Changes-Hides branch from ae8c9f9 to c30e6e5 Compare November 10, 2021 23:14
@awahab07
Copy link
Contributor Author

Reset button removed in #118095.

Updated screenshots:

Light Dark
Screenshot 2021-11-11 at 00 05 16 Screenshot 2021-11-11 at 00 03 43

Copy link
Contributor

@shahzad31 shahzad31 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stickiness looks good, i noticed that when user starts scroling it moves slighltly before it get's stickked, i think there is some extra padding on top of row, which we should remove, i think this view is already constrained, we can either remove the padding or decrease it.

@awahab07
Copy link
Contributor Author

Good point @shahzad31. We can remove the top padding, and have the EuiResizableButton on top make for the top padding. The header in this case would have an imbalanced top and bottom paddings, but wouldn't look imbalanced due to the resize button above.

@awahab07 awahab07 force-pushed the 117131-Exploratory-View-Apply-Changes-Hides branch from c30e6e5 to 860217f Compare November 16, 2021 18:12
@elastic elastic deleted a comment from kibanamachine Nov 16, 2021
@awahab07 awahab07 force-pushed the 117131-Exploratory-View-Apply-Changes-Hides branch from 860217f to 5cc3d1a Compare November 16, 2021 21:07
@awahab07
Copy link
Contributor Author

Incorporating #118223 (review) and merging with #117067. Updated video and screenshots:

118223.Section.sticky.header.mov
Light Dark
#118223 Section sticky header dark #118223 Section sticky header light

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
observability 390.3KB 390.7KB +432.0B

History

  • 💛 Build #7144 was flaky 860217f62826e1e90b9893994528ce1452e8d3de
  • 💛 Build #6005 was flaky c30e6e5b4fcbca91230b1f7a3cbccba64bf43233
  • 💚 Build #5926 succeeded ae8c9f9c9395506d824872717e4fbb98165a2d6c

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Copy link
Contributor

@shahzad31 shahzad31 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM !!

@awahab07 awahab07 merged commit ef018bb into elastic:main Nov 17, 2021
@awahab07 awahab07 added the auto-backport Deprecated - use backport:version if exact versions are needed label Nov 17, 2021
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Nov 17, 2021
* Make exploratory view series editor section header sticky when scrolled so that Apply Changes button is always in view. (elastic#118223) (elastic#117131)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Nov 17, 2021
* Make exploratory view series editor section header sticky when scrolled so that Apply Changes button is always in view. (elastic#118223) (elastic#117131)
@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
8.0
7.16

The backport PRs will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Nov 17, 2021
* Make exploratory view series editor section header sticky when scrolled so that Apply Changes button is always in view. (#118223) (#117131)

Co-authored-by: Abdul Wahab Zahid <[email protected]>
kibanamachine added a commit that referenced this pull request Nov 17, 2021
* Make exploratory view series editor section header sticky when scrolled so that Apply Changes button is always in view. (#118223) (#117131)

Co-authored-by: Abdul Wahab Zahid <[email protected]>
@awahab07 awahab07 deleted the 117131-Exploratory-View-Apply-Changes-Hides branch November 18, 2021 12:40
TinLe pushed a commit to TinLe/kibana that referenced this pull request Nov 20, 2021
* Make exploratory view series editor section header sticky when scrolled so that Apply Changes button is always in view. (elastic#118223) (elastic#117131)
dmlemeshko pushed a commit that referenced this pull request Nov 29, 2021
* Make exploratory view series editor section header sticky when scrolled so that Apply Changes button is always in view. (#118223) (#117131)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed bug Fixes for quality problems that affect the customer experience release_note:skip Skip the PR/issue when compiling release notes Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v7.16.0 v8.0.0 v8.1.0
Projects
None yet
5 participants