Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Orbit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Applications
Orbit
Commits
1164f52e
Commit
1164f52e
authored
4 years ago
by
Jean-Baptiste Pasquier
Browse files
Options
Downloads
Patches
Plain Diff
fix: larger timeout and facultative communities
parent
64b6744d
No related branches found
No related tags found
3 merge requests
!268
Release/config refactoring
,
!267
Config refactoring
,
!265
Release/auto registration
Pipeline
#10132
passed
4 years ago
Stage: build
Stage: test
Stage: acceptance
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/index.pug
+16
-15
16 additions, 15 deletions
src/index.pug
src/scripts/timeout-goeswrong.js
+1
-1
1 addition, 1 deletion
src/scripts/timeout-goeswrong.js
with
17 additions
and
16 deletions
src/index.pug
+
16
−
15
View file @
1164f52e
...
...
@@ -166,21 +166,22 @@ html(lang="en")
widget-logo='hubl-index-community-logo'
widget-name='hubl-index-community-text'
)
div.loader#hubl-index-community-selector-loader
div
div
div
div
solid-display.community-flex-container(
data-src=`${endpoints.get.communities}`
fields='action'
action-action='action'
widget-action='hubl-index-select-community'
loader-id='hubl-index-community-selector-loader'
order-asc='name'
empty-widget='hubl-auto-login'
id='hubl-index-community-selector'
)
if endpoints.get.communities
div.loader#hubl-index-community-selector-loader
div
div
div
div
solid-display.community-flex-container(
data-src=`${endpoints.get.communities}`
fields='action'
action-action='action'
widget-action='hubl-index-select-community'
loader-id='hubl-index-community-selector-loader'
order-asc='name'
empty-widget='hubl-auto-login'
id='hubl-index-community-selector'
)
#join-community(data-view="join-community", hidden, no-render).segment.full.bg-color-secondary.text-center.index-community.loggedIn
.segment.half.sm-full.bg-color-white.text-center
...
...
This diff is collapsed.
Click to expand it.
src/scripts/timeout-goeswrong.js
+
1
−
1
View file @
1164f52e
...
...
@@ -2,4 +2,4 @@ setTimeout(() => {
if
(
document
.
querySelector
(
'
.loggedIn-loader
'
).
style
.
display
!=
'
none
'
)
{
document
.
querySelector
(
'
#something-goes-wrong
'
).
removeAttribute
(
'
hidden
'
)
}
},
5000
);
\ No newline at end of file
},
10000
);
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment