better new profile name handling - fixes #4325

This commit is contained in:
Eugene Pankov
2021-08-02 20:52:39 +02:00
parent c1a1f53707
commit ab8061ab39
6 changed files with 32 additions and 3 deletions

View File

@@ -46,6 +46,10 @@ export abstract class ProfileProvider<P extends Profile> {
abstract getNewTabParameters (profile: PartialProfile<P>): Promise<NewTabParameters<BaseTabComponent>>
getSuggestedName (profile: PartialProfile<P>): string|null {
return null
}
abstract getDescription (profile: PartialProfile<P>): string
quickConnect (query: string): PartialProfile<P>|null {