Make loading_icon helper conform to GlLoadingIcon
This renames the `loading_icon` helper to `gl_loading_icon`, and makes its API and output more similar to the `GlLoadingIcon` Vue component: - The container element is now always rendered. - The container element is a block-level element by default. - The `container` argument has been replaced with with `inline`, defaulting to `false`. - The container element now has `role="status"` for better accessibility. - The default colour of the spinner is `dark`, as `orange` is not a valid colour (see https://gitlab.com/gitlab-org/gitlab-ui/-/issues/1029#note_431080670). Part of https://gitlab.com/gitlab-org/gitlab/-/issues/352510, to aid the migration described in https://gitlab.com/groups/gitlab-org/-/epics/7628.
显示
- app/helpers/dropdowns_helper.rb 1 个添加, 1 个删除app/helpers/dropdowns_helper.rb
- app/helpers/icons_helper.rb 33 个添加, 7 个删除app/helpers/icons_helper.rb
- app/views/projects/_files.html.haml 1 个添加, 2 个删除app/views/projects/_files.html.haml
- app/views/projects/blob/_blob.html.haml 1 个添加, 2 个删除app/views/projects/blob/_blob.html.haml
- app/views/projects/blob/viewers/_gitlab_ci_yml_loading.html.haml 1 个添加, 1 个删除...ws/projects/blob/viewers/_gitlab_ci_yml_loading.html.haml
- app/views/projects/blob/viewers/_loading.html.haml 1 个添加, 2 个删除app/views/projects/blob/viewers/_loading.html.haml
- app/views/projects/blob/viewers/_loading_auxiliary.html.haml 1 个添加, 1 个删除app/views/projects/blob/viewers/_loading_auxiliary.html.haml
- app/views/projects/blob/viewers/_metrics_dashboard_yml_loading.html.haml 1 个添加, 1 个删除...cts/blob/viewers/_metrics_dashboard_yml_loading.html.haml
- app/views/projects/blob/viewers/_route_map_loading.html.haml 1 个添加, 1 个删除app/views/projects/blob/viewers/_route_map_loading.html.haml
- app/views/projects/blob/viewers/_sketch.html.haml 1 个添加, 2 个删除app/views/projects/blob/viewers/_sketch.html.haml
- app/views/projects/blob/viewers/_stl.html.haml 1 个添加, 1 个删除app/views/projects/blob/viewers/_stl.html.haml
- app/views/projects/commits/show.html.haml 1 个添加, 2 个删除app/views/projects/commits/show.html.haml
- app/views/projects/find_file/show.html.haml 1 个添加, 2 个删除app/views/projects/find_file/show.html.haml
- app/views/projects/imports/show.html.haml 1 个添加, 1 个删除app/views/projects/imports/show.html.haml
- app/views/projects/services/prometheus/_custom_metrics.html.haml 1 个添加, 1 个删除...ws/projects/services/prometheus/_custom_metrics.html.haml
- app/views/projects/services/prometheus/_metrics.html.haml 1 个添加, 1 个删除app/views/projects/services/prometheus/_metrics.html.haml
- app/views/shared/_new_project_item_select.html.haml 1 个添加, 1 个删除app/views/shared/_new_project_item_select.html.haml
- app/views/shared/issuable/_sidebar.html.haml 2 个添加, 2 个删除app/views/shared/issuable/_sidebar.html.haml
- app/views/shared/issuable/_sidebar_assignees.html.haml 1 个添加, 1 个删除app/views/shared/issuable/_sidebar_assignees.html.haml
- app/views/shared/issuable/_sidebar_reviewers.html.haml 1 个添加, 1 个删除app/views/shared/issuable/_sidebar_reviewers.html.haml
加载中
想要评论请 注册 或 登录