SVN: UX improvements #136

Merged
Demeter Dzadik merged 15 commits from Mets/blender-studio-pipeline:svn_ux_improvements into main 2023-08-01 15:39:18 +02:00

15 Commits

Author SHA1 Message Date
8c8d8bfa0b Improve communication of file_is_outdated flag 2023-08-01 13:55:40 +02:00
b881cffd91 Fix SVN Up remembering revision number 2023-08-01 13:34:25 +02:00
890e1b0e76 Fix active log index getting reset all the time 2023-08-01 11:55:05 +02:00
3da7d983a1 Keep the "file is outdated" warning if no reload
Previously, if the user loads an old version of a file,
then updates to the latest again without reloading,
the "this file is outdated" warning will disappear,
which is slightly misleading.

This could still happen though,
if there are two instances of Blender open,
and you mess with the file that's open in one,
from the other. Can't help that.
2023-07-25 16:58:16 +02:00
df6848fe56 Bring back filebrowser support (simplified) 2023-07-25 16:40:35 +02:00
f461661bb8 Add UX for trying to commit during a conflict 2023-07-25 15:21:30 +02:00
84bfa34620 Bring back the debug_mode toggle, but secret 2023-07-25 13:40:38 +02:00
c368c74772 Fix error when adding an existing repo 2023-07-25 13:40:24 +02:00
e71d4182ee Cleanup: Split up ui_prefs
It was hard to find where the code for the repo list
add/remove operators were.
Filenames are more specific and accurate now.
2023-07-25 13:18:13 +02:00
14cfc176ca Hide Debug Mode 2023-07-24 17:40:23 +02:00
825cfa8a96 Fix having to re-auth when changing repo 2023-07-24 17:39:12 +02:00
cbdb3e14a3 Remove active_repo_mode selector
This greatly simplifies a lot of both UX and code,
however, we seem to lose the ability to not
flicker the UI on file save/load... Would like to bring that back.
2023-07-24 17:11:49 +02:00
cad91a94a0 Add support for when SVN isn't on the system 2023-07-24 15:23:41 +02:00
4ed9415165 - Outdated file warning now clickable
- Saving the file won't re-authenticate
- Loading a file from another repo won't re-authenticate
2023-07-24 13:43:48 +02:00
8a1059e925 SVN: UX Improvements
- Add option to open file with UI instead of only without
- Clarify that UI will be kept when reloading a file
- Reloading a file now prompts if current file is dirty
(only from right-click menu)
- Fix file list and SVN log not being updated when opening a new file
- Fix file list getting permanently grayed out when trashing a file
- Move outdated file warning from 3DView header to the top-bar

Minor code tweaks:
- Move force_good_active_index inside of update_file_filter
- Rename update_file_filter to refresh_ui_lists
- Remove file open operator. I figured out how to use the built-in one
2023-07-24 12:23:43 +02:00