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

Document and clean up helper modules #474

Merged
merged 27 commits into from
Aug 26, 2024
Merged

Document and clean up helper modules #474

merged 27 commits into from
Aug 26, 2024

Conversation

spohlenz
Copy link
Member

This PR encompasses an overhaul of the Trestle helpers, particularly in regards to documentation. Comments have been added to most helpers intended for public use.

In addition it:

  • Added some missing specs for helper methods
  • Improved usage of kwargs options where appropriate
  • Updated to tag.foo format over legacy content_tag
  • Some minor cleanup and reorganization of helper modules
    • Removed turbo_stream_update_flash helper (use turbo_stream.flash instead)
    • Removed separate format_value_from_options method
    • Extracted Gravatar helpers into separate module

@coveralls
Copy link

coveralls commented Aug 26, 2024

Coverage Status

coverage: 91.463% (+0.8%) from 90.682%
when pulling 9805806 on helper-updates
into c2e8fe4 on main.

@spohlenz spohlenz merged commit 38c6118 into main Aug 26, 2024
41 checks passed
@spohlenz spohlenz deleted the helper-updates branch August 28, 2024 04:57
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.

2 participants