Feature #20573

Find is not working in the template editor

Added by Tomáš Strachota 5 months ago. Updated 5 months ago.

Status:Closed
Priority:Normal
Assigned To:Sebastian Gräßl
Category:Templates
Target version:Team Marek Iteration 19
Difficulty:trivial Bugzilla link:1389820
Found in release: Pull request:https://github.com/theforeman/foreman/pull/4764
Story points-
Velocity based estimate-
Release1.16.0Release relationshipAuto

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 5 months ago

Fixes #20573 - Include searchbox extension

History

#1 Updated by Tomáš Strachota 5 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 Team Marek backlog

#2 Updated by The Foreman Bot 5 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 5 months ago

  • Assigned To set to Sebastian Gräßl

#4 Updated by Tomáš Strachota 5 months ago

  • Target version changed from Team Marek backlog to Team Marek Iteration 19

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

  • Difficulty set to trivial

#6 Updated by Tomer Brisker 5 months ago

  • Release set to 1.16.0

#7 Updated by Anonymous 5 months ago

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

Also available in: Atom PDF