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

Improve start page when GitHub App not installed #7163

Merged
merged 1 commit into from
Dec 15, 2021

Conversation

laushinka
Copy link
Contributor

@laushinka laushinka commented Dec 10, 2021

Description

Should do as described here:

  1. Project description text updated (this persists also during loading state)
  2. When no account/group/org is selected, the user account and provider is displayed
  3. More text updates for when a GitHub app is not installed
  4. Remove the org configuration text
Screenshot 2021-12-15 at 15 29 46 Screenshot 2021-12-15 at 15 29 30

Related Issue(s)

Resolves #6875

How to test

  1. Go to https://laushinka-start-page-6875.staging.gitpod-dev.com/new
  2. Log in with GitHub
  3. You should see the start page without GitHub app installed

Release Notes

Improved start page when a GitHub app is not installed.

Documentation

@laushinka
Copy link
Contributor Author

laushinka commented Dec 10, 2021

This is still a WIP based on ongoing discussions. Just to make it easier to collect input from you @jldec @gtsiolis.

@jldec
Copy link
Contributor

jldec commented Dec 10, 2021

Thanks @laushinka
I have updated the wording and added another screenshot in the OP of issue #6875 and below

  • Please make the width of this control the same as the current width of https://gitpod.io/new (I don't know why it got narrower in your PR)
  • Fix updated wording (top, in grey area, and at bottom)
  • Add line of text above the dropdown in 2 variants - for app install, and for repo select
  • Put back the "Repository not found? Reconfigure" for repo select on GitHub only - not required for GitLab

from @gtsiolis

  • Sentence case for Learn more
  • Remove the outer border
  • Change Authorize to Configure Gitpod App
  • Check right padding for the avatar

Screenshot 2021-12-10 at 11 46 11

@gtsiolis
Copy link
Contributor

gtsiolis commented Dec 10, 2021

Haven't dived into the changes yet but just seeing the avatar, username, and provider URL in the dropdown element makes this page 10x better. 🤯 🔝

@laushinka
Copy link
Contributor Author

laushinka commented Dec 10, 2021

@jldec Thanks for the review!

Please make the width of this control the same as the current width of https://gitpod.io/new (I don't know why it got narrower in your PR)

What are the width differences?

Fix updated wording (top, in grey area, and at bottom)

For the top, is it Projects allow you to manage prebuilds and workspaces for your repository.?

(Thanks for teaching me this, @gtsiolis 👇🏼 😛)

UPDATED
Screenshot 2021-12-10 at 15 39 32

@jldec
Copy link
Contributor

jldec commented Dec 10, 2021

What are the width differences?

I think what I'm seeing is a width difference between the app install layout and the repo-select layout.
I noticed this particularly when I moved the text Select Git repository from github.com. (change) down to sit right above the dropdown. In one case it fits nicely, in the other it hangs over the sides.

@laushinka
Copy link
Contributor Author

laushinka commented Dec 12, 2021

I think what I'm seeing is a width difference between the app install layout and the repo-select layout.

@jldec Noted. I'll check with @gtsiolis on which card in Figma I should follow, so I can inspect the attributes. And if everything else looks fine, I will wait for George's input so I'll tackle the design improvements altogether 🙏🏽

@gtsiolis
Copy link
Contributor

gtsiolis commented Dec 13, 2021

Go markdown tables[1]! Looking at this now! 👀

Copy link
Contributor

@gtsiolis gtsiolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work, @laushinka! 🌟

Left some comments below regarding UX changes. Current changes already improve this area of the product. Feel free to ingore any of these and merge for this iteration. ➿

Re-posting from https://github.com/gitpod-io/gitpod/pull/7163/files#issuecomment-990959643:

Haven't dived into the changes yet but just seeing the avatar, username, and provider URL in the dropdown element makes this page 10x better. 🤯 🔝

Re-apporving to unblock merging but holding in case you'd resolve any of the comments below.

/hold

