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

Change UI for gitlab import so select button does not jump out of screen #113

Conversation

svankayalapati-atlassian
Copy link
Contributor

Description

I moved the selected repos message to the bottom in line with the “Load More” and “Select/Cancel” buttons. I adjusted the height of the table to 65vh (not 70vh) since the header “Select repositories” is slightly bigger than how it is for the Bitbucket import page.

Demo: https://www.loom.com/share/fa31cbfed1144b6180fc7d6068318312?sid=6819833e-dc33-49dc-ae08-d8b41dd21bb7

Checklist

Please ensure that each of these items has been addressed:

  • I have tested these changes in my local environment
  • I have added/modified tests as applicable to cover these changes
  • (Atlassian contributors only) I have removed any Atlassian-internal changes including internal modules, references to internal tickets, and internal wiki links

@ttadej-atlassian
Copy link

My feedback for this PR is pretty much the same as the Bitbucket one

<LoadingButton
appearance='primary'
isDisabled={selectedProjects.length === 0}
onClick={() => handleNavigateToScreen()}

Choose a reason for hiding this comment

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

nit; this and the other click handler can be onClick={handleNavigateToScreen}

this is a good habit because it doesn't create an anonymous function on every render

…-button-does-not-jump-out-of-screen

Signed-off-by: svankayalapati-atlassian <[email protected]>
…-button-does-not-jump-out-of-screen

Signed-off-by: svankayalapati-atlassian <[email protected]>
@svankayalapati-atlassian svankayalapati-atlassian merged commit a605562 into main Sep 12, 2024
5 checks passed
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