Skip to content

Barcelona | class-oct2025-2 | Olha Koreniuk | Legacy Code | Sprint 1 | Fix rebloom - #6

Open
olhakoreniuk-debug wants to merge 1 commit into
mainfrom
fix-rebloom
Open

Barcelona | class-oct2025-2 | Olha Koreniuk | Legacy Code | Sprint 1 | Fix rebloom#6
olhakoreniuk-debug wants to merge 1 commit into
mainfrom
fix-rebloom

Conversation

@olhakoreniuk-debug

Copy link
Copy Markdown
Owner

Learners, PR Template

Self checklist

  • I have committed my files one by one, on purpose, and for a reason
  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • I have tested my changes
  • My changes follow the style guide
  • My changes meet the requirements of this task

Changelist

  • Added database support for reblooming a bloom.
  • Added an authenticated rebloom endpoint and route.
  • Added reblooms to home timelines and user profiles.
  • Preserved the original bloom author and displayed the rebloomer.
  • Added a rebloom count and prevented duplicate reblooms by the same user.

Frontend update

  • Added a Rebloom button and rebloom count to bloom cards.
  • Added frontend handling for rebloom requests.
  • Added distinct styling and a “Rebloomed by” label for rebloomed posts.
  • Tested creating a rebloom and verified that it appears at the top of the timeline.
  • Tested repeated clicks and verified that they do not create duplicates.

Comment thread backend/endpoints.py
limit=50,
)

# Get the current user's own blooms

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Don't remove the comments. As we talked about, comments in the code are very useful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants