Bug #16119

Drop jQuery in Tails verification extension

Added by Anonymous 2018-11-11 14:10:50 . Updated 2018-12-05 09:48:31 .

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Target version:
Start date:
2018-11-11
Due date:
% Done:

0%

Feature Branch:
verification-extension:usbimage
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Verification Extension
Deliverable for:

Description

Everything that is done with jquery can be done in vanillaJS. I did not do that yet, but ideally, we’d do it at some point on some kind of budget line that we have outside of this grant. What


Subtasks


Related issues

Related to Tails - Bug #15995: Have Tails Verification handle IDFs with several Tails installation paths (ISO/IMG) Resolved 2018-09-28

History

#1 Updated by Anonymous 2018-11-11 14:11:00

  • related to Bug #15995: Have Tails Verification handle IDFs with several Tails installation paths (ISO/IMG) added

#2 Updated by intrigeri 2018-11-11 16:33:41

> Everything that is done with jquery can be done in vanillaJS.

May I ask what would be the benefit of doing this migration work? (JS newbie here :)

#3 Updated by Anonymous 2018-11-12 13:50:26

The benefit of this is to ship one less library.

i.e.:

- extension will be lighter (in bytes)

- extension will be faster: because this code does not need to be injected in the user’s browser and we would rely on browser built-in JS
- we don’t have to update the library in the extension regularly: less maintenance work for us

I think there is clearly a benefit and it would require ~1 hour of work to make that happen.

#4 Updated by intrigeri 2018-11-12 14:44:37

> The benefit of this is to ship one less library. i.e.:

Thanks for educating me! I’m convinced :)

#5 Updated by Anonymous 2018-12-05 09:48:08

  • Status changed from Confirmed to Fix committed
  • Feature Branch set to verification-extension:usbimage

I’ve done this in Bug #15995.

#6 Updated by Anonymous 2018-12-05 09:48:31

  • Status changed from Fix committed to Resolved