Project

General

Profile

Refactor #26198

ensure host list does not trigger a full page reload

Added by Ohad Levy 9 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
JavaScript stack
Target version:
-

Description

remove custom JS such as host_checkboxes from asset pipeline to webpack to allow turbolinks not to do a full page reload


Related issues

Related to Foreman - Task #23451: move all javascript/css assets to webpackNew2018-04-30
Related to Foreman - Bug #27831: Disabled buttons are still workingClosed

Associated revisions

Revision ac1fe0de (diff)
Added by Ohad Levy 8 months ago

fixes #26198 - ensure host list does not require full page reload

Revision 602ba31f (diff)
Added by Tomer Brisker 8 months ago

Refs #26198 - return result from deprecated js functions

Also, specify which version to remove them

Revision 1f29f0ac (diff)
Added by Kavita Gaikwad 8 months ago

Refs #26198 - fix resetSelection() calling as moved to react file

Revision 2d2f8479 (diff)
Added by Tomer Brisker 8 months ago

Refs #26198 - Replace foreman_url with tfm.tools.foremanURL

ac1fe0d moved the foreman_url js function to webpack and deprecated the
old version but there were still a couple of places calling it causing
warnings in the console. This replaces those use cases with the newer
function.

History

#1 Updated by The Foreman Bot 9 months ago

  • Assignee set to Ohad Levy
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6529 added

#2 Updated by Timo Goebel 8 months ago

  • Fixed in Releases 1.22.0 added

#3 Updated by Ohad Levy 8 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by The Foreman Bot 8 months ago

  • Pull request https://github.com/theforeman/foreman/pull/6638 added

#5 Updated by The Foreman Bot 8 months ago

  • Pull request https://github.com/theforeman/foreman/pull/6646 added

#6 Updated by Ohad Levy 8 months ago

  • Related to Task #23451: move all javascript/css assets to webpack added

#7 Updated by The Foreman Bot 8 months ago

  • Pull request https://github.com/theforeman/foreman/pull/6703 added

#8 Updated by Tomer Brisker 3 months ago

  • Related to Bug #27831: Disabled buttons are still working added

#9 Updated by Kavita Gaikwad 26 days ago

  • Related to Bug #28236: Uncaught ReferenceError: foreman_url is not defined on selecting life cycle env while creating/editing hostgroup added

#10 Updated by Kavita Gaikwad 26 days ago

  • Related to deleted (Bug #28236: Uncaught ReferenceError: foreman_url is not defined on selecting life cycle env while creating/editing hostgroup)

Also available in: Atom PDF