Repository: dart-lang/pub-dev (dart)

Issue:
Make the package transfer mechanism more obvious
We have seen users expecting packages to be automatically transferred after a publisher is created.

Perhaps here https://github.com/dart-lang/pub-dev/blob/e21442b831939d8ca48747e79ca6fdf59878c4b9/pkg/web_app/lib/src/admin_pages.dart#L423
or here https://github.com/dart-lang/pub-dev/blob/54236ebc6248857148faf9ab3a07ad52a407e688/app/lib/frontend/templates/views/publisher/create_page.dart#L64 we can remind people of that. 

For example

> After creating a publisher, you can transfer packages into the publisher following: https://dart.dev/tools/pub/publishing#transferring-a-package-to-a-verified-publisher

Pull request:
Fixes #8678

Patch:
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/pkg/web_app/lib/src/admin_pages.dart b/pkg/web_app/lib/src/admin_pages.dart
index 77940913b4..816249518d 100644
--- a/pkg/web_app/lib/src/admin_pages.dart
+++ b/pkg/web_app/lib/src/admin_pages.dart
@@ -420,7 +420,9 @@ class _CreatePublisherWidget {
       fn: () async {
         await api_client.client.createPublisher(publisherId);
       },
-      successMessage: text('Publisher created. The page will reload.'),
+      successMessage: text(
+          'Publisher created. You can now transfer packages to this publisher. '
+          'The page will reload.'),
       onSuccess: (_) {
         window.location.pathname = '/publishers/$publisherId/admin';
       },


Test patch:
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 @@ <h2>Create a verified publisher</h2>
         <i>public contact email</i>
         of the publisher (you can change this later).
       </p>
+      <p>
+        Note: packages are not transferred automatically to the publisher. After you create a verified publisher, you can transfer your packages to the publisher following
+        <a href="https://dart.dev/tools/pub/publishing#transferring-a-package-to-a-verified-publisher">this guide</a>
+        .
+      </p>
       <p>As a member of the publisher you can:</p>
       <ul>
         <li>