-
Notifications
You must be signed in to change notification settings - Fork 429
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
WIP: Extract strict_helpers_enabled? to component-local config #2092
base: introduce-component-local-config
Are you sure you want to change the base?
WIP: Extract strict_helpers_enabled? to component-local config #2092
Commits on Oct 8, 2024
-
Use ActiveSupport::Configurable to cascade config
ViewComponent::Base itself will always use the defaults. Any classes inheriting from ViewComponent::Base will cascade config down using InheritableOptions, only specifying any overrides. Generate options being on their own "layer of config is currently unresolved - it might be that config needs to be a new object inheriting from InheritableOptions that has method accessors for everything in that namespace. This was initially written to support extracting the incoming strict_helpers_enabled? option, but applies to everything.
Configuration menu - View commit details
-
Copy full SHA for 71c23c6 - Browse repository at this point
Copy the full SHA 71c23c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b4ba76 - Browse repository at this point
Copy the full SHA 4b4ba76View commit details -
Make GlobalConfig a proxy for Rails app config or ViewComponent base …
…config as necessary
Configuration menu - View commit details
-
Copy full SHA for 0ba800b - Browse repository at this point
Copy the full SHA 0ba800bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a655192 - Browse repository at this point
Copy the full SHA a655192View commit details -
Configuration menu - View commit details
-
Copy full SHA for f56832e - Browse repository at this point
Copy the full SHA f56832eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2531907 - Browse repository at this point
Copy the full SHA 2531907View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f40e96 - Browse repository at this point
Copy the full SHA 1f40e96View commit details -
Remove component-local config for now
No settings actually use it, but this would be the way to introduce it once we come to need it.
Configuration menu - View commit details
-
Copy full SHA for 4c89cbc - Browse repository at this point
Copy the full SHA 4c89cbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c0daf6 - Browse repository at this point
Copy the full SHA 2c0daf6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 161cee3 - Browse repository at this point
Copy the full SHA 161cee3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 43e1373 - Browse repository at this point
Copy the full SHA 43e1373View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5357491 - Browse repository at this point
Copy the full SHA 5357491View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65d8b93 - Browse repository at this point
Copy the full SHA 65d8b93View commit details -
Configuration menu - View commit details
-
Copy full SHA for f257c84 - Browse repository at this point
Copy the full SHA f257c84View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6511a91 - Browse repository at this point
Copy the full SHA 6511a91View commit details -
Configuration menu - View commit details
-
Copy full SHA for da9a3e7 - Browse repository at this point
Copy the full SHA da9a3e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for b76beaa - Browse repository at this point
Copy the full SHA b76beaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for fa526d1 - Browse repository at this point
Copy the full SHA fa526d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29f888a - Browse repository at this point
Copy the full SHA 29f888aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d3fa703 - Browse repository at this point
Copy the full SHA d3fa703View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a5727a - Browse repository at this point
Copy the full SHA 5a5727aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c4a0d94 - Browse repository at this point
Copy the full SHA c4a0d94View commit details -
Use ActiveSupport::Configurable to cascade config
ViewComponent::Base itself will always use the defaults. Any classes inheriting from ViewComponent::Base will cascade config down using InheritableOptions, only specifying any overrides. Generate options being on their own "layer of config is currently unresolved - it might be that config needs to be a new object inheriting from InheritableOptions that has method accessors for everything in that namespace. It seems like this solution is now applicable to everything, not just strict_helper_enabled?
Configuration menu - View commit details
-
Copy full SHA for 4e5301b - Browse repository at this point
Copy the full SHA 4e5301bView commit details -
Make GlobalConfig a proxy for Rails app config or ViewComponent base …
…config as necessary
Configuration menu - View commit details
-
Copy full SHA for e8bc4ef - Browse repository at this point
Copy the full SHA e8bc4efView commit details