Skip to content

Manchester | 26-SDC-Jun | Fithi Teklom | Sprint 2 | Rebloom Bloom - #300

Open
Fithi-Teklom wants to merge 5 commits into
CodeYourFuture:mainfrom
Fithi-Teklom:feature/rebloom-bloom
Open

Fithi-Teklom wants to merge 5 commits into
CodeYourFuture:mainfrom
Fithi-Teklom:feature/rebloom-bloom

Conversation

@Fithi-Teklom

Copy link
Copy Markdown

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Task code

CYF-1171

Changelist

-Added re-bloom functionality to allow users to re-bloom existing blooms.
-Updated the home timeline to display re-blooms and attribution.
-Prevented duplicate re-blooms by the same user.
-Fixed bloom content text wrapping in the timeline.

###Testing
-Verified re-blooms appear in the home timeline.
-Confirmed duplicate re-blooms are handled correctly.
-Checked that long bloom content wraps onto multiple lines.

@Fithi-Teklom Fithi-Teklom added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Oct 13, 2026

@illicitonion illicitonion left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This generally looks ok, but quite a few things don't seem quite right in the UI.

I signed in and rebloomed something. The page refreshed, but nothing changed. There was no indication my rebloom was successful. The original bloom didn't seem changed at all. If I try re-blooming it again, the button updates to say "Already re-bloomed".

I looked at my home timeline, the timeline of my user, and the timeline of the user who made the original bloom. None seemed changed at all by the fact that I'd done a rebloom.

Please give some thought to these and fix up your implementation so what's going on is more obvious to the user.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You've added this file, which is useful, but it doesn't currently get added to the database.

You should either update the existing scripts to run this file, or add an entry a README or similar explaining how to apply it.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the feedback. I’ve improved the re-bloom success message, fixed the home and profile timelines to display re-blooms, and added documentation explaining how to apply the database migration.

@illicitonion illicitonion added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Oct 13, 2026
@Fithi-Teklom Fithi-Teklom added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. and removed Reviewed Volunteer to add when completing a review with trainee action still to take. labels Oct 13, 2026

@illicitonion illicitonion left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This generally looks good, but a few things still to consider, as well as the specific comments:

  1. When I open a page with a bloom I've already rebloomed, I see a "Re-bloom" button that will never work. Can you avoid showing people buttons they can't actually do/click?
  2. I don't see reblooms in the home timeline, only in a user's timeline

Comment thread backend/endpoints.py Outdated
user_blooms = blooms.get_blooms_for_user(profile_username)
user_blooms.reverse()
return jsonify(user_blooms)
user_reblooms = blooms.get_reblooms_for_user(profile_username)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of this code looks exactly the same as the code in other_profile - how could you avoid this duplication?

Comment thread front-end/components/bloom.mjs Outdated
Comment on lines +33 to +35
setTimeout(() => {
window.location.reload();
}, 1000);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We generally avoid reloading the whole page - can you cause a re-render without reloading the whole page?

@illicitonion illicitonion added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Oct 14, 2026
@Fithi-Teklom Fithi-Teklom added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. and removed Reviewed Volunteer to add when completing a review with trainee action still to take. labels Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed.

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

2 participants