From d47afacb6fd5eb956ece872666bd5bfb5e97058f Mon Sep 17 00:00:00 2001 From: Chris Goller Date: Wed, 4 Sep 2019 14:42:01 -0500 Subject: [PATCH] fix(onboarding): remove fancy scrollbar that hides content (#14931) e2e tests are failing because the fancyscroll bar component hides the admin step during certain points in onboarding. We were able to reproduce when the form in the admin step had been marked as valid. The use of the scrollbar in the setting seemed unneeded as it could be rendered in a quite small window. Therefore, we removed the scrollbar altogether for now. Co-authored-by: Christopher Henn --- CHANGELOG.md | 12 +- ui/src/onboarding/components/AdminStep.tsx | 243 +++++++------ .../__snapshots__/AdminStep.test.tsx.snap | 334 +++++++++--------- 3 files changed, 293 insertions(+), 296 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1266ae6523..35701527f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,14 @@ -## v2.0.0-alpha.17 [unreleased] +## v2.0.0-alpha.18 [unreleased] + +### Features + +### UI Improvements + +### Bug Fixes +1. [14931](https://github.com/influxdata/influxdb/pull/14931): Remove scrollbars blocking onboarding UI step. + + +## v2.0.0-alpha.17 [2019-08-14] ### Features 1. [14809](https://github.com/influxdata/influxdb/pull/14809): Add task middleware's for checks and notifications diff --git a/ui/src/onboarding/components/AdminStep.tsx b/ui/src/onboarding/components/AdminStep.tsx index db784d471a..a4a6c565c2 100644 --- a/ui/src/onboarding/components/AdminStep.tsx +++ b/ui/src/onboarding/components/AdminStep.tsx @@ -6,7 +6,6 @@ import {getDeep} from 'src/utils/wrappers' import {Form, Input, Grid} from '@influxdata/clockface' import QuestionMarkTooltip from 'src/shared/components/question_mark_tooltip/QuestionMarkTooltip' import OnboardingButtons from 'src/onboarding/components/OnboardingButtons' -import FancyScrollbar from 'src/shared/components/fancy_scrollbar/FancyScrollbar' // Actions import {setupAdmin} from 'src/onboarding/actions' @@ -72,131 +71,129 @@ class AdminStep extends PureComponent {
- -
-

- Setup Initial User -

-
- You will be able to create additional Users, Buckets and - Organizations later -
- - - +

+ Setup Initial User +

+
+ You will be able to create additional Users, Buckets and + Organizations later +
+ + + + + + + + + + + + + + - - - - - + + + + - - - - - - - - - - + + + + - - - - - - - - - - - -
-
+ + + + + +
- -
-

+

+ You will be able to create additional Users, Buckets and Organizations later +
+ + - Setup Initial User - -
- You will be able to create additional Users, Buckets and Organizations later -
- - - - - - - - + + + + - - - - - + + + + - - - - - + + + + - - - - - + + + + - - - - - - -
-
+ + + + + +