Project

General

Profile

Actions

action #2244

closed

Migrate from prototype.js to jQuery.

Added by ancorgs about 10 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Feature requests
Target version:
-
Start date:
2014-04-04
Due date:
% Done:

20%

Estimated time:
6.00 h

Description

Prototype lost the war against jQuery long time ago, but for historical reasons we are still using it and is reducing our options every time we need a Javascript library or component (most of the cool stuff nowadays is based in jQuery).

Some things that needs to be changed (from the top of my head)

  • Calls to "$" and "$$"
  • Iterators (like "each", "eachSlide" and so on)
  • AJAX calls
  • ...

Useful cheatsheet: http://gneady.com/migrating-from-prototype-to-jquery/

To be really sure with the change, we should implement tests with Javascript support, but that is probably asking for too much right now.
https://progress.opensuse.org/issues/1272#note-15

Actions #1

Updated by ancorgs almost 10 years ago

  • Assignee deleted (_miska_)
  • Target version deleted (Sprint 06)
Actions #2

Updated by coolo almost 10 years ago

the task can't be set back to New - but noone is working on it

Actions #3

Updated by ancorgs almost 10 years ago

  • Status changed from In Progress to New
Actions #4

Updated by coolo over 9 years ago

  • Category set to 124
Actions #5

Updated by nadvornik about 9 years ago

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

Since pull request 151 jQuery is used in admin template.

Actions #6

Updated by coolo about 9 years ago

  • Status changed from In Progress to Resolved

https://github.com/os-autoinst/openQA/pull/231 needs work, but prototype is gone

Actions

Also available in: Atom PDF