Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Search Frontend #136

Merged

Conversation

jaredmoody
Copy link
Contributor

@jaredmoody jaredmoody commented Feb 21, 2022

Reduce the need for custom javascript by leveraging Turbo and HTML conventions:

  • By using a form, Turbo handles submission for us and fires events we can use to toggle the loading icon.
  • Use css to handle display of loading icon

@jaredmoody jaredmoody force-pushed the search-stimulus-controller branch from 62d83b0 to aac8984 Compare February 21, 2022 04:53
@coveralls
Copy link

coveralls commented Feb 21, 2022

Pull Request Test Coverage Report for Build 1879672443

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 96.914%

Totals Coverage Status
Change from base Build 1873840416: 0.0%
Covered Lines: 691
Relevant Lines: 713

💛 - Coveralls

@jaredmoody jaredmoody force-pushed the search-stimulus-controller branch 3 times, most recently from cf199da to 94f2a7c Compare February 22, 2022 04:38
app/assets/stylesheets/components/search.css Outdated Show resolved Hide resolved
test/system/search_test.rb Outdated Show resolved Hide resolved
app/views/shared/_search_bar.html.erb Show resolved Hide resolved
app/views/shared/_search_bar.html.erb Outdated Show resolved Hide resolved
@jaredmoody jaredmoody force-pushed the search-stimulus-controller branch 3 times, most recently from 7b9ccaa to dd3eb66 Compare March 7, 2022 07:23
@jaredmoody jaredmoody requested a review from aidewoode March 7, 2022 07:26
@jaredmoody
Copy link
Contributor Author

OK I think I addressed everything in the comments you left, let me know if it looks good now!

Reduce the need for custom javascript by leveraging Turbo and HTML conventions:

- By using a form, Turbo handles submission for us
- Use css to handle display of loading icon
@jaredmoody jaredmoody force-pushed the search-stimulus-controller branch from dd3eb66 to 15f26cb Compare April 19, 2022 04:04
@jaredmoody jaredmoody requested a review from aidewoode April 19, 2022 04:06
@aidewoode aidewoode merged commit febf08b into blackcandy-org:master Apr 25, 2022
@jaredmoody jaredmoody deleted the search-stimulus-controller branch May 30, 2023 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants