stufro/chordly

Make bin page searchable

Offen

#37 geöffnet am 21.07.2025

 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Ruby (11 Forks)auto 404
good first issue

Repository-Metriken

Stars
 (60 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 5h 45m) (1 gemergte PR in 30 T)

Beschreibung

I'd like to be able to search list of chord sheets which have been deleted.

Requirements

  • The existing search_controller.js is used to implement the search functionality
    • You can see examples of how this is used on the chord sheet and set list show pages.
    • For example in the chords sheets _library.html.slim partial, the search controller is attached to a div and the input element is configured, then in _chord_sheet.html.slim partial on line 1 we define the target and line 9 define the search term.
  • A cypress test is added in spec/cypress/e2e/chord_sheets.cy.js
    • Run rake cy:open to run tests whilst developing
    • You can define a test with it.only("...") to make cypress just run that 1 test on reload

Contributor Guide