taxonworks
taxonworks copied to clipboard
Export user preferences on project export
I tested this locally with 1) default (reset) preferences, and 2)
{"layout"=>
{"tasks::digitize::collectionObjects::hideBuffered"=>true,
"tasks::digitize::collectionObjects::hideCatalogNumber"=>true,
"tasks::digitize::LeftColumnOrder"=>["BiologicalAssociation", "TaxonDeterminationLayout", "TypeMaterial"],
"tasks::extract::componentsOrder"=>["ByComponent", "MadeComponent", "ProtocolsComponent", "OriginComponent", "IdentifierComponent", "RepositoryComponent", "CustomAttributes"]},
"disable_chime"=>false,
"items_per_list_page"=>20,
"taxon_name_autocomplete_redirects_to_valid"=>false,
"default_hub_tab_order"=>["tasks", "data", "favorite"]}
Two caveats, please send back to me if there's any concern:
- I didn't try all of the preferences, maybe there are some that are more complicated?
- as far as I could tell the quoting gymnastics are necessary, but I didn't check/don't know if they do the right thing if there's already an escaped
"
in the preferences (since I'm expecting that never happens...)