view_component
https://github.com/viewcomponent/view_component
Ruby
A framework for building reusable, testable & encapsulated view components in Ruby on Rails.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
7 Subscribers
Add a CodeTriage badge to view_component
Help out
- Issues
- Fix load order issues for 3rd-party template handlers
- Allow passing Application-specific ViewComponents into slots
- ViewComponent 4.x Bug: ERB::Util.html_escape not working in test environment
- Fix segfault when Ruby coverage is enabled with Rails 8.1 ERB templates
- ApplicationController.render(component, layout: nil) ignores layout option in ActionCable broadcast context
- Add support for slot arguments
- Segmentation fault with Ruby 3.4 + Rails 8.1 when coverage is enabled (negative lineno in class_eval)
- Slim not being loaded after upgrade for version 4.0.2
- Instrumentation: emit event with view file
- There should be a way to set protocol (e.g. https) when using with_request_url
- Docs
- Enterprise::Account#mark_for_deletion
- Enterprise::Account#manually_managed_features
- MessageContentPresenter#survey_url
- MessageContentPresenter#should_append_survey_link?
- MessageContentPresenter#outgoing_content
- MicrosoftConcern#scope
- InstagramConcern#base_url
- InstagramConcern#make_api_request
- InstagramConcern#fetch_instagram_user_details
- InstagramConcern#exchange_for_long_lived_token