Repository navigation
Dipal and Sajeeth Combined Remote Profile Redesign - #952
Merged
Merged
Conversation
Sajeeth-Wimalasuriyan
commented
Jul 23, 2026
Contributor
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Panels revamped: - Remote Trace dialog (rocprofvis_ssh_test_dialog.cpp): header/body/footer layout, connection shown as a clickable header button that opens Configure (or 'Configure' when unset), auto-height window so there is no wasted vertical space, tighter panel spacing. - SSH Connection Settings dialog (rocprofvis_ssh_settings_dialog.cpp): Profile / Connection / Authentication cards with a titled header (compass icon), aligned label+field rows, password and passphrase show toggles, sticky footer with Cancel/Save, auto-height (no scrollbar), draggable window, tighter panel spacing. Co-authored-by: Cursor <cursoragent@cursor.com>
- Shorten verbose layout comments to concise why-notes. - Drop empty TextUnformatted placeholder cell and fix stray alignment. Co-authored-by: Cursor <cursoragent@cursor.com>
- Reorganize options: General keeps preset/output/trace-window; move sampling toggles to Sampling, AMD SMI to Process Sampling, and summary profile to Config & Logging; Advanced opens in its own window - Add live config chips (connection/tool/output/preset) and show the selected preset's description inline - Rework Arguments & Environment as one panel with add-and-pill editing - Restore standard window padding/rounding for the launcher windows - Remove deprecated Timemory Components; force PID-in-output off with MPI - Responsive column grids for long checkbox lists; aligned, sized inputs - Rename: Timing -> Trace window, Statistical -> Call-stack sampling, saved Profile -> Saved Config - Clean up: constants for magic numbers, remove dead code, trim comments Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
- Put Output Format / Trace Window side by side; seed the preview panel to a 3:2 form:preview split on first open - Tighten card padding and inter-card spacing; size the bottom button row to its content so there's no dead space beneath it - Hoist layout magic numbers into named constants, dedupe the preset-locked banner into one helper, and trim excessive comments Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com> # Conflicts: # src/view/src/remote/rocprofvis_ssh_test_dialog.cpp
Centralize the shared panel-card vocabulary so SSH prompts, remote progress/output popups, and profiler cards use consistent themed styling. Co-authored-by: Cursor <cursoragent@cursor.com>
Restyle the profiler remote download popup and "Run on" connection section, and the SSH connection settings modal, to use the shared panel-card helpers so all remote profiling surfaces match the remote trace dialog. Co-authored-by: Cursor <cursoragent@cursor.com>
Scope each password/passphrase reveal button by its field id so the two eye toggles no longer hash to the same ImGui ID within the shared auth table column. Co-authored-by: Cursor <cursoragent@cursor.com>
- Extract RemoteFileBrowser from SshTestDialog so it can be reused (adds a directory pick mode; SshTestDialog now delegates to it). - Profiler launcher: enable the Target Browse buttons in Remote (SSH) mode to open the shared browser; local mode unchanged. - Add SshConnectionConfig::DisplayLabel() and use it in the connection chips (name if set, else user@host:port). Co-authored-by: Cursor <cursoragent@cursor.com>
Sajeeth-Wimalasuriyan
requested review from
a team,
amokiche-amd,
drchen-amd,
tomk-amd and
vstempen
as code owners
July 23, 2026 18:22
The remote file browser owns its own SSH session, but auth prompts were only rendered for the launch/test dialogs' sessions, so browsing a host that needs a password (or unknown host-key) wedged the worker on a prompt nobody drew. - SshSession: add a live-session registry (ActiveSessions) alongside the existing count. - ssh_auth_modal: RenderSshAuthModal now returns whether it rendered; add RenderSshAuthModals() which draws the prompt for every live session (one per frame). AppWindow calls it centrally; drop the per-dialog calls. - RemoteFileBrowser is itself a modal, so it renders its own session's auth nested inside its popup and marks the session self-managed; the central path skips it (and defers others) so a second top-level modal can't dismiss the browser. - Reconcile the shared kbdint answer buffer to the request's prompt count every frame, fixing an out-of-range crash when switching between sessions' prompts. - Replace the deprecated fixed-buffer strncpy/InputText with the std::string-backed InputTextString helper. - ssh_client: password fallback prompt now shows "Enter the password for user@host" instead of a redundant second "Password" line.
Contributor
|
Great improvements, looks very great. A small suggestion regarding the profiler window. I find it odd that it appears as a window inside the main window and can be moved, but only within the main window. I think it would be better to make it fixed, so that it occupies the entire space of the main window and cannot be moved. But if it needs to be movable, then it probably makes sense to make it a fully independent window that can be moved outside of the main window. |
Collaborator
This is the final goal, if we ever have the technology :) #791 |
Co-authored-by: Cursor <cursoragent@cursor.com>
tomk-amd
approved these changes
Jul 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.