Skip to content

Commit 470f954

Browse files
committed
deploy: cd657c3
1 parent 3a0726b commit 470f954

105 files changed

Lines changed: 720 additions & 532 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

LiveDevelopment/BrowserScripts/RemoteFunctions.js

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,9 @@ function RemoteFunctions(config = {}) {
918918

919919
const nodes = window.document.querySelectorAll(rule);
920920

921-
// Highlight all matching nodes
921+
// Highlight all matching nodes. selectElement() will narrow _clickHighlight
922+
// down to the chosen element below; createCssSelectorHighlight() then
923+
// re-highlights the siblings in a separate overlay.
922924
for (let i = 0; i < nodes.length; i++) {
923925
highlight(nodes[i]);
924926
}
@@ -927,22 +929,23 @@ function RemoteFunctions(config = {}) {
927929
_clickHighlight.selector = rule;
928930
}
929931

930-
// In edit mode, select the best element and create temporary highlights for the rest.
931-
// In highlight mode, skip selection so all matching elements stay highlighted equally.
932-
if (config.mode === 'edit') {
933-
const { element, skipSelection } = findBestElementToSelect(nodes, rule);
934-
935-
if (!skipSelection) {
936-
if (element) {
937-
selectElement(element, true);
938-
} else {
939-
// No valid element found, dismiss UI
940-
dismissUIAndCleanupState();
941-
}
942-
}
932+
// Both edit and highlight modes go through the same selection path:
933+
// selectElement() handles scroll-to-view and the prominent click-highlight,
934+
// createCssSelectorHighlight() shows siblings dimly. fromEditor=true
935+
// suppresses tool-handler invocation, so highlight mode gets the
936+
// highlighting/scroll behavior without any UI boxes.
937+
const { element, skipSelection } = findBestElementToSelect(nodes, rule);
943938

944-
createCssSelectorHighlight(nodes, rule);
939+
if (!skipSelection) {
940+
if (element) {
941+
selectElement(element, true);
942+
} else {
943+
// No valid element found, dismiss UI
944+
dismissUIAndCleanupState();
945+
}
945946
}
947+
948+
createCssSelectorHighlight(nodes, rule);
946949
}
947950

948951
// recreate UI boxes so that they are placed properly

appConfig.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ window.AppConfig = {
3535
"app_update_url": "https://updates.phcode.io/tauri/update-latest-pre-release.json",
3636
"extensionTakedownURL": "https://updates.phcode.io/extension_takedown.json",
3737
"linting.enabled_by_default": true,
38-
"build_timestamp": "2026-04-26T07:15:59.387Z",
38+
"build_timestamp": "2026-04-26T11:52:52.764Z",
3939
"googleAnalyticsID": "G-FP5S9BKDSJ",
4040
"googleAnalyticsIDDesktop": "G-D5R1Y6PTS8",
4141
"mixPanelID": "a7e08ffd43c37767c29b13df1d2e6c62",
@@ -47,7 +47,7 @@ window.AppConfig = {
4747
"bugsnagEnv": "staging"
4848
},
4949
"name": "Phoenix Code",
50-
"version": "5.1.8-22780",
50+
"version": "5.1.8-22796",
5151
"apiVersion": "5.1.8",
5252
"homepage": "https://core.ai",
5353
"issues": {

assets/default-project/en.zip

0 Bytes
Binary file not shown.

assets/sample-projects/HTML5.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

assets/sample-projects/explore.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

brackets.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cacheManifest.json

Lines changed: 35 additions & 37 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)