Sync Dirs: compare WDX fields using own custom columns
Posted: 2017-03-26, 09:30 UTC
This suggestion, if implemented, will make it possible to use all wdx plugins in Sync Dirs tool without any conflicts with current Sync Dirs functions.
The idea is based on adding custum columns similar to used in file panels of regular fs or fs plugins. User can make one of column views that are enabled for compare to be visible (its called active in proposed interface below) so user can visually compare values of certain plugin(s) of files in SyncDirs. Other (currently not visible but enabled for compare) columns are marked in columns selection context menu using sings used in direction boxes of main SyncDirs windows. For content plugins that are able to write this signs may be a checkbokse (active direction boxes) so user can select a direction of plugin fiels to be copied.
The proposed interface:
1) "Synchronize directories" window:
2) active custom column's bar context menu:
3) "Configure this custom column view..." window:
4) "Configure custom columns..." window:
The idea is based on adding custum columns similar to used in file panels of regular fs or fs plugins. User can make one of column views that are enabled for compare to be visible (its called active in proposed interface below) so user can visually compare values of certain plugin(s) of files in SyncDirs. Other (currently not visible but enabled for compare) columns are marked in columns selection context menu using sings used in direction boxes of main SyncDirs windows. For content plugins that are able to write this signs may be a checkbokse (active direction boxes) so user can select a direction of plugin fiels to be copied.
The proposed interface:
1) "Synchronize directories" window:
Here after pressing "Compare", TC also compares values of plugins used "active custom column view". If "hidden custom colums views" checked, TC also compares all hidden (but not disabled, I'll write below about it) fields. To visually compare such fields after Compare action, user can select any costum column in context menu: this will make such view active.----------------------------------------------------------------------------------------------------------------------------------------------
[ Compare ] [ ] Assymetric -[x] Plugin fields--------------------
[ ] Only selected [ ] Subdirs |[x] active custom column view |
(in main window) [ ] by content |[ ] hidden custom colums views |
[ ] Empty directories [ ] ignore date ---------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------
Name| Size| Date| active custom column view name| <=> | active custom column view name| Date| Size| Name
2) active custom column's bar context menu:
The context menu, mentioned above. Directions signs become visible after Compare action in Sync Dirs used. Like mentioned above, for writable fields user can select direction by clicking on a direction sign in context menu item. A click on a text part of view name item makes column view active, if it is still not.------------------------------------------
[⇒] active column view name
-------------------------------------------------
Configure this custom column view...
Configure custom columns...
-------------------------------------------------
= view name 1
≠ view name 2
⇐ view name 3
[⇒] view name 4 (can write)
[⇐] view name 5 (can write)
[≠] view name 6 (can write)
3) "Configure this custom column view..." window:
This is a configuration window of active column view. It is a simplified version of one used for file system or FS-plugins views configuration. Because custom in each view is only one, there is no Caption field, all other unnecessary elements also removed.Configure viev nr: 4 Name: [view name 4]
-------------------------------------------------------------
Width Field content
[80] [[=tc.comment]][+]
[OK][Cancel][Apply]
4) "Configure custom columns..." window:
"Configure custom columns..." is TC's window where user configures costom columns for regular file system (<General>) or FS-plugins. We're adding also <Synchronize directories> to that selector to configure custom columns for it. Since Sync Dirs columns don't have Captions (described above), we can put in the 3rd column Enable/Disable toggle to add or remove column to/from columns contexmenu. After Compare action used in main Sync Dirs window, Disabled columns are not compared even if "hidden custom colums views" checked.Configure custom colums for file system: [<Synchronize directories>][v]
Custom column configurations (sort with drag&drop):
1 |view name 1 |Enabled[v] |
2 |view name 2 |Enabled[v] |
3 |view name 3 |Enabled[v] |
4 |view name 4 (can write)|Enabled[v] |
5 |view name 5 (can write)|Enabled[v] |
6 |view name 6 (can write)|Enabled[v] |
7 |view name 7 (can write)|Disabled[v] |
[New][Edit][Delete][Copy]