-
Notifications
You must be signed in to change notification settings - Fork 176
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
[Release] Stage to Main #3411
[Release] Stage to Main #3411
Changes from 8 commits
a33a005
e4ad9d4
a0bc4a5
01ffecc
cfa308b
eefbd36
f472180
c36fb32
29d77a6
a2443c0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
.locui-create.missing-details { | ||
margin: 0 auto; | ||
margin-top: 10vh; | ||
max-width: 60%; | ||
border-radius: 10px; | ||
border: 10px solid var(--color-gray-200); | ||
padding: 10px 30px 30px; | ||
} | ||
|
||
.locui-create .goto-step ul { | ||
list-style-type: disc; | ||
} | ||
|
||
.locui-create .goto-step p { | ||
margin: 0; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { createTag } from '../../utils/utils.js'; | ||
|
||
function makeGotoSteps(link, linkText) { | ||
const goToAnchor = createTag('a', { href: link, target: '_blank', rel: 'noopener noreferrer' }, linkText); | ||
return goToAnchor; | ||
} | ||
|
||
export default function init(el) { | ||
el.classList.add('missing-details'); | ||
const heading = createTag('h2', null, 'Missing project details'); | ||
const paragraph = createTag('p', null, 'The project details were removed after you logged in. To resolve this:'); | ||
const steps = createTag('ol', null); | ||
const gotoSteps = createTag('ul', null); | ||
const gotoURls = [{ link: 'https://milostudio.adobe.com', linkText: 'Production' }, { link: 'https://milostudio.stage.adobe.com', linkText: 'Stage' }, { link: 'https://milostudio.dev.adobe.com', linkText: 'Development' }]; | ||
const goToContainer = createTag('div', { class: 'goto-step' }); | ||
gotoURls.forEach((gotoUrl) => gotoSteps.append(createTag('li', null, makeGotoSteps(gotoUrl.link, gotoUrl.linkText)))); | ||
goToContainer.append(createTag('p', null, 'Please navigate to the respective MiloStudio environment:')); | ||
goToContainer.append(gotoSteps); | ||
const stepsList = ['Close this window or tab.', goToContainer, 'Select the tenant.', 'Click on Localization.', 'Click on "Add New Project".']; | ||
stepsList.forEach((step) => steps.append(createTag('li', null, step))); | ||
el.append(heading, paragraph, steps); | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
Large diffs are not rendered by default.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
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.
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.