Project

General

Profile

action #1278

AJAX/javascript action (with tests)

Added by ancorgs over 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
-
Target version:
Start date:
2014-01-27
Due date:
% Done:

100%

Estimated time:
15.00 h
Difficulty:

Description

There are several cases in the interface in which reloading the whole page is totally overkill. Right now is implemented this way due to the lack of a proper management for AJAX calls. With Mojolicious should be possible to rewrite those actions to avoid extra loading a whole new page.

History

#1 Updated by ancorgs over 8 years ago

  • Priority changed from Urgent to High

#2 Updated by ancorgs about 8 years ago

  • Target version set to Sprint 08

#3 Updated by ancorgs about 8 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 10

Already reimplemented 'cancel' as AJAX in tests list and live view. But the buildview needs some javascript refactoring to react gracefully. On it.

#4 Updated by ancorgs about 8 years ago

Light bulb problem. Every solution I can think for improving the AJAX behavior of the buildview implies rendering some parts with Javascript. Which means that we need to test the javascript, which leads to comment 15 on #1272.

#5 Updated by ancorgs about 8 years ago

  • % Done changed from 10 to 50

Canceling is fully AJAX now. A lot of changes in the buildview to support the new approach. More details at https://github.com/os-autoinst/openQA/pull/79

#6 Updated by ancorgs about 8 years ago

  • % Done changed from 50 to 70

Raise and lower priority also implemented as AJAX calls https://github.com/os-autoinst/openQA/pull/80

#7 Updated by ancorgs about 8 years ago

Improved cancel, raise and lower priority to call directly to the API, removing code from the webUI. https://github.com/os-autoinst/openQA/pull/81

#8 Updated by ancorgs about 8 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 70 to 100

Job restarting also implemented as AJAX calls to the API. https://github.com/os-autoinst/openQA/pull/82

Also available in: Atom PDF