Ticket #418 (new Task)

Opened 5 years ago

Last modified 3 years ago

need to add the progress status bar to the summary page

Reported by: bryan Owned by: gerry
Priority: critical Milestone: V1.2 Questionnaire release
Component: WP6 - CMIP5 Questionnaire Version:
Keywords: Cc:
Requirement: http://metaforclimate.eu/Work-Package-2/Developing-the-CIM/Project-Requirements-summary.htm

Description (last modified by bryan) (diff)

... and make sure the navigation tree gives hints as to status via colour of text or background ...

Change History

comment:1 Changed 5 years ago by bryan

  • Status changed from new to assigned
  • Priority changed from minor to critical

comment:2 Changed 5 years ago by bryan

Most of this is done (in sandbox that follows changeset:1227, can't check it in at the moment). However, need to be a bit clearer about what the validation can do for subcomponents etc, wrt to status in the tree control). Need to talk to Rupert ...

comment:3 Changed 5 years ago by bryan

  • Owner changed from bryan to rupert
  • Status changed from assigned to new

Rupert, what's the status of doing component by component validation? Eric rather wanted the tree to show colours for the ones that were valid, and those that were not.

To do that, model validation would need to go down component by component, marking the validation errors per component. How easy would this be to reinstate? (Don't much care if it's right ...)

comment:4 Changed 5 years ago by bryan

  • Description modified (diff)

comment:5 Changed 5 years ago by rupert

Validation will validate what you give it and does not know about component hierarchies etc. The solution is to do the validation separately for each component. To do this you need to tell the translator to not recurse when you call it for a particular component. There is a Translator method called setComponentOptions(recurse=T/F,composition=T/F). If you call this method with both arguments set to False you will just get validation for the component that you have pointed to.

Hopefully that will do what you want.

Cheers

-- Rupert

comment:6 Changed 4 years ago by rupert

  • Owner changed from rupert to bryan

I'm firing this back to you Bryan as a I think the validation api gives you what you need.

comment:7 Changed 4 years ago by bryan

  • Status changed from new to assigned

comment:8 Changed 4 years ago by bryan

  • Milestone changed from V1.0 CMIP5 Questionnaire Release to V1.1 Questionnaire Release

Still some work to do on the per component validation ... for 1.1

comment:9 Changed 3 years ago by bryan

  • Status changed from assigned to new
  • Owner changed from bryan to gerry
Note: See TracTickets for help on using tickets.