Skip to content

[IPR-979] Omit multiple unnecessary project title update calls #290

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

sashodada
Copy link
Contributor

Proposed Changes

  • only handle default project title update once, and do not invoke onUpdateProjectTitle to avoid title updates for nonexistent project
  • only call onUpdateProjectTitle if the title has changed AND the project has loaded

Reason for Changes

There are multiple calls to onUpdateProjectTitle while a project isn't actually loaded (e.g. the editor is in some "creating new" state). This causes multiple unnecessary and currently failing requests in WWW and side effects in other projects that integrate the editor.

@sashodada sashodada requested a review from a team as a code owner August 11, 2025 08:29
@KManolov3
Copy link
Contributor

Note to self: test this with www before next release

Copy link
Contributor

@georgyangelov georgyangelov left a comment

Choose a reason for hiding this comment

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

Looks good from my perspective, but we should ping CWF just in case.

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.

3 participants