⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@Mikiyas-STP
Copy link

@Mikiyas-STP Mikiyas-STP commented Dec 26, 2025

Learners, PR Template

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

Changelist

This PR is done for the new feature implementation -Follow/ Unfollow button

Questions

No question

Bug Report: Can't log in from profile page 🔗
Steps to reproduce:

Load site with sample data populated.
Log in as sample / sosecret
Click on a username (e.g. AS) in a bloom shown in the timeline
Click logout
Log in as sample / sosecret
Expect to see: A logged in view of AS’s profile, with a “Logout” button in the top-right.

Actually see: A 501 error page saying “Server does not support this operation.”

:gear: bug

DONE now
…characters! But AS has a bloom which is longer than that! Not fair! => This bug is fixed now
… link doesn't work correctly, When loading the populated data, the user Swiz’s second bloom (which reads “Let’s get some #SwizBiz love!!”) has weird hashtag links.

If you click the word “#SwizBiz” it takes you to an empty page which doesn’t show any blooms. I would expect at least the bloom I clicked the link in to be shown, and also perhaps any others containing the hashtag.

On the other hand, in their other bloom (“New album dropping at midnight! Pre-save now! #SwizBiz”), clicking on “#SwizBiz” does take you to exactly what I expect - a page showing blooms containing #SwizBiz including the one I clicked from.
…n for checking if the current hashtag is there we dont need to fetch its own data. makes sense
@Mikiyas-STP Mikiyas-STP added 📅 Sprint 1 Assigned during Sprint 1 of this module Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Dec 26, 2025
Copy link
Member

@illicitonion illicitonion left a comment

Choose a reason for hiding this comment

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

There seems to be quite a lot of unrelated changes in this PR? Please can you remove them so this PR only does one thing?

Comment on lines +176 to +189
#Extract content safely
content = request.json.get("content", "")
# Limit content length
MAX_BLOOM_LENGTH = 280
if len(content) > MAX_BLOOM_LENGTH:
return make_response(
{
"success": False,
"message": f"Bloom cannot exceed {MAX_BLOOM_LENGTH} characters",
},
400,
)

blooms.add_bloom(sender=user, content=request.json["content"])
blooms.add_bloom(sender=user, content=content)
Copy link
Member

Choose a reason for hiding this comment

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

This change seems unrelated to the PR? Can you revert it?

@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 Jan 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reviewed Volunteer to add when completing a review with trainee action still to take. 📅 Sprint 1 Assigned during Sprint 1 of this module

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

2 participants