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

DC Milo 0.2438 #810

Merged
merged 71 commits into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
5ec1a63
Rough UI nonprofit
st-angelo-adobe Aug 27, 2024
cfe4535
test sandbox init
st-angelo-adobe Aug 28, 2024
367eb3a
stepper changes
st-angelo-adobe Aug 28, 2024
0a49c9f
font name
joaquinrivero Aug 30, 2024
b9e060f
Addging, to #CID Adobe Clean
joaquinrivero Sep 4, 2024
c862b9b
Override general divs
joaquinrivero Sep 4, 2024
0d38819
Merge branch 'stage' into heading-font
joaquinrivero Sep 4, 2024
842ddb0
optimizing CSS selectors for #CID elements
joaquinrivero Sep 4, 2024
bcd0a50
Linting fix
joaquinrivero Sep 4, 2024
199657d
Use device type in EW
TsayAdobe Sep 4, 2024
e4a65d2
Update headers
TsayAdobe Sep 4, 2024
51bc0ed
Add teste
TsayAdobe Sep 5, 2024
f40e52b
Update unity.js
aishwaryamathuria Sep 9, 2024
4a1aa48
Update unity.css
aishwaryamathuria Sep 9, 2024
0901696
Update unity.js
aishwaryamathuria Sep 9, 2024
ac9c508
Update unity.js
aishwaryamathuria Sep 9, 2024
3ac660b
MWPW-158031: Unit tests and block fixes
st-angelo-adobe Sep 9, 2024
79d85e9
Update utils.js
aishwaryamathuria Sep 9, 2024
4d21814
implemented integration test for table block
saragajic11 Sep 9, 2024
2916da0
Merge branch 'stage' into heading-font
joaquinrivero Sep 9, 2024
69fc267
Fix DRY
TsayAdobe Sep 9, 2024
7210c12
Skip tests
TsayAdobe Sep 10, 2024
427fdc1
Fix unit tests
TsayAdobe Sep 10, 2024
50b6069
Merge pull request #797 from adobecom/testfix
TsayAdobe Sep 10, 2024
f899819
Merge branch 'stage' into ewmobile
TsayAdobe Sep 10, 2024
ab9ab8b
merged with stage
st-angelo-adobe Sep 11, 2024
761ca97
test adjustments
st-angelo-adobe Sep 11, 2024
dff25a2
Merge pull request #792 from adobecom/MWPW-158031
st-angelo-adobe Sep 11, 2024
2d7a325
MWPW-158176: Production URL and cleanup
st-angelo-adobe Sep 11, 2024
c926fbb
Merge branch 'stage' into unityblock
Blainegunn Sep 11, 2024
59f7ed8
Merge pull request #791 from adobecom/unityblock
Blainegunn Sep 11, 2024
8678760
Merge branch 'stage' into heading-font
Blainegunn Sep 11, 2024
c9db7d4
Merge pull request #793 from adobecom/mwpw-147553-table-block-integra…
Blainegunn Sep 11, 2024
d50dff9
MWPW-157982
Blainegunn Sep 11, 2024
33cc867
Parallel fetch all resources
TsayAdobe Sep 11, 2024
8e3e2e0
Merge branch 'stage' into heading-font
peller Sep 12, 2024
c502e91
Merge branch 'stage' into ewmobile
Blainegunn Sep 12, 2024
76ebf4f
Merge pull request #785 from adobecom/ewmobile
Blainegunn Sep 12, 2024
39cdda6
Merge branch 'stage' into heading-font
Blainegunn Sep 12, 2024
c1ba66d
Merge pull request #781 from adobecom/heading-font
Blainegunn Sep 12, 2024
b27658d
Implemented redirection for signed in users for verb-widget. Code ref…
saragajic11 Sep 13, 2024
4664eaf
Merge branch 'stage' into MWPW-157982
Blainegunn Sep 13, 2024
0d6298f
Merge pull request #799 from adobecom/MWPW-157982
Blainegunn Sep 13, 2024
c38f7ee
follow up
Blainegunn Sep 13, 2024
24d9e6d
Merge pull request #801 from adobecom/MWPW-157982_
Blainegunn Sep 13, 2024
55b9e14
MWPW-157166
Blainegunn Sep 13, 2024
2e025a7
MWPW-157166
Blainegunn Sep 13, 2024
6bc2369
Merge branch 'stage' into MWPW-157166
Blainegunn Sep 13, 2024
f8063d9
Api call changes and added locale metadata
st-angelo-adobe Sep 16, 2024
8e4d5ed
added check for isOldBrowser at the top of init function
saragajic11 Sep 16, 2024
9ade82b
Merge branch 'stage' into mwpw-154530-redirect-sign-in-users-verb-widget
saragajic11 Sep 16, 2024
ed5d2b4
added chat-pdf-student to verb redirect map
saragajic11 Sep 16, 2024
c5734f0
Merge pull request #804 from adobecom/MWPW-158176
Blainegunn Sep 16, 2024
5ab1856
Merge pull request #802 from adobecom/MWPW-157166
Blainegunn Sep 16, 2024
e0cb75f
Update Table Integration test baseline images
tedAir Sep 16, 2024
7bc33cc
Merge branch 'stage' into mwpw-154530-redirect-sign-in-users-verb-widget
Blainegunn Sep 16, 2024
ea9e421
Merge pull request #800 from adobecom/mwpw-154530-redirect-sign-in-us…
Blainegunn Sep 16, 2024
ab41d65
log cause.message, if present
peller Sep 16, 2024
0862d85
Merge branch 'stage' into dc-hosted-error-detail
peller Sep 16, 2024
f681555
review suggestion
peller Sep 17, 2024
25043e3
eslint ignore
peller Sep 17, 2024
925c1f9
Integration with the nonprofit service
st-angelo-adobe Sep 17, 2024
73d3d10
removed dump file
st-angelo-adobe Sep 17, 2024
e66b687
Merge pull request #808 from adobecom/MWPW-157036
Blainegunn Sep 17, 2024
e9809ee
Merge branch 'stage' into MWPW-158476
tedAir Sep 17, 2024
050e7cc
Reducing sample rate for CSP
joaquinrivero Sep 17, 2024
55154ce
Merge pull request #809 from adobecom/MWPW-158520
Blainegunn Sep 17, 2024
fca00e9
Merge branch 'stage' into dc-hosted-error-detail
peller Sep 17, 2024
e14e801
Merge pull request #807 from adobecom/dc-hosted-error-detail
Blainegunn Sep 17, 2024
c913d7d
Merge branch 'stage' into MWPW-158476
tedAir Sep 17, 2024
5b63036
Merge pull request #806 from adobecom/MWPW-158476
tedAir Sep 17, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions acrobat/blocks/dc-converter-widget/dc-converter-widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,9 @@ export default async function init(element) {
dropZone.innerHTML = '<img src="/acrobat/img/icons/error.svg"><p>We apologize for the inconvenience. We are working hard to make the service available. Please check back shortly.</p>';
document.querySelector('div[class*="DropZoneFooter__dropzoneFooter"]').innerHTML = '';
}
const { message, name, type } = err.detail?.wrappedException || {};
const info = `DC Widget failed. type=${type} name=${name} message=${message}`;
const { cause, message, name, type } = err.detail?.wrappedException || {};
// eslint-disable-next-line prefer-template
const info = `DC Widget failed. type=${type} name=${name} message=${message}` + (cause ? ` cause.message=${cause.message}` : '');
window.lana?.log(info, lanaOptions);
});
}
21 changes: 1 addition & 20 deletions acrobat/blocks/mobile-widget/mobile-widget.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import mobileAnalytics from '../../scripts/alloy/mobile-widget.js';
import mobileAnalyticsShown from '../../scripts/alloy/mobile-widget-shown.js';
import { getEnv, isOldBrowser } from '../../scripts/utils.js';

const verbRedirMap = {
createpdf: 'createpdf',
Expand Down Expand Up @@ -31,26 +32,6 @@ const verbRedirMapAnalytics = {
const EOLBrowserPage = 'https://acrobat.adobe.com/home/index-browser-eol.html';
const fallBack = 'https://www.adobe.com/go/acrobat-overview';

function getEnv() {
const prodHosts = ['www.adobe.com', 'sign.ing', 'edit.ing'];
const stageHosts = [
'stage--dc--adobecom.hlx.page', 'main--dc--adobecom.hlx.page',
'stage--dc--adobecom.hlx.live', 'main--dc--adobecom.hlx.live',
'www.stage.adobe.com',
];

if (prodHosts.includes(window.location.hostname)) return 'prod';
if (stageHosts.includes(window.location.hostname)) return 'stage';
return 'dev';
}

function isOldBrowser() {
const { name, version } = window?.browser || {};
return (
name === 'Internet Explorer' || (name === 'Microsoft Edge' && (!version || version.split('.')[0] < 86)) || (name === 'Safari' && version.split('.')[0] < 14)
);
}

function redDir(verb) {
if (isOldBrowser()) {
window.location.href = EOLBrowserPage;
Expand Down
Loading
Loading