Project

General

Profile

Actions

action #1278

closed

AJAX/javascript action (with tests)

Added by ancorgs almost 11 years ago. Updated over 10 years ago.

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

100%

Estimated time:
15.00 h

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.

Actions #1

Updated by ancorgs almost 11 years ago

  • Priority changed from Urgent to High
Actions #2

Updated by ancorgs over 10 years ago

  • Target version set to Sprint 08
Actions #3

Updated by ancorgs over 10 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.

Actions #4

Updated by ancorgs over 10 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.

Actions #5

Updated by ancorgs over 10 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

Actions #6

Updated by ancorgs over 10 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

Actions #7

Updated by ancorgs over 10 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

Actions #8

Updated by ancorgs over 10 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

Actions

Also available in: Atom PDF