athityakumar / athityakumar/DashVis

Better partial templates by passing in Model instances

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
enhancement Housekeeping
Dominant language
CSS
Stars
30
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Currently, there are lots of heavy-work done by the controllers as well as views. The shared partials make it easy to be re-used, but there are lot of redundant variables (like, `name`, `description`, ...) which can be easily replaced by Model instances (like, `@table`, `@collection`, ...).

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue mentions controllers, views, shared partials, and model instances such as @table and @collection, but names no files or tests. Start by tracing the partials and the controllers that provide their redundant variables. Done means the shared partials receive the relevant model instances instead of separate variables, with existing behavior preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
rails, ruby
Domain
full-stack
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.