Syndesis: Data tab needs a Tech Preview label

Created on 3 Jul 2019  路  16Comments  路  Source: syndesisio/syndesis

See also https://issues.jboss.org/browse/ENTESB-11445

This is a...


[ ] Feature request
[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  
[ ] Documentation issue or request

Description

The Data Virtualization part of Syndesis is Tech Preview in this release, but this is not reflected anywhere in the UI. I suggest a Tech Preview badge on the menu item itself, or in the Data Virtualization page header:

dv-tp

cabug closemigrated prip1 sourcqe zenhubacklog

All 16 comments

@amysueg @dongniwang Can we get a UX suggestion for this? We need need it quickly ...

Design: https://docs.google.com/presentation/d/1Khs8lJV9X3Hm80rOjcMBuytxYGpMFTMNB9huMLjSdOQ/edit#slide=id.g5ba6289e41_0_244
@lboehling @dongniwang @seanforyou23 Thoughts?

I think the second option with the box around it sticks out more which is kinda what we want. With just the text I find it kinda blends in with the page title and I don't really "see" it as readily.

I agree @gashcrumb
Let's go ahead with this approach @mcoker
We can always tweak if necessary but at least we'll have a way to call out that the feature is Tech Preview.

@gashcrumb I'm not sure how to add it to i18nTitle on <SimplePageHeader>, or if that is the best approach?

The markup I used for that was below, where the BEM block name virtualizations-page in .virtualizations-page__tech-preview should just represent the component this is added to. This could go inside of the page header <h1 class="pf-c-title pf-m-2xl">...</h1>

<span class="virtualizations-page__tech-preview" style="
    font-size: 14px;
    margin-left: 16px;
    border: 1px solid black;
    padding: 3px 4px;
">Technical Preview <i class="pficon pficon-info"></i></span>

Also the screenshot in the deck and the code above aligns the TP text with the heading text, which means the bottom border of the TP text extends below the heading text.

Screen Shot 2019-07-05 at 1 03 50 PM

Here's what it would look like if we applied display: flex; align-items: center; to the <h1> that wraps the heading and TP text, to vertically align the TP box/text centered relative to the heading text.

Screen Shot 2019-07-05 at 1 05 56 PM

Do you want to make this update, or could you give me a pointer on how to make this update? FWIW, my local server doesn't have any data either. I get the "Something is wrong" empty state display with error Error: Failed to fetch for integrations, connections, etc.

@amysueg do you have a preference in how that displays?

@mcoker Great work. I prefer the second screenshot, looks better aligned to my eye. Thank you!

@mcoker Can you get this into master today?

@mcoker I think one option would be to add a flag isTechPreview to the SimpleHeader and change its JSX so to render what you need to be rendered when set.

@riccardo-forina thanks! I'll give that a shot.

@mcoker any update on this?

@heiko-braun I submitted a PR yesterday but the build was failing. Looks like there was a fix pushed to fix the build, so I rebased and it's rebuilding now. Hopefully we can merge this when the build finishes. https://github.com/syndesisio/syndesis/pull/6091

thanks, I didn't notice that.

@heiko-braun the build passed, just needs to be merged https://github.com/syndesisio/syndesis/pull/6091

The Technology Preview badge only shows up when Data Virtualization is enabled in the syndesis-ui-config config map:

2019-07-16-124755_sel_grim.png

It does not show up when Data Virtualization is disabled (which is the default on a newly installed syndesis):
2019-07-16-124823_sel_grim.png

It does not show up when Data Virtualization is disabled

This does no harm. I am lowering the prio on this one.

Was this page helpful?
0 / 5 - 0 ratings