discourse/plugins/discourse-solved/db/migrate
David Battersby 9a3f8569d8
FEATURE: add solved me too button (#39652)
Members can share that they’re experiencing a reported issue so that
admins can see how pervasive an issue is and members can opt into
hearing about the issue’s solution.

### Acceptance criteria

- When viewing an unsolved topic in a support category, members can
click or tap a Me too (N) button to indicate that they are also
experiencing this issue.
- The (N) indicates how many people have already clicked this button. It
should start at 1 to represent the topic author.
- When a topic has a solution, hide the Me too (N) button.
- After clicking the button, the topic’s notification level will change
to Tracking (if not already Tracking or Watching).
- If an anonymous user clicks the Me too (N) button, they will be
prompted to log in.

### How it looks

The **topic author** will see the button which already includes them as
the initial user with the issue. The button has read-only state for the
OP user (no-op):

<img width="1562" height="494" alt="image"
src="https://github.com/user-attachments/assets/2006b95a-04a3-427f-8250-334949d4fb53"
/>


**Other signed in users** can toggle the button:

<img width="1332" height="482" alt="image"
src="https://github.com/user-attachments/assets/68ee4c9e-c87a-47a1-94aa-04d7eaaaacc5"
/>


Internal ref: /t/181764

---------

Co-authored-by: awesomerobot <kris.aubuchon@discourse.org>
2026-05-13 17:03:25 +04:00
..
20191209095548_ensures_unique_accepted_answer_post_id.rb
20210218022053_solved_fix_high_auto_close_topic_hours.rb
20210429154322_remove_nil_custom_fields_from_solved.rb
20210618142654_recreate_solutions_column.rb
20221121223417_rename_badges.rb
20240116100023_fill_accept_all_solutions_allowed_groups_based_on_deprecated_setting.rb
20250318024824_create_discourse_solved_solved_topics.rb
20250318024953_copy_solved_topic_custom_field_to_discourse_solved_solved_topics.rb
20250318024954_remove_duplicates_from_discourse_solved_solved_topics.rb
20250318025147_add_index_for_discourse_solved_topics.rb
20250325074111_copy_remaining_solved_topic_custom_field_to_discourse_solved_solved_topics.rb
20260310120000_populate_solved_category_custom_fields_from_site_settings.rb
20260319120000_add_notify_on_solved_to_user_options.rb FEATURE: add setting to opt out of solved notifications (#38730) 2026-04-01 18:47:30 +04:00
20260429122035_create_discourse_solved_shared_issues.rb FEATURE: add solved me too button (#39652) 2026-05-13 17:03:25 +04:00