Ticket #10672 (closed: fixed)

Opened 6 years ago

Last modified 5 years ago

Improvements to Save button

Reported by: Dan Nixon Owned by: Dan Nixon
Priority: major Milestone: Release 3.3
Component: GUI Keywords:
Cc: Blocked By:
Blocking: Tester: Raquel Alvarez Banos

Description

Stewart has suggested a couple of changes to the Save button that will allow it to select a specific save algorithm.

Essentially it should be modified to:

  • When multiple or no workspaces are selected behave as it does now
  • When a single workspace is selected present a list of save algorithms that can be used with that workspace, at a bare minimum this should include SaveAscii v1, SaveAscii v2 and SaveNexus

Change History

comment:1 Changed 6 years ago by Dan Nixon

  • Status changed from new to assigned

comment:2 Changed 6 years ago by Dan Nixon

  • Milestone changed from Backlog to Release 3.3

comment:3 Changed 6 years ago by Dan Nixon

  • Status changed from assigned to inprogress

Added majority of new save button functionality

Refs #10672

Changeset: 914e33a59b548d34b134110df91fd03b335aa0d7

comment:4 Changed 6 years ago by Dan Nixon

Ability to set version when also setting props

Refs #10672

Changeset: 8a98cc6dd0f5eeadb383f4567ae6625ee73d26a8

comment:5 Changed 6 years ago by Dan Nixon

Provide a simple way to add more save algos

Refs #10672

Changeset: 87d4e788cbd0ecdcd542737392a085f3f5dec951

comment:6 Changed 6 years ago by Dan Nixon

I've just added some generic save algorithms, and the specific one (SaveAscii v1) requested by Stewart, it is trivial to add additional algorithms to the menu dependent on both the workspace type and name so it has good scope for being expanded later with more workspace/data/technique specific workspaces and algorithms.

To test:

  • Open a few workspaces
  • With none selected the Save button will be disabled, clicking on it should do nothing
  • With many selected the same functionality as before should be observed, it should request a save folder and save each file in that folder using SaveNexus
  • With one selected it will provide a drop down menu with some save formats, try each of them ensuring that it loads the correct algorithm and correct version.
Last edited 6 years ago by Dan Nixon (previous) (diff)

comment:7 Changed 6 years ago by Dan Nixon

  • Status changed from inprogress to verify
  • Resolution set to fixed

comment:8 Changed 6 years ago by Dan Nixon

Correct cppcheck warnings

Refs #10672

Changeset: 11d434743a304ea82ce0a5efa098681ea81d4842

comment:9 Changed 6 years ago by Raquel Alvarez Banos

  • Status changed from verify to verifying
  • Tester set to Raquel Alvarez Banos

comment:10 Changed 6 years ago by Raquel Alvarez Banos

  • Status changed from verifying to closed

Merge remote-tracking branch 'origin/feature/10672_save_button_updates'

Full changeset: 0ea806c060156f632981deae232873fdf44b530c

comment:11 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 11514

Note: See TracTickets for help on using tickets.