Feature #20573

Find is not working in the template editor

Added by Tomáš Strachota 11 months ago. Updated 10 days ago.

Status:Closed
Priority:Normal
Assignee:Sebastian Gräßl
Category:Templates
Target version:1.16.0
Difficulty:trivial Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link:1389820 Found in Releases:
Pull request:https://github.com/theforeman/foreman/pull/4764

Description

Keyboard shortcut Ctrl+F isn't working in the template editor.

When a user hits Ctrl+F the ACE editor tries to load its searbox extension but apparently it fails. The log of the browser's network traffic shows GET request to https://<FOREMAN_URL>/templates/ext-searchbox.js that returns 404.

Reproducer steps:
- open a detail page of a provisioning template
- click on the editor textarea (to make sure it gets focus)
- press Ctrl+F

Current results:
Nothing happens.

Expected results:
It should open a searchbox within the template editor.

Associated revisions

Revision e11b8738
Added by Sebastian Gräßl 11 months ago

Fixes #20573 - Include searchbox extension

History

#1 Updated by Tomáš Strachota 11 months ago

  • Subject changed from Find is not working in the template editor to Find is not working in the template editor
  • Category changed from TFTP to Templates
  • Target version set to 115

#2 Updated by The Foreman Bot 11 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/4764 added

#3 Updated by Tomáš Strachota 11 months ago

  • Assignee set to Sebastian Gräßl

#4 Updated by Tomáš Strachota 11 months ago

  • Target version changed from 115 to 1.18.0-RC2

#5 Updated by Sebastian Gräßl 11 months ago

  • Difficulty set to trivial

#6 Updated by Tomer Brisker 11 months ago

  • Legacy Backlogs Release (now unused) set to 240

#7 Updated by Anonymous 11 months ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF