Skip to content

Commit 1bc6150

Browse files
stsewdhumitos
andauthored
GitHub App migration page: put migrate all first (#605)
If a user has lots of projects, it's hard to see this option without having to scroll all the way down. But looks weird having this big section before the listing, maybe something like having a "migrate all" link to the actual section is better? ![Screenshot 2025-05-29 at 12-23-48 Migrate account to GitHub App - Read the Docs Dev](https://github.com/user-attachments/assets/fd683aaf-ef01-4000-b960-41dda8461a98) --------- Co-authored-by: Manuel Kaufmann <humitos@gmail.com>
1 parent 9e5a0f6 commit 1bc6150

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

readthedocsext/theme/templates/profiles/private/migrate_to_gh_app.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,15 +188,12 @@ <h2 class="ui medium dividing header">
188188
{% endblocktrans %}
189189
</p>
190190

191-
{% include "profiles/partials/github_app_project_list.html" with objects=migration_targets skip_pagination=True %}
192-
193191
{% if migration_targets %}
194192
<div class="ui segment">
195193
<h3 class="ui small header">{% trans "Migrate all projects" %}</h3>
196194
<p>
197195
{% blocktrans trimmed %}
198-
You can also migrate all projects at once if you don't need to manually review migration for each project.
199-
Note that projects with warnings will not be migrated.
196+
You might need to take additional steps for some projects that can't be migrated automatically.
200197
{% endblocktrans %}
201198
</p>
202199

@@ -209,6 +206,8 @@ <h3 class="ui small header">{% trans "Migrate all projects" %}</h3>
209206
</div>
210207
{% endif %}
211208

209+
{% include "profiles/partials/github_app_project_list.html" with objects=migration_targets skip_pagination=True %}
210+
212211
<div class="ui medium header">{% trans "Projects already migrated" %}</div>
213212

214213
{% include "profiles/partials/github_app_project_migrated_list.html" with objects=migrated_projects skip_pagination=True %}

0 commit comments

Comments
 (0)