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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

new feature: ReuseTabService method of UpdateTitle #3793

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jeffersyuan1976
Copy link
Contributor

馃 This is a ...

  • [鈭歖 New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • Bundle size optimization
  • Performance optimization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

馃敆 Related issue link

no issue link

馃挕 Background and solution

Sometimes, need UpdateTitle of reusetabs

馃摑 Changelog

Add UpdateTitle in reusetabservice

Language Changelog
馃嚭馃嚫 English UpdateTitle of ReuseTabService
馃嚚馃嚦 Chinese 鏇存敼閲嶇敤鏍囩椤电殑Title

鈽戯笍 Self Check before Merge

鈿狅笍 Please check all items below before review. 鈿狅笍

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • Changelog is provided or not needed

Copy link

github-actions bot commented Apr 11, 2024

Prepare preview

@@ -190,7 +190,15 @@ public void CreateTab(string pageUrl, RenderFragment? title = null)
_pageMap.TryAdd(pageUrl, new ReuseTabsPageItem() { Url = pageUrl, Title = title ?? pageUrl.ToRenderFragment(), CreatedAt = DateTime.MinValue });
OnStateHasChanged?.Invoke();
}

public void UpdateTitle(string pageUrl, RenderFragment? title = null)
Copy link
Member

Choose a reason for hiding this comment

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

The title for this method is not opt-in.

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

2 participants