Project

General

Profile

action #2244

Migrate from prototype.js to jQuery.

Added by ancorgs over 8 years ago. Updated over 7 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
Difficulty:

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

History

#1 Updated by ancorgs about 8 years ago

  • Assignee deleted (_miska_)
  • Target version deleted (Sprint 06)

#2 Updated by coolo about 8 years ago

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

#3 Updated by ancorgs about 8 years ago

  • Status changed from In Progress to New

#4 Updated by coolo over 7 years ago

  • Category set to 124

#5 Updated by nadvornik over 7 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.

#6 Updated by coolo over 7 years ago

  • Status changed from In Progress to Resolved

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

Also available in: Atom PDF