From 1268124103443c1f3874f978a5be7dde11826bc4 Mon Sep 17 00:00:00 2001 From: Pluto Date: Fri, 26 Dec 2025 13:33:44 +0530 Subject: [PATCH 01/10] refactor: update strings --- src/nls/root/strings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nls/root/strings.js b/src/nls/root/strings.js index 9e33fd861..6742a66c6 100644 --- a/src/nls/root/strings.js +++ b/src/nls/root/strings.js @@ -197,7 +197,7 @@ define({ "LIVE_DEV_MORE_OPTIONS_CUT": "Cut", "LIVE_DEV_MORE_OPTIONS_COPY": "Copy", "LIVE_DEV_MORE_OPTIONS_PASTE": "Paste", - "LIVE_DEV_IMAGE_GALLERY_USE_IMAGE": "Use this image", + "LIVE_DEV_IMAGE_GALLERY_USE_IMAGE": "Download image", "LIVE_DEV_IMAGE_GALLERY_SELECT_DOWNLOAD_FOLDER": "Choose image download folder", "LIVE_DEV_IMAGE_GALLERY_SEARCH_PLACEHOLDER": "Search images\u2026", "LIVE_DEV_IMAGE_GALLERY_SEARCH_BUTTON": "Search", From af6004f8546079c99d5a8b3246221c38354ba423 Mon Sep 17 00:00:00 2001 From: Pluto Date: Sun, 28 Dec 2025 15:04:06 +0530 Subject: [PATCH 02/10] build: update pro deps --- tracking-repos.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracking-repos.json b/tracking-repos.json index c949227ec..335aeef12 100644 --- a/tracking-repos.json +++ b/tracking-repos.json @@ -1,5 +1,5 @@ { "phoenixPro": { - "commitID": "a0025cb1df45c5631454eb4f98d75284e240378a" + "commitID": "10c1aab6c35c4d45981b8c47febcacc420017e07" } } From 1407ad521c0b3c0b2177f6f289d6f4dd6b034bca Mon Sep 17 00:00:00 2001 From: Pluto Date: Fri, 26 Dec 2025 13:59:40 +0530 Subject: [PATCH 03/10] build: update pro deps --- tracking-repos.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracking-repos.json b/tracking-repos.json index 335aeef12..83285ae1d 100644 --- a/tracking-repos.json +++ b/tracking-repos.json @@ -1,5 +1,5 @@ { "phoenixPro": { - "commitID": "10c1aab6c35c4d45981b8c47febcacc420017e07" + "commitID": "ca32cf57c34543b10eebcc076764317833c17196" } } From fe93ce500f340d5d49c3cfaa6e10b1eb1707731d Mon Sep 17 00:00:00 2001 From: Pluto Date: Fri, 26 Dec 2025 17:27:30 +0530 Subject: [PATCH 04/10] build: update pro deps --- tracking-repos.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracking-repos.json b/tracking-repos.json index 83285ae1d..94b38d801 100644 --- a/tracking-repos.json +++ b/tracking-repos.json @@ -1,5 +1,5 @@ { "phoenixPro": { - "commitID": "ca32cf57c34543b10eebcc076764317833c17196" + "commitID": "8fd0b6f9067fda92dd08eb931267e94af2136b70" } } From c259992472df71ced6a35e0ea703b2b1df5c5ae5 Mon Sep 17 00:00:00 2001 From: Pluto Date: Fri, 26 Dec 2025 19:42:39 +0530 Subject: [PATCH 05/10] chore: localize image gallery string --- src/nls/root/strings.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nls/root/strings.js b/src/nls/root/strings.js index 6742a66c6..21eac105b 100644 --- a/src/nls/root/strings.js +++ b/src/nls/root/strings.js @@ -213,6 +213,7 @@ define({ "LIVE_DEV_IMAGE_GALLERY_OFFLINE_RETRY": "Retry", "LIVE_DEV_IMAGE_GALLERY_CHECKING_CONNECTION": "Checking connection", "LIVE_DEV_IMAGE_GALLERY_STILL_OFFLINE": "Still offline. Please check your connection.", + "LIVE_DEV_IMAGE_GALLERY_SELECT_SIZE": "Select image size", "LIVE_DEV_TOAST_NOT_EDITABLE": "Element not editable - generated by script", "LIVE_DEV_COPY_TOAST_MESSAGE": "Element copied. Use 'Paste' to add it below the selected element", "LIVE_DEV_TOAST_FIXED_ELEMENT_DISMISSED": "Element doesn't scroll with page - edit boxes hidden", From e83fc810b20244c480098e8aa646ada19321f6b3 Mon Sep 17 00:00:00 2001 From: Pluto Date: Sun, 28 Dec 2025 17:33:41 +0530 Subject: [PATCH 06/10] feat: pass is logged in to config --- src/LiveDevelopment/main.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/LiveDevelopment/main.js b/src/LiveDevelopment/main.js index 6d9ba333a..ae3069b37 100644 --- a/src/LiveDevelopment/main.js +++ b/src/LiveDevelopment/main.js @@ -53,6 +53,7 @@ define(function main(require, exports, module) { // this will later be assigned its correct values once entitlementsManager loads let hasLiveEditCapability = false; let isPaidUser = false; + let isLoggedIn = false; const PREFERENCE_LIVE_PREVIEW_MODE = CONSTANTS.PREFERENCE_LIVE_PREVIEW_MODE; @@ -98,6 +99,7 @@ define(function main(require, exports, module) { showRulerLines: false, // default value, this will get updated when the extension loads imageGalleryState: _getImageGalleryState(), // image gallery selected state isPaidUser: false, // will be updated when we fetch entitlements + isLoggedIn: false, // will be updated when we fetch entitlements hasLiveEditCapability: false // handled inside _liveEditCapabilityChanged function }; @@ -259,6 +261,15 @@ define(function main(require, exports, module) { } } + function _isLoggedInChanged(newStatus) { + if(newStatus !== isLoggedIn){ + isLoggedIn = newStatus; + const config = MultiBrowserLiveDev.getConfig(); + config.isLoggedIn = isLoggedIn; + MultiBrowserLiveDev.updateConfig(config); + } + } + function setMode(mode) { if (mode === LIVE_EDIT_MODE && !hasLiveEditCapability) { return false; @@ -346,6 +357,7 @@ define(function main(require, exports, module) { // private api exports._liveEditCapabilityChanged = _liveEditCapabilityChanged; exports._isPaidUserChanged = _isPaidUserChanged; + exports._isLoggedInChanged = _isLoggedInChanged; // public events exports.EVENT_OPEN_PREVIEW_URL = MultiBrowserLiveDev.EVENT_OPEN_PREVIEW_URL; From 16074febcbe34adf43cb5c55771b03cc7fbbdff0 Mon Sep 17 00:00:00 2001 From: Pluto Date: Sun, 28 Dec 2025 17:45:46 +0530 Subject: [PATCH 07/10] feat: localize the image gallery strings --- src/nls/root/strings.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/nls/root/strings.js b/src/nls/root/strings.js index 21eac105b..20092de65 100644 --- a/src/nls/root/strings.js +++ b/src/nls/root/strings.js @@ -214,6 +214,14 @@ define({ "LIVE_DEV_IMAGE_GALLERY_CHECKING_CONNECTION": "Checking connection", "LIVE_DEV_IMAGE_GALLERY_STILL_OFFLINE": "Still offline. Please check your connection.", "LIVE_DEV_IMAGE_GALLERY_SELECT_SIZE": "Select image size", + "LIVE_DEV_IMAGE_GALLERY_SIZE_CARD": "Card 400px", + "LIVE_DEV_IMAGE_GALLERY_SIZE_HERO": "Hero 1080px", + "LIVE_DEV_IMAGE_GALLERY_SIZE_RETINA": "Retina 2200px", + "LIVE_DEV_IMAGE_GALLERY_LIMIT_EXCEEDED_LOGGED_IN": "Your free tier limits are exhausted. Please Subscribe to Pro to continue", + "LIVE_DEV_IMAGE_GALLERY_LIMIT_EXCEEDED_ANONYMOUS": "Your limits are exhausted. Please log in to continue", + "LIVE_DEV_IMAGE_GALLERY_LOGIN_BUTTON": "Log In", + "LIVE_DEV_IMAGE_GALLERY_SUBSCRIBE_BUTTON": "Subscribe to Pro", + "LIVE_DEV_IMAGE_GALLERY_ATTRIBUTION_ON": "on", "LIVE_DEV_TOAST_NOT_EDITABLE": "Element not editable - generated by script", "LIVE_DEV_COPY_TOAST_MESSAGE": "Element copied. Use 'Paste' to add it below the selected element", "LIVE_DEV_TOAST_FIXED_ELEMENT_DISMISSED": "Element doesn't scroll with page - edit boxes hidden", From e95b43de16cc8a3d3e59271a477cbc9a992cc99c Mon Sep 17 00:00:00 2001 From: Pluto Date: Sun, 28 Dec 2025 18:06:37 +0530 Subject: [PATCH 08/10] feat: add paid user throttling string --- src/nls/root/strings.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nls/root/strings.js b/src/nls/root/strings.js index 20092de65..da5f0e98b 100644 --- a/src/nls/root/strings.js +++ b/src/nls/root/strings.js @@ -219,6 +219,7 @@ define({ "LIVE_DEV_IMAGE_GALLERY_SIZE_RETINA": "Retina 2200px", "LIVE_DEV_IMAGE_GALLERY_LIMIT_EXCEEDED_LOGGED_IN": "Your free tier limits are exhausted. Please Subscribe to Pro to continue", "LIVE_DEV_IMAGE_GALLERY_LIMIT_EXCEEDED_ANONYMOUS": "Your limits are exhausted. Please log in to continue", + "LIVE_DEV_IMAGE_GALLERY_LIMIT_EXCEEDED_PAID_HOURLY": "Your hourly query limit has been reached. Please try again later", "LIVE_DEV_IMAGE_GALLERY_LOGIN_BUTTON": "Log In", "LIVE_DEV_IMAGE_GALLERY_SUBSCRIBE_BUTTON": "Subscribe to Pro", "LIVE_DEV_IMAGE_GALLERY_ATTRIBUTION_ON": "on", From d300ece0046fb738889883817fe2e62258203cbd Mon Sep 17 00:00:00 2001 From: Pluto Date: Sun, 28 Dec 2025 19:16:54 +0530 Subject: [PATCH 09/10] feat: remove unused image gallery strings --- src/nls/root/strings.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/nls/root/strings.js b/src/nls/root/strings.js index da5f0e98b..7b0be0991 100644 --- a/src/nls/root/strings.js +++ b/src/nls/root/strings.js @@ -217,11 +217,6 @@ define({ "LIVE_DEV_IMAGE_GALLERY_SIZE_CARD": "Card 400px", "LIVE_DEV_IMAGE_GALLERY_SIZE_HERO": "Hero 1080px", "LIVE_DEV_IMAGE_GALLERY_SIZE_RETINA": "Retina 2200px", - "LIVE_DEV_IMAGE_GALLERY_LIMIT_EXCEEDED_LOGGED_IN": "Your free tier limits are exhausted. Please Subscribe to Pro to continue", - "LIVE_DEV_IMAGE_GALLERY_LIMIT_EXCEEDED_ANONYMOUS": "Your limits are exhausted. Please log in to continue", - "LIVE_DEV_IMAGE_GALLERY_LIMIT_EXCEEDED_PAID_HOURLY": "Your hourly query limit has been reached. Please try again later", - "LIVE_DEV_IMAGE_GALLERY_LOGIN_BUTTON": "Log In", - "LIVE_DEV_IMAGE_GALLERY_SUBSCRIBE_BUTTON": "Subscribe to Pro", "LIVE_DEV_IMAGE_GALLERY_ATTRIBUTION_ON": "on", "LIVE_DEV_TOAST_NOT_EDITABLE": "Element not editable - generated by script", "LIVE_DEV_COPY_TOAST_MESSAGE": "Element copied. Use 'Paste' to add it below the selected element", From 5691985e82ae90aa2d09e3687e6fb5c11dc33898 Mon Sep 17 00:00:00 2001 From: Pluto Date: Sun, 28 Dec 2025 20:37:52 +0530 Subject: [PATCH 10/10] build: update pro deps --- tracking-repos.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracking-repos.json b/tracking-repos.json index 94b38d801..dcc6cd8ce 100644 --- a/tracking-repos.json +++ b/tracking-repos.json @@ -1,5 +1,5 @@ { "phoenixPro": { - "commitID": "8fd0b6f9067fda92dd08eb931267e94af2136b70" + "commitID": "ef3d7518e411d9ca6c9938af2bc0d5cd8d791e34" } }