Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: global-zone componentKey initial value error #2100

Merged
merged 2 commits into from Apr 28, 2024
Merged

Conversation

weird94
Copy link
Contributor

@weird94 weird94 commented Apr 28, 2024

close #xxx, #yyy, #zzzz

@univer-bot univer-bot bot added the qa:untested This PR is ready to be tested label Apr 28, 2024
Copy link

codecov bot commented Apr 28, 2024

Codecov Report

Attention: Patch coverage is 0% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 31.06%. Comparing base (2daefd7) to head (1d6a501).

Files Patch % Lines
...ervices/global-zone/desktop-global-zone.service.ts 0.00% 4 Missing ⚠️
...ui/src/views/components/global-zone/GlobalZone.tsx 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #2100      +/-   ##
==========================================
- Coverage   31.06%   31.06%   -0.01%     
==========================================
  Files        1207     1207              
  Lines       66172    66176       +4     
  Branches    13994    13994              
==========================================
  Hits        20556    20556              
- Misses      45616    45620       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Apr 28, 2024

View Deployment

📑 Examples 📚 Storybook
🔗 Preview link 🔗 Preview link

@weird94 weird94 removed the qa:untested This PR is ready to be tested label Apr 28, 2024
@weird94 weird94 merged commit 2404690 into dev Apr 28, 2024
9 checks passed
@weird94 weird94 deleted the fix/global-zone branch April 28, 2024 07:35
@@ -25,15 +25,22 @@ import type { IGlobalZoneService } from './global-zone.service';
export class DesktopGlobalZoneService implements IGlobalZoneService {
readonly visible$ = new Subject<boolean>();
readonly componentKey$ = new Subject<string>();
Copy link
Member

@wzhudev wzhudev Apr 28, 2024

Choose a reason for hiding this comment

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

Making this a BehaviorSubject and giving it an initial value would be a simpler fix.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

get

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.

None yet

3 participants