Skip to content
GitLab
Explorer
Connexion
S'inscrire
Navigation principale
Rechercher ou aller à…
Projet
P
parlote-facil
Gestion
Activité
Membres
Labels
Programmation
Tickets
Tableaux des tickets
Jalons
Wiki
Code
Requêtes de fusion
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Extraits de code
Compilation
Pipelines
Jobs
Planifications de pipeline
Artéfacts
Déploiement
Releases
Registre de paquets
Registre de conteneur
Registre de modèles
Opération
Environnements
Modules Terraform
Surveillance
Incidents
Analyse
Données d'analyse des chaînes de valeur
Analyse des contributeurs
Données d'analyse CI/CD
Données d'analyse du dépôt
Expériences du modèle
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté
Contribuer à GitLab
Donner votre avis
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Afficher davantage de fils d'Ariane
facil
parlote-facil
Validations
b0f76f17
Valider
b0f76f17
rédigé
12 years ago
par
Marcelo Casiraghi
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
Fix confirmation at getting_started page
parent
13ee6129
Aucune branche associée trouvée
Branches contenant la validation
Aucune étiquette associée trouvée
Étiquettes contenant la validation
Aucune requête de fusion associée trouvée
Modifications
3
Masquer les modifications d'espaces
En ligne
Côte à côte
Affichage de
3 fichiers modifiés
Changelog.md
+4
-3
4 ajouts, 3 suppressions
Changelog.md
app/assets/javascripts/pages/users-getting-started.js
+8
-10
8 ajouts, 10 suppressions
app/assets/javascripts/pages/users-getting-started.js
features/signs_up.feature
+8
-1
8 ajouts, 1 suppression
features/signs_up.feature
avec
20 ajouts
et
14 suppressions
Changelog.md
+
4
−
3
Voir le fichier @
b0f76f17
...
...
@@ -2,9 +2,10 @@
## Bug fixes
*
reset comment box height after posting a comment.
[
#4030
](
https://github.com/diaspora/diaspora/issues/4030
)
*
fade long tag names.
[
#3899
](
https://github.com/diaspora/diaspora/issues/3899
)
*
avoid posting empty comments.
[
#3836
](
https://github.com/diaspora/diaspora/issues/3836
)
*
Fix cancel button on getting_started confirmation box
[
#4073
](
https://github.com/diaspora/diaspora/issues/4073
)
*
Reset comment box height after posting a comment.
[
#4030
](
https://github.com/diaspora/diaspora/issues/4030
)
*
Fade long tag names.
[
#3899
](
https://github.com/diaspora/diaspora/issues/3899
)
*
Avoid posting empty comments.
[
#3836
](
https://github.com/diaspora/diaspora/issues/3836
)
*
Delegate parent_author to the target of a RelayableRetraction
*
Do not fail on receiving a SignedRetraction via the public route
*
Pass the real values to stderr_path and stdout_path in unicorn.rb since it runs a case statement on them.
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
app/assets/javascripts/pages/users-getting-started.js
+
8
−
10
Voir le fichier @
b0f76f17
...
...
@@ -34,19 +34,17 @@ Diaspora.Pages.UsersGettingStarted = function() {
});
$
(
"
#awesome_button
"
).
bind
(
"
click
"
,
function
(
evt
){
var
confirmMessage
=
Diaspora
.
I18n
.
t
(
"
getting_started.no_tags
"
);
var
message
=
Diaspora
.
I18n
.
t
(
"
getting_started.preparing_your_stream
"
);
var
confirmation
=
true
;
if
((
$
(
"
#as-selections-tags
"
).
find
(
"
.as-selection-item
"
).
length
>
0
)
||
confirm
(
confirmMessage
))
{
/* flash message prompt */
var
message
=
Diaspora
.
I18n
.
t
(
"
getting_started.preparing_your_stream
"
);
Diaspora
.
page
.
flashMessages
.
render
({
success
:
true
,
notice
:
message
});
}
else
{
/* flash message prompt */
var
message
=
Diaspora
.
I18n
.
t
(
"
getting_started.alright_ill_wait
"
);
Diaspora
.
page
.
flashMessages
.
render
({
success
:
true
,
notice
:
message
});
if
(
$
(
"
#as-selections-tags
"
).
find
(
"
.as-selection-item
"
).
length
<=
0
)
{
message
=
Diaspora
.
I18n
.
t
(
"
getting_started.alright_ill_wait
"
);
confirmation
=
confirm
(
confirmMessage
);
}
Diaspora
.
page
.
flashMessages
.
render
({
success
:
true
,
notice
:
message
});
return
confirmation
;
});
/* ------ */
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
features/signs_up.feature
+
8
−
1
Voir le fichier @
b0f76f17
...
...
@@ -17,10 +17,17 @@ Feature: new user registration
|
profile_first_name
|
O
|
And
I
preemptively
confirm
the
alert
And
I follow
"awesome_button"
Then
I should be on the stream page
And
I should not see
"awesome_button"
Scenario
:
new user does not add any tags in setup wizard and cancel the alert
When I fill in the following
:
|
profile_first_name
|
some
name
|
And
I
preemptively
reject
the
alert
And
I follow
"awesome_button"
Then
I should be on the getting started page
And
I should see a flash message containing
"Alright, I'll wait."
Scenario
:
new user skips the setup wizard
When
I preemptively confirm the alert
And
I follow
"awesome_button"
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
Aperçu
0%
Chargement en cours
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter