Skip to content

Conversation

@LynxLynxx
Copy link
Contributor

Description

Using new stream source for worksapce bloc

Please confirm the following checks

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream module

@LynxLynxx LynxLynxx self-assigned this Nov 27, 2025
@LynxLynxx LynxLynxx added review me PR is ready for review squad: face Frontend Catalyst Experience Team refactor Code refactoring task labels Nov 27, 2025
@LynxLynxx LynxLynxx moved this from New to 👀 In review in Catalyst Nov 27, 2025
@LynxLynxx LynxLynxx marked this pull request as ready for review November 27, 2025 16:11
}

void _handleActiveAccountIdChange(CatalystId? id) {
if (isClosed) return;
Copy link
Contributor

Choose a reason for hiding this comment

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

you're closing _activeAccountIdSub on close. This shouldn't be necessary but won't hurt either


extension _ProposalPublishExt on ProposalPublish {
static ProposalPublish getStatus({required bool isFinal, required DocumentRef ref}) {
if (isFinal && DocumentRef is SignedDocumentRef) {
Copy link
Contributor

Choose a reason for hiding this comment

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

DocumentRef is SignedDocumentRef hmmm

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah it's not needed because its already final

Copy link
Contributor

Choose a reason for hiding this comment

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

It was about checking if type is different type. DocumentRef is SignedDocumentRef, instead or variable ref is SignedDocumentRef

@github-actions
Copy link
Contributor

📚 Docs Preview

The docs for this PR can be previewed at the following URL:

https://docs.dev.projectcatalyst.io/voices/chore/use-new-db-in-workspace

Copy link
Contributor

@damian-molinski damian-molinski left a comment

Choose a reason for hiding this comment

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

I think there are few unnecessary checks (if(isClosed) return;), especially in stream listeners methods but overall LGTM

@LynxLynxx LynxLynxx merged commit f169d34 into feat/workspace-tabs-3692 Dec 1, 2025
46 checks passed
@LynxLynxx LynxLynxx deleted the chore/use-new-db-in-workspace branch December 1, 2025 08:32
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in Catalyst Dec 1, 2025
LynxLynxx added a commit that referenced this pull request Dec 1, 2025
* feat: adding translations

* chore: update workspace page

* chore: update user proposals

* feat: workspace proposal filter

* chore: adding new implemention of proposal brief

* feat: workspace proposal tab

* feat: adding new proposal invites

* chore: move widgets in widget dir

* feat: adding empty state for proposal invites

* feat: updating filters

* feat: updating filters options

* feat: proposal invites count

* fix: spelling

* chore: review update

* feat: adding new options to filters and brief data

* feat(cat-voices): Using new stream source for WorkspaceBloc (#3785)

* feat: working integration

* chore: use bloc instead of cubit

* chore: final changes

* chore: selfreview

* feat: review update

* fix: readme

* chore: rename factory constructor

* feat: merge collaborators status enum into one

* fix: format
@LynxLynxx LynxLynxx mentioned this pull request Dec 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Code refactoring task review me PR is ready for review squad: face Frontend Catalyst Experience Team

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

5 participants