Skip to content

Commit be466da

Browse files
authored
Additional package transfer notes when creating a publisher. (#8701)
1 parent d8b1d2f commit be466da

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

app/lib/frontend/templates/views/publisher/create_page.dart

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,20 @@ d.Node createPublisherPageNode({
6363
d.i(text: 'public contact email'),
6464
d.text(' of the publisher (you can change this later).'),
6565
]),
66+
d.p(
67+
children: [
68+
d.text(
69+
'Note: packages are not transferred automatically to the publisher. '
70+
'After you create a verified publisher, you can transfer your '
71+
'packages to the publisher following '),
72+
d.a(
73+
href:
74+
'https://dart.dev/tools/pub/publishing#transferring-a-package-to-a-verified-publisher',
75+
text: 'this guide',
76+
),
77+
d.text('.'),
78+
],
79+
),
6680
d.p(text: 'As a member of the publisher you can:'),
6781
d.ul(children: [
6882
d.li(children: [

app/test/frontend/golden/create_publisher_page.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,11 @@ <h2>Create a verified publisher</h2>
138138
<i>public contact email</i>
139139
of the publisher (you can change this later).
140140
</p>
141+
<p>
142+
Note: packages are not transferred automatically to the publisher. After you create a verified publisher, you can transfer your packages to the publisher following
143+
<a href="https://dart.dev/tools/pub/publishing#transferring-a-package-to-a-verified-publisher">this guide</a>
144+
.
145+
</p>
141146
<p>As a member of the publisher you can:</p>
142147
<ul>
143148
<li>

pkg/web_app/lib/src/admin_pages.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,9 @@ class _CreatePublisherWidget {
420420
fn: () async {
421421
await api_client.client.createPublisher(publisherId);
422422
},
423-
successMessage: text('Publisher created. The page will reload.'),
423+
successMessage: text(
424+
'Publisher created. You can now transfer packages to this publisher. '
425+
'The page will reload.'),
424426
onSuccess: (_) {
425427
window.location.pathname = '/publishers/$publisherId/admin';
426428
},

0 commit comments

Comments
 (0)