DSL-relatedDesignEnhancementFront endGood first issueHelp wantedHigh ImpactStale exempt😎 Cool
倉庫指標
- Star
- (1,778 star)
- PR 合併指標
- (平均合併 1天 6小時) (30 天內合併 67 個 PR)
描述
This will help with attaching multiple records from the same modal.
The suggestions could be added as a DSL option
field :memberships,
as: :has_many,
attach_suggestions: -> do
# this would feed of the regular query that's being made to fetch the suggestions
query.where.not(user_id: parent.id).or(query.where(user_id: nil))
end
- The results should be displayed using the
titleattribute set on the resource - If the resourse has the search description set, display that
- same for avatar
- when the user selects a few suggestions and clicks attach, we call to a new controller method to execute that logic
Image examples
