Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • Sign in / Register
Minds Frontend
Minds Frontend
  • Project overview
  • Repository
  • Issues 381
  • Merge Requests 63
  • CI / CD
  • Security & Compliance
  • Packages
  • Analytics
  • Wiki
  • Snippets
  • Members
  • Collapse sidebar
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds FrontendMinds Frontend
  • Merge Requests
  • !750

Merged
Opened 1 week ago by Ben Hayward@benhayward.ben
Report abuse

Uninstantiated observable in Sockets #2489

  • Overview 1
  • Commits 2
  • Pipelines 3
  • Changes 1

Summary

Closes #2489 (closed)

Fixes an issue when the user is disconnected from the sockets server, before the error$ BehaviorSubject is instantiated in the connect hook.

Steps to test

  1. Log in
  2. Open a comment thread or make a new one
  3. 2 choices: a. Set browser to offline mode, error message should show up and disapear when you reconnect (note if that fails, try B. It fails in my browser but works for others) b. Manually take the review site down for this MR, check the message comes up and disapears correctly and there are no errors in console.

Estimated Regression Scope

This change performs a minor refactor to all socket comms on the site.

Edited 1 week ago by Ben Hayward
Request to merge fix/sockets-rxjs-handling-errors-2489 into master
Pipeline #115365904 passed with warnings for bd6a5972 on fix/sockets-rxjs-handling-errors-2489
              Merge request approved. Approved by
              Mark Harding
              Juan Manuel Solaro Brian Hatchet Emiliano Balbuena Xander Miller Rami Albatal

              Merged by Mark Harding 45 minutes ago

              The changes were merged into master with 8c856a55

              The source branch has been deleted

              Closed #2489 (closed)

              Pipeline #115694195 running for 8c856a55 on master
                              • Ben Hayward @benhayward.ben added Squad::Yellow Status::Awaiting Review scoped labels 1 week ago

                                added scoped labels

                              • Ben Hayward @benhayward.ben changed the description 1 week ago

                                changed the description

                              • Ben Hayward @benhayward.ben changed target branch from master to production 1 week ago

                                changed target branch from master to production

                              • Ben Hayward @benhayward.ben marked as a Work In Progress 1 week ago

                                marked as a Work In Progress

                              • Ben Hayward @benhayward.ben added 3 commits 1 week ago

                                added 3 commits

                                • 384f1800...c6474453 - 2 commits from branch production
                                • a6c81bfd - Added in handling for events firing before connect hook finished

                                Compare with previous version

                              • Ben Hayward @benhayward.ben unmarked as a Work In Progress 1 week ago

                                unmarked as a Work In Progress

                              • Emiliano Balbuena
                                Emiliano Balbuena @edgebal · 6 days ago
                                Developer

                                @benhayward.ben Pipeline issues

                              • Ben Hayward @benhayward.ben mentioned in issue #2515 6 days ago

                                mentioned in issue #2515

                              • Ben Hayward @benhayward.ben added 71 commits 23 hours ago

                                added 71 commits

                                • 5263c95a - (wip): Server Side Rendering - work in progress
                                • 0efe142e - (chore): update with master - closes #2414 (closed)
                                • ca77f94f - (feat): working mvp of ssr
                                • 8dfc9b3a - (chore): performance bumps and browser specific delays
                                • 4399c6bc - (fix): failing spec tests
                                • 6a3dac72 - (fix): plotly fix, preparation for full server bundle and xsrf token re-introduced
                                • 14ab8c6e - (chore): ci configs
                                • 46f380ca - (fix): do not cache mobile incorrectly
                                • cfe0cb4a - (chore): some minor fixes for mobile improvements
                                • 361ef20c - (fix): do not show permissions if logged out
                                • 7cb62c62 - (chore): introduce build optimizer
                                • e9eee3a7 - (chore): preload material icons to improve first paint
                                • cd9272cd - (feat): meta service for SEO
                                • 2a206794 - (refactor): SEO from backend to frontend
                                • 09374b66 - (refactor): remove all uses of window.Minds
                                • c53c0aaa - (refactor): storage to cookies where applicable
                                • 4fda5f24 - (chore): allow for epic branches to push docker containers to aws
                                • 17b9abb5 - (fix): do not return null for nsfw reasons
                                • 7652c43d - (fix): remind asset links
                                • ff284a94 - (chore): do not stretch checkboxes
                                • 8d424529 - (fix): css should be loaded with correct asset path
                                • befad6c1 - (chore): remove icon preload
                                • eaf8a773 - (chore): cookie notice for all
                                • fc1185d7 - (chore): reduce plotly bundle
                                • af02de4b - (fix): nsfw cookie fix and notices.json credential error
                                • 3c5dae2d - (fix): wallet not loading when loaded server side
                                • 2118f305 - (fix): groups not loading server side
                                • b5b38399 - (fix): do not applu 100% width to checkboxes on homepage
                                • 26795138 - (fix): bad url for avatars
                                • b73ee1b0 - (chore): fix seo for blogs
                                • 98fd4fbe - (chore): temporary favicons
                                • eeb4b9e1 - (fix): groups create page not loading
                                • 9c600c2c - Merge branch 'master' of https://gitlab.com/Minds/front into epic/SSR
                                • 1363cae7 - (fix): canary assets path
                                • 96c066b0 - (fix): sockets issue
                                • 03a80ca3 - (fix): wrong path for canary bg
                                • a0ab3d48 - (fix): try not to render css for checkboxes
                                • b876854f - (fix): only show more groups if we have groups
                                • c3b33785 - Merge branch 'master' of https://gitlab.com/Minds/front into epic/SSR
                                • 5a27ec5f - (feat): checkboxes on homepage
                                • a4d3e5e9 - (chore): update local build and serve scripts
                                • 95c2bfe7 - (fix): pro sites should wait for configs to be resolved
                                • 3a90b3dc - (fix): date dropdown should be in common posdt master merge
                                • adb6015c - (fix): reset router if pro
                                • f15627e1 - (fix): pro fixes
                                • 176a3c8f - (chore): move sentry to diagnostics service
                                • fc6a8b2e - (chore): sentry capture exception for pro
                                • 386ca4f8 - (fix): only render css bindings if in browser
                                • 2b3b74b3 - (chore): add Object type top platformId
                                • 75639885 - (fix): wrap session storage in try catch
                                • 7c5d306b - (fix): og tags incorrect
                                • da3ed520 - Merge branch 'master' of https://gitlab.com/Minds/front into epic/SSR
                                • 5fede3a6 - Merge branch 'master' of https://gitlab.com/Minds/front into epic/SSR
                                • 145a730f - (chore): some small ci changes to test production pipeline works with SSR
                                • 225dc6f3 - (chore): allow for master to hit preprod
                                • ff63f69d - Merge branch 'fix/modal-pager-sync' into 'production'
                                • fae30718 - Search period defaults and sort bar tweaks
                                • 410e752c - Merge branch 'chore/default-search-period' into 'master'
                                • 2261e73f - (chore): remove review dependency
                                • 5ffd58f5 - Merge branch 'production' of https://gitlab.com/Minds/front
                                • 44667f0d - (chore): bring sandbox helm chart branch to master
                                • fd261feb - (fix): remind preview cdn url - fixes #2531 (closed)
                                • 6fc73b99 - New Channel Registration, Signup button remains disabled
                                • 759cb8aa - Merge branch 'fix/register-issue-2527' into 'master'
                                • 9c924ddb - (feat): implements captcha - #646 (closed)
                                • a8ed91a5 - Merge branch 'feat/646-captcha' into 'master'
                                • edbca40b - (fix): #2535 (closed) pass route params to server
                                • 6968119e - Merge branch 'fix/2535-pass-through-queryparams' into 'master'
                                • 443efc60 - (fix): couple issues when configs fails to load
                                • c6310433 - (chore): add ssr to canary page
                                • bd6a5972 - Merge branch 'master' of gitlab.com:minds/front into fix/sockets-rxjs-handling-errors-2489

                                Compare with previous version

                                Toggle commit list
                              • Mark Harding @markeharding changed target branch from production to master 46 minutes ago

                                changed target branch from production to master

                              • Mark Harding @markeharding approved this merge request 45 minutes ago

                                approved this merge request

                              • Mark Harding @markeharding merged 45 minutes ago

                                merged

                              • Mark Harding @markeharding mentioned in commit 8c856a55 45 minutes ago

                                mentioned in commit 8c856a55

                              Please register or sign in to reply
                              0 Assignees
                              None
                              None
                              Milestone
                              None
                              Time tracking
                              No estimate or time spent
                              2
                              Labels
                              Squad::Yellow Status::Awaiting Review
                              Lock merge request
                              Unlocked
                              10
                              10 participants
                              user avatar
                              user avatar
                              user avatar
                              user avatar
                              user avatar
                              user avatar
                              user avatar
                              Reference: minds/front!750