Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
5fdd18e
fix: revert background color transparent fix
devvaannsh Apr 19, 2026
1113ac5
refactor: better resize ruler dialog string
devvaannsh Apr 19, 2026
62644ab
feat: add tooltip for disabled options in resize ruler
devvaannsh Apr 19, 2026
d2ed409
feat: add toggle support in the live preview resize ruler feature
devvaannsh Apr 20, 2026
f5275f0
fix: better styling for the resize ruler button in the toolbar
devvaannsh Apr 20, 2026
a4106c2
feat: auto collapse sidebar if needed to fit live preview
devvaannsh Apr 20, 2026
ceecbf2
feat: add responsive handles live preview css
devvaannsh Apr 20, 2026
399d6e3
feat: add support for vertical resizing in design mode
devvaannsh Apr 20, 2026
9843ed3
feat: add fit to panel button after resizing in design mode
devvaannsh Apr 20, 2026
8eaae7c
chore: auto update API docs
devvaannsh Apr 21, 2026
3f5ec51
feat: show pixel values when resizing the webpage
devvaannsh Apr 21, 2026
0cc03f3
feat: better resize handles styling
devvaannsh Apr 21, 2026
06f7dde
build: update pro deps
devvaannsh Apr 21, 2026
4401efa
feat: better live preview toolbar buttons styling
devvaannsh Apr 22, 2026
c99c16b
feat: move control bar to the left side
devvaannsh Apr 22, 2026
e72a4b8
feat: restore the files/ai chips in sidebar
devvaannsh Apr 22, 2026
77ff69e
feat: add expand compress button in live preview toolbar
devvaannsh Apr 22, 2026
c094d02
feat: consistent icons in control bar
devvaannsh Apr 22, 2026
4cf6038
feat: search button not working
devvaannsh Apr 22, 2026
f0c8af6
feat: replace edit mode dropdown with simple edit toggle icon
devvaannsh Apr 22, 2026
2139cfc
feat: add design mode icon in the control bar
devvaannsh Apr 22, 2026
a2d36f9
feat: improve the control bar styling
devvaannsh Apr 22, 2026
7577d98
feat: better nav tab bar styling
devvaannsh Apr 22, 2026
0f6edcc
feat: use better icon for the files
devvaannsh Apr 22, 2026
0a8e40d
feat: maintain find in files selected state when its opened
devvaannsh Apr 22, 2026
81b6f9d
refactor: consistent colors in status bar and menu bar
devvaannsh Apr 22, 2026
a19e439
feat: improve right side toolbar styling
devvaannsh Apr 22, 2026
597db1e
feat: same active styling in the plugin toolbar
devvaannsh Apr 22, 2026
6bc6060
feat: increase plugin icons toolbar button sizes
devvaannsh Apr 22, 2026
ad78bab
feat: add undo redo save in the live preview toolbar
devvaannsh Apr 22, 2026
b9556fe
feat: live preview toolbar buttons improvements
devvaannsh Apr 22, 2026
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
3 changes: 2 additions & 1 deletion docs/API-Reference/view/WorkspaceManager.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@ Returns true if visible else false.
### view/WorkspaceManager.setPluginPanelWidth(width)
Programmatically sets the plugin panel content width to the given value in pixels.
The total toolbar width is adjusted to account for the plugin icons bar.
Width is clamped to respect panel minWidth and max size (75% of window).
If the requested width doesn't fit, the sidebar is progressively shrunk
(and collapsed if necessary) before clamping.
No-op if no panel is currently visible.

**Kind**: inner method of [<code>view/WorkspaceManager</code>](#module_view/WorkspaceManager)
Expand Down
15 changes: 8 additions & 7 deletions src/extensions/default/Git/styles/git-styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -1203,24 +1203,25 @@

/* Toolbar icon */
#git-toolbar-icon {
width: 24px;
height: 24px;
width: 28px;
height: 28px;
display: inline-block;
background: url("git-icon.svg") no-repeat 0 0;
background-size: 56px auto;
&.dirty {
background-position: -24px 0;
background-position: -28px 0;
}
&.on {
background-position: 0 -24px;
background-position: 0 -28px;
}
&.on.dirty {
background-position: -24px -24px;
background-position: -28px -28px;
}
&.ok {
background-position: 0 -48px;
background-position: 0 -56px;
}
&.ok.dirty {
background-position: -24px -48px;
background-position: -28px -56px;
}
}

Expand Down
50 changes: 40 additions & 10 deletions src/extensionsIntegrated/NavigationAndHistory/NavigationProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@
let $navback = null,
$navForward = null,
$searchNav = null,
$newProject = null,
$showInTree = null;
$newProject = null;

