Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a new View Changesets window with filtering capabilities #115

Merged
merged 21 commits into from
Apr 16, 2024

Conversation

SRombautsU
Copy link

Add a new dockable window,

We need to gather, parse and assemble the underlying data using "cm find changesets" (or cm log?) to list Changesets and then Files in changesets, and reference their Revisions for diffing.

We want a new window similar to the "View Branches" or the "View Locks", but it will evolve with some more advanced widgets to be able to also list the files in each changeset =>more like the "View Changes" window

@SRombautsU SRombautsU self-assigned this Apr 5, 2024
@SRombautsU SRombautsU force-pushed the 1005073-view-changesets-window branch 2 times, most recently from dce2d8e to 403ec56 Compare April 12, 2024 13:23
…ch with one Revision for Diffing (like for Files and ShelvedFiles in FPlasticSourceControlChangelist)
…rd output, and update ParseBranchesResults() accordingly

Minor cleanup in preparation of getting the Changesets the same way
…e tooltip on the "View Locks" window

The conversion to short name should be only done at display time where space matters, eg in the Content Browser context tooltip
@SRombautsU SRombautsU force-pushed the 1005073-view-changesets-window branch 2 times, most recently from d208a07 to b72eeef Compare April 15, 2024 18:18
It's not strictly related to the task but I am using this Branches Widget code to create the new Changesets View and realized it was missing this feature
@SRombautsU SRombautsU force-pushed the 1005073-view-changesets-window branch from b72eeef to cf51bd2 Compare April 15, 2024 19:01
@SRombautsU SRombautsU marked this pull request as ready for review April 16, 2024 07:45
Rationale: "log" is way to expensive, fetching all files, and cannot be limited to a certain number of changesets to work around the issue.

This will require lazy loading the list of files on selecting changesets instead, but that's for another task.
…ngesets" operation

Leverages the existing parser GetChangesetFromWorkspaceStatus()
…ranchName field from the underlying command instead
@SRombautsU SRombautsU force-pushed the 1005073-view-changesets-window branch from ff60c77 to 3ad9456 Compare April 16, 2024 10:04
@SRombautsU SRombautsU force-pushed the 1005073-view-changesets-window branch from 963009e to 9da0a94 Compare April 16, 2024 10:42
Copy link

@juliomaqueda juliomaqueda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work!

@juliomaqueda juliomaqueda merged commit 969e1f2 into master Apr 16, 2024
@juliomaqueda juliomaqueda deleted the 1005073-view-changesets-window branch April 16, 2024 14:25
@SRombautsU SRombautsU added this to the 1.11.0 milestone May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants