-
Notifications
You must be signed in to change notification settings - Fork 193
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-1390 manual vs auto app creation #1239
Merged
Merged
Changes from 13 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
48e2dd8
wip - server or cloud screen
rachellerathbone d01a4c1
update icons
rachellerathbone d93f015
complete states for gh version screen
rachellerathbone a6f111e
add semi colon
rachellerathbone ef18145
address pr comments
rachellerathbone fb1281b
Merge branch 'main' into ARC-1387-cloud-or-server-pg
rachellerathbone 8b345b3
Update jira-select-github-version.hbs
rachellerathbone fd7efc2
wip
rachellerathbone 9930fb0
update addclass
rachellerathbone 6de7a65
Merge branch 'ARC-1387-cloud-or-server-pg' of github.com:atlassian/gi…
rachellerathbone d5e933c
remove conditional
rachellerathbone ccd463e
wip
rachellerathbone d716ba7
wip
rachellerathbone 3a08990
wip
rachellerathbone 19fac04
address pr comments
rachellerathbone 19e7ac2
Merge branch 'main' into ARC-1387-cloud-or-server-pg
rachellerathbone 72349b9
Merge branch 'main' into ARC-1390-manual-vs-auto
rachellerathbone c09cca8
finish new page
rachellerathbone cebe49a
merge main and resolve conflicts
rachellerathbone 77efac5
remove data type
rachellerathbone File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
.jiraSelectGitHubVersion__content { | ||
margin: auto; | ||
max-width: 840px; | ||
} | ||
|
||
.jiraSelectGitHubVersion__content { | ||
margin-top: 4em; | ||
} | ||
|
||
.jiraSelectGitHubVersion__content__title { | ||
color: #42526E; | ||
margin-bottom: 3em; | ||
text-align: center; | ||
} | ||
|
||
.jiraSelectGitHubVersion__options__container { | ||
background: #FAFBFC; | ||
border-radius: 12px; | ||
padding: 1.5em; | ||
} | ||
|
||
.jiraSelectGitHubVersion__options__prompt { | ||
color: #5E6C84; | ||
font-size: 1.2rem; | ||
margin-bottom: 1em; | ||
} | ||
|
||
.jiraSelectGitHubVersion__options__cardsContainer { | ||
border-radius: 10px; | ||
display: flex; | ||
justify-content: space-between; | ||
text-align: center; | ||
} | ||
|
||
.jiraSelectGitHubVersion__options__card { | ||
background: #fff; | ||
border-radius: 10px; | ||
box-shadow: 0 1px 1px rgba(9, 30, 66, 0.25), 0 0 1px rgba(9, 30, 66, 0.31); | ||
display: flex; | ||
flex-direction: column; | ||
max-width: 330px; | ||
padding: 2em; | ||
} | ||
|
||
.jiraSelectGitHubVersion__options__card:hover { | ||
box-shadow: 0 3px 5px rgba(9, 30, 66, 0.2), 0 0 1px rgba(9, 30, 66, 0.31); | ||
cursor: pointer; | ||
} | ||
|
||
.jiraSelectGitHubVersion__options__card__title { | ||
color: #253858; | ||
font-size: 1.3rem; | ||
} | ||
|
||
.jiraSelectGitHubVersion__options__card__img.cloud { | ||
margin: 2em auto; | ||
} | ||
|
||
.jiraSelectGitHubVersion__options__card__img.server { | ||
transform: scale(0.7); | ||
margin: 0.5em auto; | ||
} | ||
|
||
.jiraSelectGitHubVersion__options__card__info { | ||
color: #5E6C84; | ||
font-size: 1.15rem; | ||
line-height: 1.5; | ||
} | ||
|
||
.jiraSelectGitHubVersion__actionBtn__container { | ||
margin-top: 3em; | ||
text-align: center; | ||
} | ||
|
||
.jiraSelectGitHubVersion__actionBtn { | ||
font-size: 1.2rem; | ||
} | ||
|
||
.selected { | ||
border: 4px solid #0065FF; | ||
} | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
$(".optionsCard").click(function (event) { | ||
event.preventDefault(); | ||
const selectedVersion = $(event.target).data("type"); | ||
|
||
$(".optionsCard").removeClass("selected"); | ||
$(`.optionsCard.${selectedVersion}`).addClass("selected"); | ||
$(".optionBtn").prop("disabled", false).attr("aria-disabled", "false").addClass("aui-button-primary"); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Okay this is really minor. I am happy with the code as it it. It is just suggestions:
It seems we don't need the
.data("type")
here. We can just do the following:So @mboudreau opinions? You mentioned the "data('type')" yesterday, I want to ask your thoughts.
for this, we could replace the
$(event.target).closet('.optionsCard').addClass('selected');
to
$(event.currentTarget).addClass('selected');