/**
* Contains list of most recently known cursor positions.
Expand Down Expand Up @@ -712,14 +711,48 @@
MainViewManager.focusActivePane();
}

function _showInFileTreeClicked() {
Metrics.countEvent(Metrics.EVENT_TYPE.UI, "fileNavBar", "showInFileTree");
CommandManager.execute(Commands.NAVIGATE_SHOW_IN_FILE_TREE);
function _getFindBarClass() {
return require("search/FindBar").FindBar;
}

function _updateSearchNavActive() {
const FB = _getFindBarClass();
const bars = FB._bars;
const hasMultifileBar = bars && bars.some(function (bar) {
return bar._options && bar._options.multifile;

Check warning on line 722 in src/extensionsIntegrated/NavigationAndHistory/NavigationProvider.js

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ22scBzGuhKiO9xKXjW&open=AZ22scBzGuhKiO9xKXjW&pullRequest=2830
});

Check warning on line 723 in src/extensionsIntegrated/NavigationAndHistory/NavigationProvider.js

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ22scBzGuhKiO9xKXjV&open=AZ22scBzGuhKiO9xKXjV&pullRequest=2830
if ($searchNav) {
$searchNav.toggleClass("active", !!hasMultifileBar);
}
}

function _findInFiles() {
Metrics.countEvent(Metrics.EVENT_TYPE.UI, "fileNavBar", "search");
CommandManager.execute(Commands.CMD_FIND_IN_FILES);
const FB = _getFindBarClass();
const bars = FB._bars;
const multiBar = bars && bars.find(function (bar) {
return bar._options && bar._options.multifile;

Check warning on line 734 in src/extensionsIntegrated/NavigationAndHistory/NavigationProvider.js

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ22scBzGuhKiO9xKXjY&open=AZ22scBzGuhKiO9xKXjY&pullRequest=2830
});

Check warning on line 735 in src/extensionsIntegrated/NavigationAndHistory/NavigationProvider.js

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ22scBzGuhKiO9xKXjX&open=AZ22scBzGuhKiO9xKXjX&pullRequest=2830
if (multiBar) {
const FindInFilesUI = require("search/FindInFilesUI");
FindInFilesUI.closeResultsPanel();
} else {
CommandManager.execute(Commands.CMD_FIND_IN_FILES);
}
}

function _initSearchNavTracking() {
const FB = _getFindBarClass();
const origAdd = FB._addFindBar;
const origRemove = FB._removeFindBar;
FB._addFindBar = function (findBar) {
origAdd.call(FB, findBar);
_updateSearchNavActive();
};
FB._removeFindBar = function (findBar) {
origRemove.call(FB, findBar);
_updateSearchNavActive();
};
}

function _newProjectClicked() {
Expand All @@ -738,15 +771,13 @@
function updateTooltips() {
$navback.attr("title", _getShortcutDisplay(Strings.CMD_NAVIGATE_BACKWARD, NAVIGATION_JUMP_BACK));
$navForward.attr("title", _getShortcutDisplay(Strings.CMD_NAVIGATE_FORWARD, NAVIGATION_JUMP_FWD));
$showInTree.attr("title", _getShortcutDisplay(Strings.CMD_SHOW_IN_TREE, Commands.NAVIGATE_SHOW_IN_FILE_TREE));
$searchNav.attr("title", _getShortcutDisplay(Strings.CMD_FIND_IN_FILES, Commands.CMD_FIND_IN_FILES));
// new project extension is not yet loaded, so we cant show keyboard shortcut here.
$newProject.attr("title", Strings.CMD_PROJECT_NEW);
}

function _setupNavigationButtons() {
let $mainNavBarLeft = $("#mainNavBarLeft");
$showInTree = $("#showInfileTree");
$navback = $("#navBackButton");
$navForward = $("#navForwardButton");
$searchNav = $("#searchNav");
Expand All @@ -755,14 +786,12 @@
updateTooltips();
CommandManager.get(NAVIGATION_JUMP_BACK).on(KeyBindingManager.EVENT_KEY_BINDING_ADDED, updateTooltips);
CommandManager.get(NAVIGATION_JUMP_FWD).on(KeyBindingManager.EVENT_KEY_BINDING_ADDED, updateTooltips);
CommandManager.get(Commands.NAVIGATE_SHOW_IN_FILE_TREE).on(KeyBindingManager.EVENT_KEY_BINDING_ADDED, updateTooltips);
CommandManager.get(Commands.CMD_FIND_IN_FILES).on(KeyBindingManager.EVENT_KEY_BINDING_ADDED, updateTooltips);

$navback.on("click", _navigateBackClicked);
$navForward.on("click", _navigateForwardClicked);
$("#navBackButton").contextmenu(_navigateBackClicked);
$("#navForwardButton").contextmenu(_navigateForwardClicked);
$showInTree.on("click", _showInFileTreeClicked);
$searchNav.on("click", _findInFiles);
$newProject.on("click", _newProjectClicked);
}
Expand All @@ -772,6 +801,7 @@
_initNavigationCommands();
_initHandlers();
_setupNavigationButtons();
_initSearchNavTracking();
}

exports.init = init;
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading