Giter VIP home page Giter VIP logo

webappdirac's People

Contributors

acasajus avatar andresailer avatar atsareg avatar chaen avatar chrisburr avatar eo300 avatar fstagni avatar graciani avatar kiyoshi-hayasaka avatar nikolalazovski avatar rupozzi avatar sbalbp avatar sfayer avatar sposs avatar taykyoku avatar taykyoku2 avatar vmendez avatar wirespecter avatar xianghuzhao avatar yujikato avatar zhangxiaomei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

webappdirac's Issues

JobManager Usability

  1. If many things are selected the submit, reset and refresh buttons dissapear and there's no scroll to get to them. A scroll bar has to be added somehow. Also, it'd be useful if these buttons were on the top of the selections instead of at the bottom.
  2. The grid refresh button should be the same as the selection panel submit button. It's confusing to change selection and when clicking refresh, the selection is ignored.
  3. Maybe it's better to place the grid toolbar at the top instead of at the bottom.

Group/Setup change do not work

Changing group or setup via menu in the bottom-right part of the page ends up in a blank page that does not have the new group/setup selected.

Save State

when overwriting an existing State, a confirmation message should appear

Save as, does not consider an existing StateName as valid value, but the reason is not clear. I would suggest to:

  • Display existing Names
  • Allow to select them
  • Allow to overwrite States with a confirmation

JobMonitoring controller does not make async RPC calls

There's looooots of code like:

def web_doSomething( self ):
  RPC = RPCClient("WorkloadManagement/JobMonitoring")      
  data = RPC.doSomething()
  ...

whereas it should be:

@asyncGen
def web_doSomething( self ):
  RPC = RPCClient("WorkloadManagement/JobMonitoring")      
  data = yield self.threadTask( RPC.doSomething )
  ...

Selection is not carried across accounting apps

When clicking a "New" to generate a new window with the plot, the selection data is not taken into account

screen shot 2013-07-08 at 15 35 36

In the screenshot, the bottom app has been created by clicking new on the top one. The bottom one doesn't have the selection applied (missing Site)

Accounting Plot -> Accounting

Should we rename it?

Refresh: Icon plus Text
Stretch: Icon plus Text (move by Refresh)
(to make them consistent with other Applications)

There should be no space left at the botom/right margins of the images

AutoRefresh/Stretch State is not saved

Restore of the Windows triggers a Refresh of the plot????

AutoRefresh/Stretch State should be kept when "New" plot is created

How do we recover the selection of a given plot?, I propose that issuing New goes back to original selection.

Accounting page

I am using volhcb25 machine with compiled js code. I am getting the following error:
NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMHistory.pushState]
[Break On This Error]

