Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI changes #1237

Draft
wants to merge 20 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions e2e/step_definitions/show_post.steps.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Then } from "@cucumber/cucumber"
import { FiderWorld } from "../world"
import expect from "expect"
import { expect } from "@playwright/test"

Then("I should be on the show post page", async function (this: FiderWorld) {
const container = await this.page.$$("#p-show-post")
Expand All @@ -13,6 +13,5 @@ Then("I should see {string} as the post title", async function (this: FiderWorld
})

Then("I should see {int} vote\\(s)", async function (this: FiderWorld, voteCount: number) {
const postVoteCount = await this.page.innerText("#p-show-post .c-vote-counter__button")
expect(postVoteCount).toBe(voteCount.toString())
await expect(this.page.getByText(`${voteCount} votes`, { exact: true })).toBeVisible()
})
8 changes: 8 additions & 0 deletions locale/de/client.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
"action.save": "Sichern",
"action.signin": "Anmelden",
"action.submit": "Absenden",
"action.vote": "",
"action.voted": "",
"enum.poststatus.completed": "Erledigt",
"enum.poststatus.declined": "Abgelehnt",
"enum.poststatus.deleted": "Gelöscht",
Expand Down Expand Up @@ -52,7 +54,10 @@
"label.custom": "Benutzerdefiniert",
"label.description": "Beschreibung",
"label.discussion": "Diskussion",
"label.edittags": "",
"label.email": "E-Mail",
"label.follow": "",
"label.following": "",
"label.gravatar": "Gravatar",
"label.letter": "Buchstabe",
"label.moderation": "Moderieren",
Expand All @@ -62,6 +67,7 @@
"label.or": "ODER",
"label.subscribe": "Abonnieren",
"label.tags": "Tags",
"label.unfollow": "",
"label.unread": "Ungelesen",
"label.unsubscribe": "Abbestellen",
"label.voters": "Wähler",
Expand Down Expand Up @@ -135,6 +141,7 @@
"showpost.comment.copylink.success": "Comment link copied to clipboard",
"showpost.comment.unknownhighlighted": "Invalid comment ID #{id}",
"showpost.commentinput.placeholder": "Kommentar hinzufügen",
"showpost.copylink.success": "",
"showpost.discussionpanel.emptymessage": "Niemand hat bisher kommentiert.",
"showpost.label.author": "Gepostet von <0/> · <1/>",
"showpost.message.nodescription": "Keine Beschreibung angegeben.",
Expand All @@ -144,6 +151,7 @@
"showpost.notificationspanel.message.unsubscribed": "Sie erhalten keine Benachrichtigungen über diesen Beitrag.",
"showpost.postsearch.numofvotes": "{0} Stimmen",
"showpost.postsearch.query.placeholder": "Originalbeitrag suchen...",
"showpost.response.date": "",
"showpost.responseform.message.mergedvotes": "Stimmen aus diesem Beitrag werden mit den Stimmen vom ursprünglichen Beitrag zusammengeführt.",
"showpost.responseform.text.placeholder": "Was passiert in diesem Beitrag? Lassen Sie Ihre Benutzer wissen, was Ihre Pläne sind...",
"showpost.votespanel.more": "+{extraVotesCount} mehr",
Expand Down
8 changes: 8 additions & 0 deletions locale/el/client.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
"action.save": "Αποθήκευση",
"action.signin": "Είσοδος",
"action.submit": "Υποβολή",
"action.vote": "",
"action.voted": "",
"enum.poststatus.completed": "Ολοκληρωμένο",
"enum.poststatus.declined": "Απορρίφθηκε",
"enum.poststatus.deleted": "Διαγραμμένο",
Expand Down Expand Up @@ -52,7 +54,10 @@
"label.custom": "Προσαρμοσμένη",
"label.description": "Περιγραφή",
"label.discussion": "Συζήτηση",
"label.edittags": "",
"label.email": "Email",
"label.follow": "",
"label.following": "",
"label.gravatar": "Gravatar",
"label.letter": "Γράμμα",
"label.moderation": "Εποπτεία",
Expand All @@ -62,6 +67,7 @@
"label.or": "Ή",
"label.subscribe": "Εγγραφείτε",
"label.tags": "Ετικέτες",
"label.unfollow": "",
"label.unread": "Αδιάβαστο",
"label.unsubscribe": "Απεγγραφή",
"label.voters": "Ψηφοφόροι",
Expand Down Expand Up @@ -135,6 +141,7 @@
"showpost.comment.copylink.success": "Comment link copied to clipboard",
"showpost.comment.unknownhighlighted": "Invalid comment ID #{id}",
"showpost.commentinput.placeholder": "Αφήστε ένα σχόλιο",
"showpost.copylink.success": "",
"showpost.discussionpanel.emptymessage": "Κανείς δεν έχει σχολιάσει ακόμα.",
"showpost.label.author": "Δημοσιεύτηκε από <0/> · <1/>",
"showpost.message.nodescription": "Δεν υπάρχει περιγραφή.",
Expand All @@ -144,6 +151,7 @@
"showpost.notificationspanel.message.unsubscribed": "Δεν θα λάβετε καμία ειδοποίηση σχετικά με αυτή τη δημοσίευση.",
"showpost.postsearch.numofvotes": "{0} Ψήφοι",
"showpost.postsearch.query.placeholder": "Αναζήτηση αρχικής ανάρτησης...",
"showpost.response.date": "",
"showpost.responseform.message.mergedvotes": "Οι ψήφοι από αυτό το post θα συγχωνευτούν στο αρχικό post.",
"showpost.responseform.text.placeholder": "Τι συμβαίνει με αυτή την ανάρτηση; Αφήστε τους χρήστες σας να γνωρίζουν ποια είναι τα σχέδιά σας...",
"showpost.votespanel.more": "+{extraVotesCount} περισσότερα",
Expand Down
8 changes: 8 additions & 0 deletions locale/en/client.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
"action.save": "Save",
"action.signin": "Sign in",
"action.submit": "Submit",
"action.vote": "Vote for this idea",
"action.voted": "Voted!",
"enum.poststatus.completed": "Completed",
"enum.poststatus.declined": "Declined",
"enum.poststatus.deleted": "Deleted",
Expand Down Expand Up @@ -52,7 +54,10 @@
"label.custom": "Custom",
"label.description": "Description",
"label.discussion": "Discussion",
"label.edittags": "Edit tags",
"label.email": "Email",
"label.follow": "Follow",
"label.following": "Following",
"label.gravatar": "Gravatar",
"label.letter": "Letter",
"label.moderation": "Moderation",
Expand All @@ -62,6 +67,7 @@
"label.or": "OR",
"label.subscribe": "Subscribe",
"label.tags": "Tags",
"label.unfollow": "Unfollow",
"label.unread": "Unread",
"label.unsubscribe": "Unsubscribe",
"label.voters": "Voters",
Expand Down Expand Up @@ -135,6 +141,7 @@
"showpost.comment.copylink.success": "Comment link copied to clipboard",
"showpost.comment.unknownhighlighted": "Invalid comment ID #{id}",
"showpost.commentinput.placeholder": "Leave a comment",
"showpost.copylink.success": "Link copied to clipboard",
"showpost.discussionpanel.emptymessage": "No one has commented yet.",
"showpost.label.author": "Posted by <0/> · <1/>",
"showpost.message.nodescription": "No description provided.",
Expand All @@ -144,6 +151,7 @@
"showpost.notificationspanel.message.unsubscribed": "You'll not receive any notification about this post.",
"showpost.postsearch.numofvotes": "{0} votes",
"showpost.postsearch.query.placeholder": "Search original post...",
"showpost.response.date": "Status changed to {status} on {statusDate}",
"showpost.responseform.message.mergedvotes": "Votes from this post will be merged into original post.",
"showpost.responseform.text.placeholder": "What's going on with this post? Let your users know what are your plans...",
"showpost.votespanel.more": "+{extraVotesCount} more",
Expand Down
8 changes: 8 additions & 0 deletions locale/es-ES/client.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
"action.save": "Guardar",
"action.signin": "Iniciar sesión",
"action.submit": "Enviar",
"action.vote": "",
"action.voted": "",
"enum.poststatus.completed": "Completado",
"enum.poststatus.declined": "Rechazado",
"enum.poststatus.deleted": "Eliminado",
Expand Down Expand Up @@ -52,7 +54,10 @@
"label.custom": "Personalizado",
"label.description": "Descripción",
"label.discussion": "Discusión",
"label.edittags": "",
"label.email": "Correo electrónico",
"label.follow": "",
"label.following": "",
"label.gravatar": "Gravatar",
"label.letter": "Letras",
"label.moderation": "Moderación",
Expand All @@ -62,6 +67,7 @@
"label.or": "O",
"label.subscribe": "Suscribete",
"label.tags": "Etiquetas",
"label.unfollow": "",
"label.unread": "Sin leer",
"label.unsubscribe": "Cancelar la suscripción",
"label.voters": "Votantes",
Expand Down Expand Up @@ -135,6 +141,7 @@
"showpost.comment.copylink.success": "Comment link copied to clipboard",
"showpost.comment.unknownhighlighted": "Invalid comment ID #{id}",
"showpost.commentinput.placeholder": "Publica un comentario",
"showpost.copylink.success": "",
"showpost.discussionpanel.emptymessage": "Nadie ha comentado todavía.",
"showpost.label.author": "Publicado por <0/> · <1/>",
"showpost.message.nodescription": "No se proporcionó ninguna descripción.",
Expand All @@ -144,6 +151,7 @@
"showpost.notificationspanel.message.unsubscribed": "No recibirás ninguna notificación sobre este evento.",
"showpost.postsearch.numofvotes": "{0} votos",
"showpost.postsearch.query.placeholder": "Buscar publicación original...",
"showpost.response.date": "",
"showpost.responseform.message.mergedvotes": "Los votos de esta publicación se fusionarán en la publicación original.",
"showpost.responseform.text.placeholder": "¿Qué está pasando con esta publicación? Dile a tus usuarios cuáles son tus planes...",
"showpost.votespanel.more": "+{extraVotesCount} más",
Expand Down
8 changes: 8 additions & 0 deletions locale/fr/client.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
"action.save": "Enregistrer",
"action.signin": "Se connecter",
"action.submit": "Valider",
"action.vote": "",
"action.voted": "",
"enum.poststatus.completed": "Terminé",
"enum.poststatus.declined": "Refusé",
"enum.poststatus.deleted": "Supprimé",
Expand Down Expand Up @@ -52,7 +54,10 @@
"label.custom": "Personnalisé",
"label.description": "Description",
"label.discussion": "Discussion",
"label.edittags": "",
"label.email": "E-mail",
"label.follow": "",
"label.following": "",
"label.gravatar": "Gravatar",
"label.letter": "Lettre",
"label.moderation": "Modération",
Expand All @@ -62,6 +67,7 @@
"label.or": "OU",
"label.subscribe": "S'abonner",
"label.tags": "Tags",
"label.unfollow": "",
"label.unread": "Non lu",
"label.unsubscribe": "Se désabonner",
"label.voters": "Votants",
Expand Down Expand Up @@ -135,6 +141,7 @@
"showpost.comment.copylink.success": "Comment link copied to clipboard",
"showpost.comment.unknownhighlighted": "Invalid comment ID #{id}",
"showpost.commentinput.placeholder": "Rédiger un commentaire",
"showpost.copylink.success": "",
"showpost.discussionpanel.emptymessage": "Personne n'a encore commenté.",
"showpost.label.author": "Posté par <0/> · <1/>",
"showpost.message.nodescription": "Aucune description fournie.",
Expand All @@ -144,6 +151,7 @@
"showpost.notificationspanel.message.unsubscribed": "Vous ne recevrez aucune notification à propos de ce message.",
"showpost.postsearch.numofvotes": "{0} votes",
"showpost.postsearch.query.placeholder": "Rechercher le message original...",
"showpost.response.date": "",
"showpost.responseform.message.mergedvotes": "Les votes de ce message seront fusionnés dans le message original.",
"showpost.responseform.text.placeholder": "Que se passe-t-il avec ce message ? Faites savoir à vos utilisateurs quels sont vos plans...",
"showpost.votespanel.more": "+{extraVotesCount} de plus",
Expand Down
8 changes: 8 additions & 0 deletions locale/it/client.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
"action.save": "Salva",
"action.signin": "Accedi",
"action.submit": "Invia",
"action.vote": "",
"action.voted": "",
"enum.poststatus.completed": "Completato",
"enum.poststatus.declined": "Rifiutato",
"enum.poststatus.deleted": "Eliminato",
Expand Down Expand Up @@ -52,7 +54,10 @@
"label.custom": "Personalizzato",
"label.description": "Descrizione",
"label.discussion": "Discussione",
"label.edittags": "",
"label.email": "Email",
"label.follow": "",
"label.following": "",
"label.gravatar": "Gravatar",
"label.letter": "Lettera",
"label.moderation": "Moderazione",
Expand All @@ -62,6 +67,7 @@
"label.or": "OPPURE",
"label.subscribe": "Abbonati",
"label.tags": "Tags",
"label.unfollow": "",
"label.unread": "Non letto",
"label.unsubscribe": "Disiscriversi",
"label.voters": "Votanti",
Expand Down Expand Up @@ -135,6 +141,7 @@
"showpost.comment.copylink.success": "Comment link copied to clipboard",
"showpost.comment.unknownhighlighted": "Invalid comment ID #{id}",
"showpost.commentinput.placeholder": "Lascia un commento",
"showpost.copylink.success": "",
"showpost.discussionpanel.emptymessage": "Nessuno ha ancora commentato.",
"showpost.label.author": "Scritto da <0/>·<1/>",
"showpost.message.nodescription": "Nessuna descrizione fornita.",
Expand All @@ -144,6 +151,7 @@
"showpost.notificationspanel.message.unsubscribed": "Non riceverai alcuna notifica su questo post.",
"showpost.postsearch.numofvotes": "{0} votes",
"showpost.postsearch.query.placeholder": "Cerca post originale...",
"showpost.response.date": "",
"showpost.responseform.message.mergedvotes": "I voti di questo post saranno uniti al post originale.",
"showpost.responseform.text.placeholder": "Cosa succede con questo post? Fate sapere ai vostri utenti quali sono i vostri piani...",
"showpost.votespanel.more": "+{extraVotesCount} di più",
Expand Down
8 changes: 8 additions & 0 deletions locale/nl/client.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
"action.save": "Opslaan",
"action.signin": "Inloggen",
"action.submit": "Verzenden",
"action.vote": "",
"action.voted": "",
"enum.poststatus.completed": "Voltooid",
"enum.poststatus.declined": "Afgewezen",
"enum.poststatus.deleted": "Verwijderd",
Expand Down Expand Up @@ -52,7 +54,10 @@
"label.custom": "Aangepast",
"label.description": "Omschrijving",
"label.discussion": "Discussie",
"label.edittags": "",
"label.email": "E-mailadres",
"label.follow": "",
"label.following": "",
"label.gravatar": "Gravatar",
"label.letter": "Initialen",
"label.moderation": "Moderatie",
Expand All @@ -62,6 +67,7 @@
"label.or": "OF",
"label.subscribe": "Abonneren",
"label.tags": "Labels",
"label.unfollow": "",
"label.unread": "Ongelezen",
"label.unsubscribe": "Uitschrijven",
"label.voters": "Stemmers",
Expand Down Expand Up @@ -135,6 +141,7 @@
"showpost.comment.copylink.success": "Comment link copied to clipboard",
"showpost.comment.unknownhighlighted": "Invalid comment ID #{id}",
"showpost.commentinput.placeholder": "Laat een reactie achter",
"showpost.copylink.success": "",
"showpost.discussionpanel.emptymessage": "Nog niemand heeft gereageerd.",
"showpost.label.author": "Geplaatst door <0/> · <1/>",
"showpost.message.nodescription": "Geen omschrijving opgegeven.",
Expand All @@ -144,6 +151,7 @@
"showpost.notificationspanel.message.unsubscribed": "Je ontvangt geen meldingen over dit bericht.",
"showpost.postsearch.numofvotes": "{0} stemmen",
"showpost.postsearch.query.placeholder": "Zoek origineel bericht...",
"showpost.response.date": "",
"showpost.responseform.message.mergedvotes": "Stemmen van dit bericht zullen worden samengevoegd met het originele bericht.",
"showpost.responseform.text.placeholder": "Wat gebeurt er met dit bericht? Laat je gebruikers weten wat je plannen zijn...",
"showpost.votespanel.more": "+{extraVotesCount} meer",
Expand Down
8 changes: 8 additions & 0 deletions locale/pl/client.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
"action.save": "Zapisz",
"action.signin": "Zaloguj się",
"action.submit": "Prześlij",
"action.vote": "",
"action.voted": "",
"enum.poststatus.completed": "Ukończone",
"enum.poststatus.declined": "Odrzucone",
"enum.poststatus.deleted": "Usunięte",
Expand Down Expand Up @@ -52,7 +54,10 @@
"label.custom": "Niestandardowy",
"label.description": "Opis",
"label.discussion": "Dyskusja",
"label.edittags": "",
"label.email": "Email",
"label.follow": "",
"label.following": "",
"label.gravatar": "Gravatar",
"label.letter": "Litera",
"label.moderation": "Moderacja",
Expand All @@ -62,6 +67,7 @@
"label.or": "LUB",
"label.subscribe": "Subskrybuj",
"label.tags": "Tagi",
"label.unfollow": "",
"label.unread": "Nieprzeczytane",
"label.unsubscribe": "Zrezygnuj z subskrypcji",
"label.voters": "Głosujący",
Expand Down Expand Up @@ -135,6 +141,7 @@
"showpost.comment.copylink.success": "Comment link copied to clipboard",
"showpost.comment.unknownhighlighted": "Invalid comment ID #{id}",
"showpost.commentinput.placeholder": "Skomentuj",
"showpost.copylink.success": "",
"showpost.discussionpanel.emptymessage": "Wygląda na to, że nikt jeszcze nie skomentował.",
"showpost.label.author": "Wysłane przez <0/> · <1/>",
"showpost.message.nodescription": "Brak opisu.",
Expand All @@ -144,6 +151,7 @@
"showpost.notificationspanel.message.unsubscribed": "Nie będziesz otrzymywał żadnych powiadomień o o tym poście.",
"showpost.postsearch.numofvotes": "{0} głosów",
"showpost.postsearch.query.placeholder": "Szukaj oryginalnego posta...",
"showpost.response.date": "",
"showpost.responseform.message.mergedvotes": "Głosy z tego posta zostaną scalone z oryginalnym postem.",
"showpost.responseform.text.placeholder": "Co się dzieje w temacie tego posta? Daj swoim użytkownikom znać o swoich planach...",
"showpost.votespanel.more": "+{extraVotesCount} więcej",
Expand Down
Loading
Loading