Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
5dee514
[LOC] Milostudio stage to milostudio (#3611)
nkthakur48 Feb 3, 2025
ba2542e
[LOC] Milostudio stage to milostudio (#3646)
nkthakur48 Feb 7, 2025
051aaad
[DA] Milostudio stage to milostudio (#3665)
nkthakur48 Feb 11, 2025
8f96dc9
[DA] Milostudio stage to milostudio (#3679)
nkthakur48 Feb 12, 2025
9e69af0
[DA] Milostudio stage to milostudio (#3689)
nkthakur48 Feb 14, 2025
e49c1c8
[LOC] Milostudio stage to milostudio (#3697)
nkthakur48 Feb 18, 2025
8125565
DA] Milostudio stage to milostudio (#3713)
nkthakur48 Feb 20, 2025
5971a7d
[LOC][DA] Milostudio stage to milostudio (#3812)
nkthakur48 Mar 13, 2025
21fff6f
[DA] Milostudio stage to milostudio (#3827)
nkthakur48 Mar 17, 2025
f62464a
[DA] Milostudio stage to milostudio (#3866)
nkthakur48 Mar 26, 2025
ebf1b81
[DA] Updated Build for prod endpoints
maagrawal16 Apr 1, 2025
8dfaab7
[DA] Updated Build for prod endpoints (#3887)
nkthakur48 Apr 1, 2025
bb873d2
[DA] Refresh dev build with Bulk Content Update
nkthakur48 Apr 7, 2025
5e5bc95
[DA] Refresh dev build with Bulk Content Update (#3913)
nkthakur48 Apr 7, 2025
48269de
[DA] Refresh dev build with fix for BulkOps Publish API (#3914)
maagrawal16 Apr 8, 2025
607dc1a
[DA] Refresh dev build with fix for BCU screen issues (#3916)
maagrawal16 Apr 8, 2025
f362df7
[DA] Refresh dev build with save file suffix fix (#3923)
maagrawal16 Apr 8, 2025
70f54af
[DA] Refresh dev build with download original excel in BCU project de…
maagrawal16 Apr 9, 2025
44f1bc0
[DA] Refresh dev build with updated analytics suite id (#3930)
maagrawal16 Apr 9, 2025
e1aa0d0
[DA] Refresh dev build with BCU jobs page & save confirm dialog (#3944)
maagrawal16 Apr 10, 2025
dd45792
[DA] Refresh dev build with some features and minor bug fixes (#3948)
maagrawal16 Apr 10, 2025
47b25cd
[DA] Refresh dev build with BCU Screen fixes, Copy BulkOps, et al. (#…
nkthakur48 Apr 10, 2025
fe22464
[DA] Refresh dev build with BCU fixes, Dialogs, et al. (#3953)
nkthakur48 Apr 11, 2025
f373ba1
[DA] Refresh dev build with Analytics & Version Restore fixes, et al.…
maagrawal16 Apr 11, 2025
e5a5454
[DA] Refresh dev build with Analytics & Version Restore fixes, et al.…
nkthakur48 Apr 11, 2025
28dcc28
[DA] Refresh dev build with label changes and BCU Create Page fixes (…
nkthakur48 Apr 12, 2025
d5ffcd9
[DA] Refresh dev build with Versioning Changes (#3962)
maagrawal16 Apr 14, 2025
7821002
[DA] Refresh dev build with BulkOps Copy and Fragment table fixes (#3…
maagrawal16 Apr 14, 2025
bf1cf39
[DA] Refresh dev build with fragment table fix revert (#3967)
maagrawal16 Apr 14, 2025
1c41703
[DA] Refresh dev build with copy move column swap fix (#3970)
maagrawal16 Apr 15, 2025
befe6d4
MWPW-171589 Support DA Apps on gwp-playground
nkthakur48 Apr 16, 2025
ef67d4a
[DA] Refresh dev build with view save popup changes etc. (#4046)
maagrawal16 Apr 28, 2025
b8dd518
[DA] Refresh dev build with breadcrumb updates (#4063)
maagrawal16 Apr 30, 2025
9f95e82
[DA] Refresh dev build with breadcrumb fixes (#4074)
nkthakur48 May 5, 2025
c3a5776
[DA] Refresh dev build with breadcrumb fixes and reference.xlsx for B…
nkthakur48 May 7, 2025
bdc0de2
[DA] Refresh dev build with correct reference.xlsx for BCU (#4089)
nkthakur48 May 7, 2025
9b2ade7
[DA] Refresh dev build with correct reference.xlsx for BCU
nkthakur48 May 7, 2025
030c019
[DA] Refresh dev build with BCU save payload change (#4112)
maagrawal16 May 9, 2025
9a0f3b6
[DA] Refresh dev build with BCU save payload change (#4132)
nkthakur48 May 12, 2025
adbbe5c
[Dev][Loc][MWPW 173377] Add Transcreation Locales in Select Languages…
maagrawal16 May 15, 2025
80e3f12
[DA] Refresh dev build with search query bug fix (#4165)
maagrawal16 May 16, 2025
afdcabb
[Dev][Loc][MWPW-173379] Add Date Time Picker in Enter URLs Screen (#4…
maagrawal16 May 19, 2025
6af9bd5
MWPW-173721 [Locv3] Made Translation/Rollout selection pill accessibl…
nkthakur48 May 19, 2025
b9454a9
[Dev][Loc] Fix due date in edit workflow (#4207)
maagrawal16 May 30, 2025
61211d3
MWPW-174028 Invalid date is formatted as NaN (#4315)
nkthakur48 Jun 4, 2025
cfa39e4
MWPW-174737 Skip validation for "dueDate" during rollout workflow (#4…
nkthakur48 Jun 9, 2025
6fe9659
[Loc][MWPW-173706] Fix selection of transcreation locale (#4253)
maagrawal16 Jun 17, 2025
c0080db
[DA]Disable Export excel and future date restriction (#4457)
saurabhsircar11 Jun 27, 2025
ad84b62
Update env da apps dev (#4482)
saurabhsircar11 Jun 27, 2025
ba7a90f
MWPW-176763: Eliminating custom merge option from regional editing (#…
Shrey-Adobe Jul 29, 2025
3eaed9b
[LOC]MWPW-177102 - Deselect region related locales (#4618)
saurabhsircar11 Aug 1, 2025
da893b5
MWPW-175128 - Edit locales issue on 3rd step (#4671)
saurabhsircar11 Aug 6, 2025
d40bf53
MWPW-176763] English geos enable for promote rollout (#4672)
Shrey-Adobe Aug 13, 2025
eca1db6
DA-DX app mapping (#4751)
shrutisuresh16 Aug 22, 2025
62cbff5
chore: resolved conflicts
saurabhsircar11 Aug 28, 2025
1609f3f
chore: copied vendor.js from stage
saurabhsircar11 Aug 28, 2025
572a864
chore: copied vendor.js from stage
saurabhsircar11 Aug 28, 2025
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
6 changes: 5 additions & 1 deletion libs/blocks/locui-create/input-locale/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,15 @@ export default function useInputLocale() {
const { [regionKey]: _, ...rest } = prev;
return rest;
});
const localesToRemove = Array.from(selectedLocaleSet).filter((localeKey) => {
const locale = getLocaleFromKey(localeKey);
return regionCountryCodes.includes(locale);
});
setSelectedLocale((prev) => prev.filter((localeKey) => {
const locale = getLocaleFromKey(localeKey);
return !regionCountryCodes.includes(locale);
}));
removeLocalesFromActive(regionCountryCodes);
removeLocalesFromActive(localesToRemove);
};

const updateRegionStates = useCallback((localeList) => {
Expand Down
20 changes: 18 additions & 2 deletions libs/blocks/locui-create/input-locale/view.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { html } from '../../../deps/htm-preact.js';
import useInputLocale from './index.js';
import StepControls from '../components/stepControls.js';
import { PROJECT_TYPES, WORKFLOW } from '../utils/constant.js';
import { PROJECT_TYPES, WORKFLOW, USER_WORKFLOW_TYPE, ENG_LANG_CODE } from '../utils/constant.js';
import Toast from '../components/toast.js';
import { userWorkflowType } from '../store.js';

Expand Down Expand Up @@ -90,6 +90,22 @@
};

const RenderLocales = () => {
const isPromoteRollout = userWorkflowType.value === USER_WORKFLOW_TYPE.promote_rollout;
const initialAcc = {};
if (isPromoteRollout) {
const englishLocale = languagesList.find(
(lang) => lang.languagecode === ENG_LANG_CODE,
);
if (englishLocale) {
initialAcc[englishLocale.language] = englishLocale.livecopies
.split(',')
.filter(Boolean)
.map((locale) => `${englishLocale.languagecode}|${locale}`);
} else {
console.warn('English locale not found for promoteRollout workflow');

Check warning on line 105 in libs/blocks/locui-create/input-locale/view.js

View workflow job for this annotation

GitHub Actions / Running eslint

[eslint] reported by reviewdog 🐶 Unexpected console statement. Raw Output: {"ruleId":"no-console","severity":1,"message":"Unexpected console statement.","line":105,"column":9,"nodeType":"MemberExpression","messageId":"unexpected","endLine":105,"endColumn":21}
}
}

const groupedLocales = selectedLocale.reduce((acc, localeKey) => {
const [langCode, locale] = parseLocaleKey(localeKey);
const language = languagesList.find((lang) => (langCode
Expand All @@ -102,7 +118,7 @@
acc[language.language].push(localeKey);
}
return acc;
}, {});
}, initialAcc);

return Object.keys(groupedLocales).map((languageName) => {
const localesInLanguage = groupedLocales[languageName];
Expand Down
Loading