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

ARC-916 - GHE UI: Connect GitHub Enterprise Server page #1252

Merged
merged 23 commits into from
Jun 14, 2022
Merged

Conversation

krazziekay
Copy link
Collaborator

@krazziekay krazziekay commented Jun 9, 2022

Rationale

  • This PR includes the addition of a new view where users can add the URL for their GHE server.

Changes

  • Added a new view hbs, with its respective js and css file

  • The view has an empty field and a disabled button by default.
    Screen Shot 2022-06-09 at 3 46 48 pm

  • The button is enabled once the input field has some value.
    Screen Shot 2022-06-09 at 3 47 14 pm

  • For any invalid URLs typed, the error message is displayed once you click on the button.
    Screen Shot 2022-06-09 at 4 09 14 pm
    Screen Shot 2022-06-09 at 4 09 54 pm

  • For a valid URL typed, clicking on the button will simply change the text on the button to a spinner. (Nothing will happen for now)
    Screen Shot 2022-06-09 at 3 47 33 pm

Whats not done

  • URLs for the link Learn More
  • Tooltips for the QuestionMark icon.
  • The action for the Next button.
  • The links for the left arrow and the Help link.
  • The flow when user types in a GitHub Cloud url, i.e. github.com

@krazziekay krazziekay self-assigned this Jun 9, 2022
static/js/jira-connect-ghe.js Show resolved Hide resolved
static/js/jira-connect-ghe.js Outdated Show resolved Hide resolved
static/js/jira-connect-ghe.js Show resolved Hide resolved
static/js/jira-connect-ghe.js Outdated Show resolved Hide resolved
static/css/jira-connect-ghe.css Outdated Show resolved Hide resolved
static/css/jira-connect-ghe.css Outdated Show resolved Hide resolved
static/css/jira-connect-ghe.css Outdated Show resolved Hide resolved
static/js/jira-connect-ghe.js Show resolved Hide resolved
static/js/jira-connect-ghe.js Outdated Show resolved Hide resolved
static/js/jira-connect-ghe.js Show resolved Hide resolved
static/js/jira-connect-ghe.js Outdated Show resolved Hide resolved
views/jira-connect-ghe.hbs Outdated Show resolved Hide resolved
views/jira-connect-ghe.hbs Outdated Show resolved Hide resolved
@krazziekay krazziekay marked this pull request as ready for review June 10, 2022 00:24
@krazziekay krazziekay requested a review from a team as a code owner June 10, 2022 00:24
- Px converted to em and rem
- Type annotation updated for `checkValidUrl`
- Class names updated
- target added for a links
@rachellerathbone
Copy link
Contributor

I just pulled your branch to have a look at the UI locally and the font looks really small. Remember, when working in the iframe you can't use the exact measurements that you see in Figma because we're working with a smaller real estate thanks to the left panel and navigation. Makes it hard to figure out the exact measurements but you should be able to look at the design and your rendering and not really see any differences. The font in the UI is noticeably smaller.

@krazziekay
Copy link
Collaborator Author

This PR was accidentally merged before testing in staging. So has been reverted.
The new version of this PR was created here: #1267.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants