Closed sureshms closed 7 years ago
@sureshms @harshach the text inside the text box is just a placeholder and not text value. And so, user cannot copy or edit that text. Do we want to have the complete editable text and let the user change in it?
We should look at this when we are done with P0 items. But my answer is yes. Currently you have a example text. I need to look at it to type the ambari URL manually. This will be a much better experience. @harshach @shahsank3t
@shahsank3t another annoying part with this is, if I enter wrong password or made a slight mistake in my url we reset the URL text box. I don't think we should do that this will allow user to re-enter password and correct small mistake in the URL. So if there is an error occurs lets keep the user entered URL as it is.
@shahsank3t and @harshach, in build 362, I see this issue is fixed. I am closing this issue.
Currently ambari URL suggested text in the text box is not editable. It cannot also be copied to change it in a separate editor. Let's make that text editable.
The URL shown in the text box should have "ambari_host:port" and "CLUSTER_NAME" styled differently to help user understand what needs to be changed. Bold or slight color change, either works.
Also when I missed "clusters" in the URL, I just get a generic error, "Not a valid URL". Instead, we can throw an error that says, "Not a valid Ambari URL. Please follow the convention - http://ambari_host:port/api/v1/clusters/CLUSTER_NAME