Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

icat usage display #9584

Closed
mantid-builder opened this issue Jan 22, 2014 · 1 comment
Closed

icat usage display #9584

mantid-builder opened this issue Jan 22, 2014 · 1 comment
Labels
Framework Issues and pull requests related to components in the Framework
Milestone

Comments

@mantid-builder
Copy link
Collaborator

Original Reporter: Jay Rainey

In an email Owen noted that:

It be a useful feature in MantidPlot to have a green light feature for ICAT usage? That way you could determine whether ICAT could be used very easily. There are many issues that could affect this on both the server and client side. A help button next to it which might help you to trouble shoot issues and report problems would be great.

I have partially addressed this by adding significantly better error messages for uploading/downloading in http://trac.mantidproject.org/mantid/ticket/8727. I now use error messages that the IDS returns when an error occurs. For example, if a file already exists when publishing the user gets an informative message to indicate this, a long with the related filename/ID of the file being published.

To implement this I will need to create a few small labels on the Search and Publish interfaces that indicate the server status (up = green & down = red).

=== ICAT search usage ===

  1. Obtain the status of the ICAT server using getAPIVersion().
  2. If a version is returned then ICAT server is alive. Set the label to green. Otherwise, set the label to red and create a button that lets users report the problem to the Mantid team.
  3. Create a small label on the Search GUI that changes in color to shows the user ICAT usage. For example:
  ICAT Status: {small colored label} (When user hovers display detailed usage message)

=== IDS publishing usage ===

  1. Perform ids.ping to obtain the status of the server (up/down).

  2. Add and update a label as described above.

    Keywords: ICAT

@mantid-builder mantid-builder added the Framework Issues and pull requests related to components in the Framework label Jun 3, 2015
@mantid-builder mantid-builder added this to the Release 3.1 milestone Jun 3, 2015
@mantid-builder
Copy link
Collaborator Author

This issue was originally trac ticket 8740

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Framework Issues and pull requests related to components in the Framework
Projects
None yet
Development

No branches or pull requests

1 participant