...ls:c.cols,rows:c.rows});return a},afterRender:function(){var a=this;a.callParent...

Exception in the JobMonitorHandler

Probably all cases are not covered:

File "/Users/adria/Devel/diracRoot/WebAppDIRAC/WebApp/handler/JobMonitorHandler.py", line 28, in web_getJobData
  result = result["Value"]
KeyError: 'Value'

Check that result[ 'OK' ] is true before getting the value.

File Catalog

  • When a path is selected from the FC Browser, the "compatible" metadata has to be updated. The selection should not be changed. It can produced an empty match (this is not a problem).
  • When a new query is submitted the "page" should be reset to 1
  • When a query returns nothing, the display grid should be updated accordingly.
  • We need to define a mechanism for refreshing the info (in case new files have been registered).

JobManager error

If there are no jobs to be shown this exception is raised:

File "/Users/adria/Devel/diracRoot/WebAppDIRAC/WebApp/handler/JobMonitorHandler.py", line 43, in web_getJobData
  if not (len(result["ParameterNames"]) > 0):
KeyError: 'ParameterNames'

BTW: What are all those <pass> in the JobMonitor. Shouldn't the be <return> or something?

UserProfile

I just realised when I change the setup from development to production then we still use the development UserProfile while we must use the production one. It is because we create the UserProfile:
def __getUP( self ):
try:
obj = self.request.arguments[ 'obj' ][-1]
app = self.request.arguments[ 'app' ][-1]
except KeyError as excp:
raise WErr( 400, "Missing %s" % excp )
return UserProfileClient( "Web/%s/%s" % ( obj, app ))
We have to provide the RPC client to the UserProfileClinet in order to get the proper setup.

Window Header

buttons should have a context Help message:
Close, Pin, Unpin, Save State, ...

Accounting by Tier Level

It would be nice that the Sites menu of the Accounting Allows extra keywords "Tier1", "Tier2",... The tier level is no used to sort the list of Sites but a explicit way to select all of them at a given level.

Accounting bug:

Raja from LHCb has found a bug in the accounting app.

When I go to "Accounting Plot" and select category "Pilot", the window/frame goes into an eternal "Wait ..."

Looking in the dev console:

Uncaught TypeError: Cannot read property 'length' of undefined AccountingPlot.js:21

JobMonitor: It's the small details that matter

  • Set 100 as the default entries in the JobMonitor
  • Save the number of entries per page in the state
  • Save the "hide" state of the selection panel
  • By default order the jobs by descending Job ID
  • When retrieving a Pilot output from a job. Server responded with a status of 500 (Internal Server Error). And the js gets stuck in waiting.

Load State

When loading a new Desktop State, the user is asked if he wants to save the current state, if yes is answered, the corresponding dialog should be opened and when closed (with save or cancel) the requested state should be loaded.

Unpin behaviour

When unpin, the application should recover the same location and dimensions it had when pinned.

When uppin the header should have a "hide header" button.

ComboBox Selector

When there are few items to be selected the size is 1 item too small.
1 Items, Nothing is seen
2 items, 1 it is seen, no scroll is displayed, if you have a mouse with wheel you are able to see both of them
3 items, 2 are displayed and the scroll is shown (but it looks ridiculous)
...

Use of keyboard shortcuts

This is a feature request: please implement keyboard shortcuts for moving between the different applications.

JobManager Exception

When opening the job manager if return gets an S_ERROR an exception is raised in the web server:

Traceback (most recent call last):
  File "/Users/adria/Devel/diracRoot/Darwin_x86_64_10.7/lib/python2.6/site-packages/tornado/web.py", line 1115, in _stack_context_handle_exception
    raise_exc_info((type, value, traceback))
  File "/Users/adria/Devel/diracRoot/Darwin_x86_64_10.7/lib/python2.6/site-packages/tornado/stack_context.py", line 302, in wrapped
    ret = fn(*args, **kwargs)
  File "/Users/adria/Devel/diracRoot/Darwin_x86_64_10.7/lib/python2.6/site-packages/tornado/gen.py", line 550, in inner
    self.set_result(key, result)
  File "/Users/adria/Devel/diracRoot/Darwin_x86_64_10.7/lib/python2.6/site-packages/tornado/gen.py", line 476, in set_result
    self.run()
  File "/Users/adria/Devel/diracRoot/Darwin_x86_64_10.7/lib/python2.6/site-packages/tornado/gen.py", line 507, in run
    yielded = self.gen.send(next)
  File "/Users/adria/Devel/diracRoot/WebAppDIRAC/WebApp/handler/JobMonitorHandler.py", line 29, in web_getJobData
    result = result["Value"]
KeyError: 'Value'

Configuration Manager

Typo: diffrence -> difference
Better: Show diff. (to reduce the text)

When inserting a multiline value:
te
tet
after the Submit one gets:
te,tet
in the Value box.
A second Submit produces:
tetet
as Value.

commas and new lines should be proper "read" in the Value and after submit the Value should be properly reformatted

Accounting initial window size

Set the initial accounting window to a square size (NxN where N is min( desktop.witdh, desktop.height ) / 2 ) so the fist plot is not too deformed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.