-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Add additional route settings to UI #5997
Conversation
I'm building on the work already done by @jcantrill for file upload / certificates. |
I definitely like consistently having the fields below the label, it feels a little weird with the selects to the right and all the other inputs beneath. I do like select dropdowns that have the same look across all browsers. How's the accessbility on the bootstrap ones? Are they still actually tags? |
@jwforres It's a real select, although it doesn't actually look consistent across browsers... Not a fan of how it looks in Firefox. |
9aac434
to
dc72b64
Compare
Hmm if its not consistently styled, is there any benefit we are getting On Mon, Nov 23, 2015 at 8:29 AM, Sam Padgett notifications@github.com
|
It's similarly sized to the other inputs and looks OK positioned under the label. I think it makes the form look more consistent. |
I feel like our default should be to use the bootstrap/patternfly classes unless there's a good reason not to. |
So just following up here on the discussion we had in person. So we will go with the bootstrap style for the selects. We will add the ability to add routes from 1) a service page (service will be pre-set in the route's to field), 2) from the overview if the service does not have a route already, and 3) from the Routes page (we'll give you a list of services to route to, should we make this a typeahead list?) What we will not attempt to do now is routes that don't route to a service. |
00bfeee
to
5caae01
Compare
@Kargakis FYI |
20df6aa
to
19d1ddc
Compare
<!-- Use shorter Termination title for table-mobile to avoid overlapping text. --> | ||
<td data-title="Termination"> | ||
{{route.spec.tls.termination}} | ||
<span ng-if="!route.spce.tls.termination"> </span> |
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.
typo on spec
One other thought, in the ports dropdown, should we be showing the name in addition to the port number when its a named port? |
Hm, I think it will be used since that is the only value we have for |
ah yep, was thinking of how the port stuff is structured on the pod template On Tue, Dec 1, 2015 at 3:45 PM, Sam Padgett notifications@github.com
|
LGTM, can merge after the rebase against ben's stuff |
Since @Kargakis just went through an issue with Couldn't really tell where it was pulling the ports to choose from so I thought I'd mention it just in case. @Kargakis has an upstream PR that is extracting the utility he proposed to use in this origin pr https://github.com/openshift/origin/pull/5578/files#diff-ec75dfa091437a7b426570ffde9d4cb4 |
Thanks @pweil-. We're using the endpoint port. |
👍 👍 And also, the screenshots look great! |
@jwforres Rebased. No real changes except picking up the ProjectsService rename and resolving some minor conflicts. |
Evaluated for origin test up to 318b0b5 |
[merge] |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/4219/) (Image: devenv-rhel7_2858) |
Evaluated for origin merge up to 318b0b5 |
continuous-integration/openshift-jenkins/test FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/7592/) |
[merge] |
So i know this got merged in, but I will leave my 2c here as I did last night at MeetUp at the Tower. In just about all my work flows I find myself needing to do multiple routes (say http/https) at the same time. It would be nice if you could, queue these up and add on another route and have all of the ones created in one swoop rather than having to go in and out of the creation process multiple times |
In your workflow are you creating routes primarily during the "Add to On Wed, Dec 2, 2015 at 2:24 PM, Boris Kurktchiev notifications@github.com
|
@ebalsumgo Thanks for your feedback. For the http/https case specifically, is there a reason you don't create one edge route that allows insecure traffic? |
@jwforres @spadgett it wasn't working in 3.0.2 (http/https) so thats why I got in the habit of creating multiple routes I suppose, but yes the secure/nonsecure for sure should be fine (though based on the mockup I saw last night, I would say it needs to be clearer what enabling EDGE termination actually accomplishes for you). for @jwforres specific question, I would love to have it exposed during the Add to Project phase as it would make it the easiest/simplest for my user base (read non tech savvy people). |
Ok i opened an issue, we can continue discussion there #6174 |
https://trello.com/c/WSVk6KQk
Fixes #6093
TODO:
oc expose
spec
typosRouting section during create flow:
After clicking "Show options for secure routes":
Fields are enabled and disabled depending on termination type. (Selecting Passthrough disables the Path field, etc.).
Add route from overview:
Add route from service page:
Create route from routes page:
Standalone add route page:
/cc @jwforres @jcantrill