Skip to content

Comments 0.2.5: Likes work again, and replies get the full comment box

Comments 0.2.5 fixes likes and dislikes, which crashed on every click, and gives replies the same comment box as top-level comments. It is the first hex release since 0.2.1 and also carries the unreleased 0.2.2 to 0.2.4 work.

The crash came from an insert that relied on a unique index the database does not have. Reactions now check for an existing one first and insert normally.

Replies now get the GIF picker, the voice recorder and the full attach menu. The comment card is a vertical stack (author, label, text, date, actions) that fits narrow sidebars, and images fill the comment width. For embedding, the component takes show_title, collapsible, initial_collapsed and composer_position (:top, :bottom or :both). The remaining English texts in the component, the edit and reply forms are now translatable.

 

 


Comments 0.2.5. Install or update: {:phoenix_kit_comments, "~> 0.2"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.