Repository navigation
#13360: Integrate project version restore tool into GUI - #14997
Merged
Merged
Conversation
magnesj
force-pushed
the
restore-project-versions-tool-13360
branch
6 times, most recently
from
October 21, 2026 12:42
18f80a0 to
7e71080
Compare
Add a GUI feature for restoring previous versions of a project file from its backup database, replacing the need for the external standalone tool. - RiaProjectBackupTools: add extractVersionsToFolder() to read all stored revisions from a project's .rspdb backup database and write each one to a timestamped .rsp file in a destination folder. - RicRestoreProjectVersionsUi: dialog for selecting the project file and export folder, defaulting to the currently open project. Adds a Recent Project Files dropdown (backed by RiuRecentFileActionProvider) that quickly populates the project file and export folder fields. - RicRestoreProjectVersionsFeature: new command feature wired into the File menu as 'Restore Previous Project Versions...', using the OpenFolder icon and placed after a separator below Save Project / Save Project As. - RiuRecentFileActionProvider: add recentProjectFiles() to expose the list of recently used project files. - Added '...' suffix to Save Project As, consistent with other dialog-launching actions.
magnesj
force-pushed
the
restore-project-versions-tool-13360
branch
from
October 21, 2026 12:45
7e71080 to
cef0aac
Compare
magnesj
marked this pull request as ready for review
October 21, 2026 12:45
jonjenssen
approved these changes
Oct 21, 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.
Fixes #13360
An external standalone tool (ThirdParty/extract-projectfile-versions) was previously used to restore project file revisions from a project's backup database (.rspdb), but it was difficult for end users to access and use.
This PR integrates the same functionality directly into ResInsight with a GUI:
Testing