solidusio / solidusio/solidus

Upgrade `view_component` to 4.x in the admin

Open
#6,569 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

changelog:solidus_admin
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.