Upgrade `view_component` to 4.x in the admin
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 5.3k
- Forks
- 1.4k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 62
Description
Desired Behavior
Upgrade ViewComponent to at least 4.1.1, although we can probably upgrade all the way to the most recent 4.x.
Current Behavior
Currently ViewComponent uses ActiveSupport::Configurable which has been removed in Rails 8.2. Technically the current version doesn't even support Rails 8.1 although it does seem to be working.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests. Start by locating the admin dependency declaration and its ViewComponent usage, then check the current Rails compatibility constraints; run the relevant admin tests and confirm they pass with ViewComponent 4.x, including Rails 8.1 compatibility.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rails, ruby
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100