Skip to content

Nikolai Romanov | oct2025-3 | Legacy code | Sprint 1 | Purple Forest: Bugfix - #1

Open
kolya-rm wants to merge 5 commits into
mainfrom
coursework/bugfix
Open

Nikolai Romanov | oct2025-3 | Legacy code | Sprint 1 | Purple Forest: Bugfix#1
kolya-rm wants to merge 5 commits into
mainfrom
coursework/bugfix

Conversation

@kolya-rm

@kolya-rm kolya-rm commented Jun 2, 2026

Copy link
Copy Markdown
Owner

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

  • Fixed bug Can't login from profile page. Updated query and event for setup login view on profile view in the view/profile.mjs.
  • Fixed bug: extra long blooms. Added control over the inputed text length in the bloom-form component in the components/bloom-form.mjs.
  • Fixed bug hashtag slowing down my browser. Added check for the only one load of the blooms with requested hashtag in the view/hashtag.mjs.
  • Fixed bug Hashtag link doesn't work correctly. Updated a regular expression witch handle hashtag links in blooms in
    the components/bloom.mjs

Questions

kolya-rm added 5 commits May 31, 2026 21:10
 -  wrong query selector, for get login component, "[data-action=''login]" replaced by "[data-form='logout']"
 -  wrong event for login "click" replaced by "submit".
…ext length control. If inputed in the form text ovverides max length it will be short to max length.
…iew function. Because it invokes the state.updateState function which dispatchs "state-change" event. "state-change" event is listened by documend and is handled with the router.handleRouteChange function which after parsing window location hash calls the hashtag.hastagView function. Which leads to the infinite loop.
…quest if blooms with requested hashtag have got. In views/hashtag.hashtagView it comparates requested hashtage and saved in the state. If they equals it renders saved in the state blooms otherwise requested new blooms via apiService.
…ags. Replaced any non-hash symbol by any word symbol in regular expression used to find and replace hashtag.
@kolya-rm kolya-rm changed the title Nikolai Romanov | oct2025-3 | Legacy code | Sprint 1 | Bugfix Nikolai Romanov | oct2025-3 | Legacy code | Sprint 1 | Purple Forest: Bugfix Jun 3, 2026
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.

1 participant