From 6ebffb5a46a03de46f04df4e670c3ffcfc77f4af Mon Sep 17 00:00:00 2001 From: Istvan Soos Date: Mon, 7 Apr 2025 08:46:06 +0200 Subject: [PATCH 1/2] Additional package transfer notes when creating a publisher. --- .../templates/views/publisher/create_page.dart | 14 ++++++++++++++ .../frontend/golden/create_publisher_page.html | 5 +++++ pkg/web_app/lib/src/admin_pages.dart | 4 +++- 3 files changed, 22 insertions(+), 1 deletion(-) diff --git a/app/lib/frontend/templates/views/publisher/create_page.dart b/app/lib/frontend/templates/views/publisher/create_page.dart index 4ee0ecaae7..8cfe1e865e 100644 --- a/app/lib/frontend/templates/views/publisher/create_page.dart +++ b/app/lib/frontend/templates/views/publisher/create_page.dart @@ -63,6 +63,20 @@ d.Node createPublisherPageNode({ d.i(text: 'public contact email'), d.text(' of the publisher (you can change this later).'), ]), + d.p( + children: [ + d.text( + 'Note: packages are not transferred automatically to the publisher. ' + 'After you create a verified publisher, you can transfer your ' + 'packages to the publisher following '), + d.a( + href: + 'https://dart.dev/tools/pub/publishing#transferring-a-package-to-a-verified-publisher', + text: 'this guide', + ), + d.text('.'), + ], + ), d.p(text: 'As a member of the publisher you can:'), d.ul(children: [ d.li(children: [ diff --git a/app/test/frontend/golden/create_publisher_page.html b/app/test/frontend/golden/create_publisher_page.html index 929752fa5f..8411ffb961 100644 --- a/app/test/frontend/golden/create_publisher_page.html +++ b/app/test/frontend/golden/create_publisher_page.html @@ -138,6 +138,11 @@

Create a verified publisher

public contact email of the publisher (you can change this later).

+

+ Note: packages are not transferred automatically to the publisher. After you create a verified publisher, you can transfer your packages to the publisher following + this guide + . +

As a member of the publisher you can: