loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: Remove autofocus on the dashboard repository search box (#6734)

- No longer autofocus on the searchbox for the repository list that is on the dashboard. There is no justification for doing so.
- Fixes #6653

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6734
Reviewed-by: Otto <otto@codeberg.org>
Reviewed-by: Beowulf <beowulf@beocode.eu>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Natalie Klestrup Röijezon <nat@nullable.se>
Co-committed-by: Natalie Klestrup Röijezon <nat@nullable.se>

+1 -4
+1 -4
web_src/js/components/DashboardRepoList.vue
··· 1 1 <script> 2 - import {createApp, nextTick} from 'vue'; 2 + import {createApp} from 'vue'; 3 3 import $ from 'jquery'; 4 4 import {SvgIcon} from '../svg.js'; 5 5 import {GET} from '../modules/fetch.js'; ··· 103 103 const el = document.getElementById('dashboard-repo-list'); 104 104 this.changeReposFilter(this.reposFilter); 105 105 $(el).find('.dropdown').dropdown(); 106 - nextTick(() => { 107 - this.$refs.search.focus(); 108 - }); 109 106 110 107 this.textArchivedFilterTitles = { 111 108 'archived': this.textShowOnlyArchived,