components/dashboard/src/projects/NewProject.tsx Outdated Show resolved Hide resolved
components/dashboard/src/projects/NewProject.tsx Outdated Show resolved Hide resolved
components/dashboard/src/projects/NewProject.tsx Outdated Show resolved Hide resolved
components/dashboard/src/projects/NewProject.tsx Outdated Show resolved Hide resolved
components/dashboard/src/projects/NewProject.tsx Outdated Show resolved Hide resolved
components/dashboard/src/projects/NewProject.tsx Outdated Show resolved Hide resolved
components/dashboard/src/projects/NewProject.tsx Outdated Show resolved Hide resolved
components/dashboard/src/projects/NewProject.tsx Outdated Show resolved Hide resolved
@roboquat
Copy link
Contributor

LGTM label has been added.

Git tree hash: 5fda46f4ce600dfb6129bb83e92e1b1f1ae46bdf

@roboquat roboquat added approved and removed lgtm labels Dec 13, 2021
@laushinka laushinka force-pushed the laushinka/start-page-6875 branch 4 times, most recently from bf91b88 to 504fee1 Compare December 14, 2021 11:29
@laushinka
Copy link
Contributor Author

laushinka commented Dec 14, 2021

/werft run

👍 started the job as gitpod-build-laushinka-start-page-6875.13

@laushinka
Copy link
Contributor Author

laushinka commented Dec 14, 2021

/werft run

👍 started the job as gitpod-build-laushinka-start-page-6875.14

@gtsiolis
Copy link
Contributor

gtsiolis commented Dec 14, 2021

It looks straightforward and I don't mind working on it here, but the issue says TBD so it's probably better to wait until we are aligned?

Let's keep this out of the scope for now. Only posted this here in case this PR made any changes to that step (page), too. ➿

)}
<div>
<div className="text-gray-500 text-center w-96 mx-8">
Repository not found? <a href="javascript:void(0)" onClick={e => reconfigure()} className="text-gray-400 underline underline-thickness-thin underline-offset-small hover:text-gray-600">Reconfigure</a>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This text should only appear when with the repositorylist is showing. It is not required when we prompt for app authorization.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And only for GitHub, right? Or all providers?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes - GitHub only.

Copy link
Contributor

@jankeromnes jankeromnes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many thanks @laushinka! As mentioned on Slack, this is so much nicer now 😍 ✨

Also, the code looks great to me. 🎯 Many thanks for caring about readability. 💯

I've added a few thoughts, but they're entirely optional or out of scope, so please feel free to read them later. 🌴

Approving because the code can be merged as is and works flawlessly.

/lgtm

components/dashboard/src/projects/NewProject.tsx Outdated Show resolved Hide resolved
components/dashboard/src/projects/NewProject.tsx Outdated Show resolved Hide resolved
@roboquat
Copy link
Contributor

LGTM label has been added.

Git tree hash: a2decbc7e42bfaf6c5af7e1f77989fc5f671d4c9

@laushinka
Copy link
Contributor Author

laushinka commented Dec 15, 2021

@jankeromnes Pushed improvements for the code 🙌🏽

@laushinka
Copy link
Contributor Author

Currently the preview env is broken as I rebased (probably should've held off on that) while we have an ongoing problem.

@laushinka laushinka force-pushed the laushinka/start-page-6875 branch from 4518f2a to cee6ae0 Compare December 15, 2021 12:38
@laushinka
Copy link
Contributor Author

Preview env all good now.

@jldec
Copy link
Contributor

jldec commented Dec 15, 2021

/lgtm
Nice result - thanks @laushinka .

@roboquat
Copy link
Contributor

LGTM label has been added.

Git tree hash: bc4371704dd9c17a248415caf41c914d484c9323

@roboquat
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gtsiolis, jankeromnes, jldec

Associated issue: #6875

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jldec
Copy link
Contributor

jldec commented Dec 15, 2021

/unhold

@roboquat roboquat merged commit a86d641 into main Dec 15, 2021
@roboquat roboquat deleted the laushinka/start-page-6875 branch December 15, 2021 15:58
@roboquat roboquat added deployed: webapp Meta team change is running in production deployed Change is completely running in production labels Dec 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved deployed: webapp Meta team change is running in production deployed Change is completely running in production release-note size/L team: webapp Issue belongs to the WebApp team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve design of /new project start-page for onboarding flow
5 participants