feat: short code redirection
This commit is contained in:
@@ -1,10 +1,3 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||||||
<line x1="12" y1="2" x2="12" y2="6"></line>
|
<path d="M21 12a9 9 0 11-6.219-8.56"></path>
|
||||||
<line x1="12" y1="18" x2="12" y2="22"></line>
|
|
||||||
<line x1="4.93" y1="4.93" x2="7.76" y2="7.76"></line>
|
|
||||||
<line x1="16.24" y1="16.24" x2="19.07" y2="19.07"></line>
|
|
||||||
<line x1="2" y1="12" x2="6" y2="12"></line>
|
|
||||||
<line x1="18" y1="12" x2="22" y2="12"></line>
|
|
||||||
<line x1="4.93" y1="19.07" x2="7.76" y2="16.24"></line>
|
|
||||||
<line x1="16.24" y1="7.76" x2="19.07" y2="4.93"></line>
|
|
||||||
</svg>
|
</svg>
|
||||||
|
Before Width: | Height: | Size: 608 B After Width: | Height: | Size: 235 B |
@@ -53,7 +53,7 @@
|
|||||||
class="svg-icons"
|
class="svg-icons"
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
<SmartSpinner v-else class="mr-4" />
|
<SmartSpinner v-else class="mr-4 text-secondaryDark" />
|
||||||
<div
|
<div
|
||||||
class="flex-1 inline-flex truncate items-start"
|
class="flex-1 inline-flex truncate items-start"
|
||||||
:class="{ 'flex-col': description }"
|
:class="{ 'flex-col': description }"
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
query GetRequestFromShortcode($shortcode: ID!) {
|
||||||
|
shortcode(code: $shortcode) {
|
||||||
|
request
|
||||||
|
id
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -171,6 +171,8 @@
|
|||||||
"f12_details": "(F12 vir meer inligting)",
|
"f12_details": "(F12 vir meer inligting)",
|
||||||
"gql_prettify_invalid_query": "Kon nie 'n ongeldige navraag mooi maak nie, los sintaksisfoute op en probeer weer",
|
"gql_prettify_invalid_query": "Kon nie 'n ongeldige navraag mooi maak nie, los sintaksisfoute op en probeer weer",
|
||||||
"incorrect_email": "Incorrect email",
|
"incorrect_email": "Incorrect email",
|
||||||
|
"invalid_link": "Invalid link",
|
||||||
|
"invalid_link_description": "The link you clicked is invalid or expired.",
|
||||||
"json_prettify_invalid_body": "Kon nie 'n ongeldige liggaam mooi maak nie, los json -sintaksisfoute op en probeer weer",
|
"json_prettify_invalid_body": "Kon nie 'n ongeldige liggaam mooi maak nie, los json -sintaksisfoute op en probeer weer",
|
||||||
"network_error": "There seems to be a network error. Please try again.",
|
"network_error": "There seems to be a network error. Please try again.",
|
||||||
"network_fail": "Kon nie versoek stuur nie",
|
"network_fail": "Kon nie versoek stuur nie",
|
||||||
|
|||||||
@@ -171,6 +171,8 @@
|
|||||||
"f12_details": "(للحصول على تفاصيل F12)",
|
"f12_details": "(للحصول على تفاصيل F12)",
|
||||||
"gql_prettify_invalid_query": "تعذر تحسين استعلام غير صالح وحل أخطاء بنية الاستعلام وحاول مرة أخرى",
|
"gql_prettify_invalid_query": "تعذر تحسين استعلام غير صالح وحل أخطاء بنية الاستعلام وحاول مرة أخرى",
|
||||||
"incorrect_email": "Incorrect email",
|
"incorrect_email": "Incorrect email",
|
||||||
|
"invalid_link": "Invalid link",
|
||||||
|
"invalid_link_description": "The link you clicked is invalid or expired.",
|
||||||
"json_prettify_invalid_body": "تعذر تجميل جسم غير صالح وحل أخطاء بناء جملة json وحاول مرة أخرى",
|
"json_prettify_invalid_body": "تعذر تجميل جسم غير صالح وحل أخطاء بناء جملة json وحاول مرة أخرى",
|
||||||
"network_error": "There seems to be a network error. Please try again.",
|
"network_error": "There seems to be a network error. Please try again.",
|
||||||
"network_fail": "تعذر إرسال الطلب",
|
"network_fail": "تعذر إرسال الطلب",
|
||||||
|
|||||||
@@ -171,6 +171,8 @@
|
|||||||
"f12_details": "(F12 per obtenir més informació)",
|
"f12_details": "(F12 per obtenir més informació)",
|
||||||
"gql_prettify_invalid_query": "No s'ha pogut definir una consulta no vàlida, resoldre els errors de sintaxi de la consulta i tornar-ho a provar",
|
"gql_prettify_invalid_query": "No s'ha pogut definir una consulta no vàlida, resoldre els errors de sintaxi de la consulta i tornar-ho a provar",
|
||||||
"incorrect_email": "Incorrect email",
|
"incorrect_email": "Incorrect email",
|
||||||
|
"invalid_link": "Invalid link",
|
||||||
|
"invalid_link_description": "The link you clicked is invalid or expired.",
|
||||||
"json_prettify_invalid_body": "No s'ha pogut personalitzar un cos no vàlid, resoldre errors de sintaxi json i tornar-ho a provar",
|
"json_prettify_invalid_body": "No s'ha pogut personalitzar un cos no vàlid, resoldre errors de sintaxi json i tornar-ho a provar",
|
||||||
"network_error": "There seems to be a network error. Please try again.",
|
"network_error": "There seems to be a network error. Please try again.",
|
||||||
"network_fail": "No s'ha pogut enviar la sol·licitud",
|
"network_fail": "No s'ha pogut enviar la sol·licitud",
|
||||||
|
|||||||
@@ -171,6 +171,8 @@
|
|||||||
"f12_details": "(F12 详情)",
|
"f12_details": "(F12 详情)",
|
||||||
"gql_prettify_invalid_query": "无法美化无效的查询,处理查询语法错误并重试",
|
"gql_prettify_invalid_query": "无法美化无效的查询,处理查询语法错误并重试",
|
||||||
"incorrect_email": "Incorrect email",
|
"incorrect_email": "Incorrect email",
|
||||||
|
"invalid_link": "Invalid link",
|
||||||
|
"invalid_link_description": "The link you clicked is invalid or expired.",
|
||||||
"json_prettify_invalid_body": "无法美化无效的请求头,处理 JSON 语法错误并重试",
|
"json_prettify_invalid_body": "无法美化无效的请求头,处理 JSON 语法错误并重试",
|
||||||
"network_error": "There seems to be a network error. Please try again.",
|
"network_error": "There seems to be a network error. Please try again.",
|
||||||
"network_fail": "无法发送请求",
|
"network_fail": "无法发送请求",
|
||||||
|
|||||||
@@ -171,6 +171,8 @@
|
|||||||
"f12_details": "(F12 pro podrobnosti)",
|
"f12_details": "(F12 pro podrobnosti)",
|
||||||
"gql_prettify_invalid_query": "Neplatný dotaz nelze předběžně upravit, vyřešit chyby syntaxe dotazu a zkusit to znovu",
|
"gql_prettify_invalid_query": "Neplatný dotaz nelze předběžně upravit, vyřešit chyby syntaxe dotazu a zkusit to znovu",
|
||||||
"incorrect_email": "Incorrect email",
|
"incorrect_email": "Incorrect email",
|
||||||
|
"invalid_link": "Invalid link",
|
||||||
|
"invalid_link_description": "The link you clicked is invalid or expired.",
|
||||||
"json_prettify_invalid_body": "Nelze předtifikovat neplatné tělo, vyřešit chyby syntaxe json a zkusit to znovu",
|
"json_prettify_invalid_body": "Nelze předtifikovat neplatné tělo, vyřešit chyby syntaxe json a zkusit to znovu",
|
||||||
"network_error": "There seems to be a network error. Please try again.",
|
"network_error": "There seems to be a network error. Please try again.",
|
||||||
"network_fail": "Žádost nelze odeslat",
|
"network_fail": "Žádost nelze odeslat",
|
||||||
|
|||||||
@@ -171,6 +171,8 @@
|
|||||||
"f12_details": "(F12 for detaljer)",
|
"f12_details": "(F12 for detaljer)",
|
||||||
"gql_prettify_invalid_query": "Kunne ikke prætificere en ugyldig forespørgsel, løse forespørgselssyntaksfejl og prøve igen",
|
"gql_prettify_invalid_query": "Kunne ikke prætificere en ugyldig forespørgsel, løse forespørgselssyntaksfejl og prøve igen",
|
||||||
"incorrect_email": "Incorrect email",
|
"incorrect_email": "Incorrect email",
|
||||||
|
"invalid_link": "Invalid link",
|
||||||
|
"invalid_link_description": "The link you clicked is invalid or expired.",
|
||||||
"json_prettify_invalid_body": "Kunne ikke pryde et ugyldigt brødtekst, løse json -syntaksfejl og prøve igen",
|
"json_prettify_invalid_body": "Kunne ikke pryde et ugyldigt brødtekst, løse json -syntaksfejl og prøve igen",
|
||||||
"network_error": "There seems to be a network error. Please try again.",
|
"network_error": "There seems to be a network error. Please try again.",
|
||||||
"network_fail": "Anmodningen kunne ikke sendes",
|
"network_fail": "Anmodningen kunne ikke sendes",
|
||||||
|
|||||||
@@ -171,6 +171,8 @@
|
|||||||
"f12_details": "(F12 für Details)",
|
"f12_details": "(F12 für Details)",
|
||||||
"gql_prettify_invalid_query": "Eine ungültige Abfrage konnte nicht verschönert werden, Fehler in der Abfragesyntax konnten nicht behoben und erneut versucht werden",
|
"gql_prettify_invalid_query": "Eine ungültige Abfrage konnte nicht verschönert werden, Fehler in der Abfragesyntax konnten nicht behoben und erneut versucht werden",
|
||||||
"incorrect_email": "Incorrect email",
|
"incorrect_email": "Incorrect email",
|
||||||
|
"invalid_link": "Invalid link",
|
||||||
|
"invalid_link_description": "The link you clicked is invalid or expired.",
|
||||||
"json_prettify_invalid_body": "Ein ungültiger Text konnte nicht verschönert werden, Json-Syntaxfehler beheben und erneut versuchen",
|
"json_prettify_invalid_body": "Ein ungültiger Text konnte nicht verschönert werden, Json-Syntaxfehler beheben und erneut versuchen",
|
||||||
"network_error": "There seems to be a network error. Please try again.",
|
"network_error": "There seems to be a network error. Please try again.",
|
||||||
"network_fail": "Anfrage konnte nicht gesendet werden",
|
"network_fail": "Anfrage konnte nicht gesendet werden",
|
||||||
|
|||||||
@@ -171,6 +171,8 @@
|
|||||||
"f12_details": "(F12 για λεπτομέρειες)",
|
"f12_details": "(F12 για λεπτομέρειες)",
|
||||||
"gql_prettify_invalid_query": "Δεν ήταν δυνατή η προεπιλογή ενός μη έγκυρου ερωτήματος, η επίλυση σφαλμάτων σύνταξης ερωτήματος και η δοκιμή ξανά",
|
"gql_prettify_invalid_query": "Δεν ήταν δυνατή η προεπιλογή ενός μη έγκυρου ερωτήματος, η επίλυση σφαλμάτων σύνταξης ερωτήματος και η δοκιμή ξανά",
|
||||||
"incorrect_email": "Incorrect email",
|
"incorrect_email": "Incorrect email",
|
||||||
|
"invalid_link": "Invalid link",
|
||||||
|
"invalid_link_description": "The link you clicked is invalid or expired.",
|
||||||
"json_prettify_invalid_body": "Δεν ήταν δυνατή η ομορφιά ενός μη έγκυρου σώματος, η επίλυση σφαλμάτων σύνταξης json και η προσπάθεια ξανά",
|
"json_prettify_invalid_body": "Δεν ήταν δυνατή η ομορφιά ενός μη έγκυρου σώματος, η επίλυση σφαλμάτων σύνταξης json και η προσπάθεια ξανά",
|
||||||
"network_error": "There seems to be a network error. Please try again.",
|
"network_error": "There seems to be a network error. Please try again.",
|
||||||
"network_fail": "Δεν ήταν δυνατή η αποστολή του αιτήματος",
|
"network_fail": "Δεν ήταν δυνατή η αποστολή του αιτήματος",
|
||||||
|
|||||||
@@ -171,6 +171,8 @@
|
|||||||
"f12_details": "(F12 for details)",
|
"f12_details": "(F12 for details)",
|
||||||
"gql_prettify_invalid_query": "Couldn't prettify an invalid query, solve query syntax errors and try again",
|
"gql_prettify_invalid_query": "Couldn't prettify an invalid query, solve query syntax errors and try again",
|
||||||
"incorrect_email": "Incorrect email",
|
"incorrect_email": "Incorrect email",
|
||||||
|
"invalid_link": "Invalid link",
|
||||||
|
"invalid_link_description": "The link you clicked is invalid or expired.",
|
||||||
"json_prettify_invalid_body": "Couldn't prettify an invalid body, solve json syntax errors and try again",
|
"json_prettify_invalid_body": "Couldn't prettify an invalid body, solve json syntax errors and try again",
|
||||||
"network_error": "There seems to be a network error. Please try again.",
|
"network_error": "There seems to be a network error. Please try again.",
|
||||||
"network_fail": "Could not send request",
|
"network_fail": "Could not send request",
|
||||||
|
|||||||
@@ -171,6 +171,8 @@
|
|||||||
"f12_details": "(F12 para más detalles)",
|
"f12_details": "(F12 para más detalles)",
|
||||||
"gql_prettify_invalid_query": "No se puede aplicar prettify a una consulta no válida, resuelva los errores de sintaxis de la consulta y vuelva a intentarlo",
|
"gql_prettify_invalid_query": "No se puede aplicar prettify a una consulta no válida, resuelva los errores de sintaxis de la consulta y vuelva a intentarlo",
|
||||||
"incorrect_email": "Incorrect email",
|
"incorrect_email": "Incorrect email",
|
||||||
|
"invalid_link": "Invalid link",
|
||||||
|
"invalid_link_description": "The link you clicked is invalid or expired.",
|
||||||
"json_prettify_invalid_body": "No se puede aplicar prettify a un cuerpo inválido, resuelva errores de sintaxis json y vuelva a intentarlo",
|
"json_prettify_invalid_body": "No se puede aplicar prettify a un cuerpo inválido, resuelva errores de sintaxis json y vuelva a intentarlo",
|
||||||
"network_error": "There seems to be a network error. Please try again.",
|
"network_error": "There seems to be a network error. Please try again.",
|
||||||
"network_fail": "No se pudo enviar la petición",
|
"network_fail": "No se pudo enviar la petición",
|
||||||
|
|||||||
@@ -171,6 +171,8 @@
|
|||||||
"f12_details": "(F12 lisätietoja)",
|
"f12_details": "(F12 lisätietoja)",
|
||||||
"gql_prettify_invalid_query": "Virheellistä kyselyä ei voitu määrittää, ratkaista kyselyn syntaksivirheet ja yrittää uudelleen",
|
"gql_prettify_invalid_query": "Virheellistä kyselyä ei voitu määrittää, ratkaista kyselyn syntaksivirheet ja yrittää uudelleen",
|
||||||
"incorrect_email": "Incorrect email",
|
"incorrect_email": "Incorrect email",
|
||||||
|
"invalid_link": "Invalid link",
|
||||||
|
"invalid_link_description": "The link you clicked is invalid or expired.",
|
||||||
"json_prettify_invalid_body": "Virheellistä runkoa ei voitu määrittää, ratkaista json -syntaksivirheitä ja yrittää uudelleen",
|
"json_prettify_invalid_body": "Virheellistä runkoa ei voitu määrittää, ratkaista json -syntaksivirheitä ja yrittää uudelleen",
|
||||||
"network_error": "There seems to be a network error. Please try again.",
|
"network_error": "There seems to be a network error. Please try again.",
|
||||||
"network_fail": "Pyyntöä ei voitu lähettää",
|
"network_fail": "Pyyntöä ei voitu lähettää",
|
||||||
|
|||||||
@@ -171,6 +171,8 @@
|
|||||||
"f12_details": "(F12 pour les détails)",
|
"f12_details": "(F12 pour les détails)",
|
||||||
"gql_prettify_invalid_query": "Impossible de formater une requête non valide, résolvez les erreurs de syntaxe de la requête et réessayer",
|
"gql_prettify_invalid_query": "Impossible de formater une requête non valide, résolvez les erreurs de syntaxe de la requête et réessayer",
|
||||||
"incorrect_email": "Incorrect email",
|
"incorrect_email": "Incorrect email",
|
||||||
|
"invalid_link": "Invalid link",
|
||||||
|
"invalid_link_description": "The link you clicked is invalid or expired.",
|
||||||
"json_prettify_invalid_body": "Impossible de formater un corps non valide, résolvez les erreurs de syntaxe json et réessayez",
|
"json_prettify_invalid_body": "Impossible de formater un corps non valide, résolvez les erreurs de syntaxe json et réessayez",
|
||||||
"network_error": "There seems to be a network error. Please try again.",
|
"network_error": "There seems to be a network error. Please try again.",
|
||||||
"network_fail": "Impossible d'envoyer la requête",
|
"network_fail": "Impossible d'envoyer la requête",
|
||||||
|
|||||||
@@ -171,6 +171,8 @@
|
|||||||
"f12_details": "(F12 לפרטים)",
|
"f12_details": "(F12 לפרטים)",
|
||||||
"gql_prettify_invalid_query": "לא ניתן היה לייפות שאילתה לא חוקית, לפתור שגיאות תחביר שאילתות ולנסות שוב",
|
"gql_prettify_invalid_query": "לא ניתן היה לייפות שאילתה לא חוקית, לפתור שגיאות תחביר שאילתות ולנסות שוב",
|
||||||
"incorrect_email": "Incorrect email",
|
"incorrect_email": "Incorrect email",
|
||||||
|
"invalid_link": "Invalid link",
|
||||||
|
"invalid_link_description": "The link you clicked is invalid or expired.",
|
||||||
"json_prettify_invalid_body": "לא ניתן היה לייפות גוף לא חוקי, לפתור שגיאות תחביר של json ולנסות שוב",
|
"json_prettify_invalid_body": "לא ניתן היה לייפות גוף לא חוקי, לפתור שגיאות תחביר של json ולנסות שוב",
|
||||||
"network_error": "There seems to be a network error. Please try again.",
|
"network_error": "There seems to be a network error. Please try again.",
|
||||||
"network_fail": "לא ניתן היה לשלוח בקשה",
|
"network_fail": "לא ניתן היה לשלוח בקשה",
|
||||||
|
|||||||
@@ -171,6 +171,8 @@
|
|||||||
"f12_details": "(F12 a részletekért)",
|
"f12_details": "(F12 a részletekért)",
|
||||||
"gql_prettify_invalid_query": "Nem sikerült azonosítani egy érvénytelen lekérdezést, megoldani a lekérdezés szintaktikai hibáit, és megpróbálni újra",
|
"gql_prettify_invalid_query": "Nem sikerült azonosítani egy érvénytelen lekérdezést, megoldani a lekérdezés szintaktikai hibáit, és megpróbálni újra",
|
||||||
"incorrect_email": "Incorrect email",
|
"incorrect_email": "Incorrect email",
|
||||||
|
"invalid_link": "Invalid link",
|
||||||
|
"invalid_link_description": "The link you clicked is invalid or expired.",
|
||||||
"json_prettify_invalid_body": "Nem sikerült azonosítani egy érvénytelen törzset, megoldani a json szintaktikai hibákat, és megpróbálni újra",
|
"json_prettify_invalid_body": "Nem sikerült azonosítani egy érvénytelen törzset, megoldani a json szintaktikai hibákat, és megpróbálni újra",
|
||||||
"network_error": "There seems to be a network error. Please try again.",
|
"network_error": "There seems to be a network error. Please try again.",
|
||||||
"network_fail": "Nem sikerült elküldeni a kérést",
|
"network_fail": "Nem sikerült elküldeni a kérést",
|
||||||
|
|||||||
@@ -171,6 +171,8 @@
|
|||||||
"f12_details": "(F12 per i dettagli)",
|
"f12_details": "(F12 per i dettagli)",
|
||||||
"gql_prettify_invalid_query": "Impossibile abbellire una query non valida, risolvere gli errori di sintassi della query e riprovare",
|
"gql_prettify_invalid_query": "Impossibile abbellire una query non valida, risolvere gli errori di sintassi della query e riprovare",
|
||||||
"incorrect_email": "Incorrect email",
|
"incorrect_email": "Incorrect email",
|
||||||
|
"invalid_link": "Invalid link",
|
||||||
|
"invalid_link_description": "The link you clicked is invalid or expired.",
|
||||||
"json_prettify_invalid_body": "Impossibile abbellire un corpo non valido, risolvere gli errori di sintassi json e riprovare",
|
"json_prettify_invalid_body": "Impossibile abbellire un corpo non valido, risolvere gli errori di sintassi json e riprovare",
|
||||||
"network_error": "There seems to be a network error. Please try again.",
|
"network_error": "There seems to be a network error. Please try again.",
|
||||||
"network_fail": "Impossibile inviare la richiesta",
|
"network_fail": "Impossibile inviare la richiesta",
|
||||||
|
|||||||
@@ -171,6 +171,8 @@
|
|||||||
"f12_details": "(詳細はF12)",
|
"f12_details": "(詳細はF12)",
|
||||||
"gql_prettify_invalid_query": "無効なクエリをプリティファイし、クエリ構文エラーを解決して、再試行できませんでした",
|
"gql_prettify_invalid_query": "無効なクエリをプリティファイし、クエリ構文エラーを解決して、再試行できませんでした",
|
||||||
"incorrect_email": "Incorrect email",
|
"incorrect_email": "Incorrect email",
|
||||||
|
"invalid_link": "Invalid link",
|
||||||
|
"invalid_link_description": "The link you clicked is invalid or expired.",
|
||||||
"json_prettify_invalid_body": "無効な本文をプリティファイし、json構文エラーを解決して再試行できませんでした",
|
"json_prettify_invalid_body": "無効な本文をプリティファイし、json構文エラーを解決して再試行できませんでした",
|
||||||
"network_error": "There seems to be a network error. Please try again.",
|
"network_error": "There seems to be a network error. Please try again.",
|
||||||
"network_fail": "リクエストを送信できませんでした",
|
"network_fail": "リクエストを送信できませんでした",
|
||||||
|
|||||||
@@ -171,6 +171,8 @@
|
|||||||
"f12_details": "(자세한 내용은 F12)",
|
"f12_details": "(자세한 내용은 F12)",
|
||||||
"gql_prettify_invalid_query": "잘못된 쿼리를 예쁘게 만들 수 없습니다. 쿼리 구문 오류를 해결하고 다시 시도하세요.",
|
"gql_prettify_invalid_query": "잘못된 쿼리를 예쁘게 만들 수 없습니다. 쿼리 구문 오류를 해결하고 다시 시도하세요.",
|
||||||
"incorrect_email": "Incorrect email",
|
"incorrect_email": "Incorrect email",
|
||||||
|
"invalid_link": "Invalid link",
|
||||||
|
"invalid_link_description": "The link you clicked is invalid or expired.",
|
||||||
"json_prettify_invalid_body": "잘못된 본문을 예쁘게 만들 수 없습니다. json 구문 오류를 해결하고 다시 시도하십시오.",
|
"json_prettify_invalid_body": "잘못된 본문을 예쁘게 만들 수 없습니다. json 구문 오류를 해결하고 다시 시도하십시오.",
|
||||||
"network_error": "There seems to be a network error. Please try again.",
|
"network_error": "There seems to be a network error. Please try again.",
|
||||||
"network_fail": "요청을 보낼 수 없습니다",
|
"network_fail": "요청을 보낼 수 없습니다",
|
||||||
|
|||||||
@@ -171,6 +171,8 @@
|
|||||||
"f12_details": "(F12 voor details)",
|
"f12_details": "(F12 voor details)",
|
||||||
"gql_prettify_invalid_query": "Kon een ongeldige zoekopdracht niet mooier maken, syntaxisfouten in de query oplossen en opnieuw proberen",
|
"gql_prettify_invalid_query": "Kon een ongeldige zoekopdracht niet mooier maken, syntaxisfouten in de query oplossen en opnieuw proberen",
|
||||||
"incorrect_email": "Incorrect email",
|
"incorrect_email": "Incorrect email",
|
||||||
|
"invalid_link": "Invalid link",
|
||||||
|
"invalid_link_description": "The link you clicked is invalid or expired.",
|
||||||
"json_prettify_invalid_body": "Kon een ongeldige hoofdtekst niet mooier maken, json-syntaxisfouten oplossen en opnieuw proberen",
|
"json_prettify_invalid_body": "Kon een ongeldige hoofdtekst niet mooier maken, json-syntaxisfouten oplossen en opnieuw proberen",
|
||||||
"network_error": "There seems to be a network error. Please try again.",
|
"network_error": "There seems to be a network error. Please try again.",
|
||||||
"network_fail": "Kan verzoek niet versturen",
|
"network_fail": "Kan verzoek niet versturen",
|
||||||
|
|||||||
@@ -171,6 +171,8 @@
|
|||||||
"f12_details": "(F12 for detaljer)",
|
"f12_details": "(F12 for detaljer)",
|
||||||
"gql_prettify_invalid_query": "Kunne ikke forskjønne en ugyldig spørring, løse spørringssyntaksfeil og prøve igjen",
|
"gql_prettify_invalid_query": "Kunne ikke forskjønne en ugyldig spørring, løse spørringssyntaksfeil og prøve igjen",
|
||||||
"incorrect_email": "Incorrect email",
|
"incorrect_email": "Incorrect email",
|
||||||
|
"invalid_link": "Invalid link",
|
||||||
|
"invalid_link_description": "The link you clicked is invalid or expired.",
|
||||||
"json_prettify_invalid_body": "Kunne ikke forskjønne et ugyldig brødtekst, løse json -syntaksfeil og prøve igjen",
|
"json_prettify_invalid_body": "Kunne ikke forskjønne et ugyldig brødtekst, løse json -syntaksfeil og prøve igjen",
|
||||||
"network_error": "There seems to be a network error. Please try again.",
|
"network_error": "There seems to be a network error. Please try again.",
|
||||||
"network_fail": "Kunne ikke sende forespørsel",
|
"network_fail": "Kunne ikke sende forespørsel",
|
||||||
|
|||||||
@@ -171,6 +171,8 @@
|
|||||||
"f12_details": "(F12 po szczegóły)",
|
"f12_details": "(F12 po szczegóły)",
|
||||||
"gql_prettify_invalid_query": "Nie można poprawić czytelności nieprawidłowego zapytania, napraw błędy składni zapytania i spróbuj ponownie",
|
"gql_prettify_invalid_query": "Nie można poprawić czytelności nieprawidłowego zapytania, napraw błędy składni zapytania i spróbuj ponownie",
|
||||||
"incorrect_email": "Incorrect email",
|
"incorrect_email": "Incorrect email",
|
||||||
|
"invalid_link": "Invalid link",
|
||||||
|
"invalid_link_description": "The link you clicked is invalid or expired.",
|
||||||
"json_prettify_invalid_body": "Nie można poprawić czytelności nieprawidłowej treści, napraw błędy składni json i spróbuj ponownie",
|
"json_prettify_invalid_body": "Nie można poprawić czytelności nieprawidłowej treści, napraw błędy składni json i spróbuj ponownie",
|
||||||
"network_error": "There seems to be a network error. Please try again.",
|
"network_error": "There seems to be a network error. Please try again.",
|
||||||
"network_fail": "Nie udało się wysłać zapytania",
|
"network_fail": "Nie udało się wysłać zapytania",
|
||||||
|
|||||||
@@ -171,6 +171,8 @@
|
|||||||
"f12_details": "(F12 para detalhes)",
|
"f12_details": "(F12 para detalhes)",
|
||||||
"gql_prettify_invalid_query": "Não foi possível justificar uma consulta inválida, resolva os erros de sintaxe da consulta e tente novamente",
|
"gql_prettify_invalid_query": "Não foi possível justificar uma consulta inválida, resolva os erros de sintaxe da consulta e tente novamente",
|
||||||
"incorrect_email": "Incorrect email",
|
"incorrect_email": "Incorrect email",
|
||||||
|
"invalid_link": "Invalid link",
|
||||||
|
"invalid_link_description": "The link you clicked is invalid or expired.",
|
||||||
"json_prettify_invalid_body": "Não foi possível embelezar um corpo inválido, resolver erros de sintaxe json e tentar novamente",
|
"json_prettify_invalid_body": "Não foi possível embelezar um corpo inválido, resolver erros de sintaxe json e tentar novamente",
|
||||||
"network_error": "There seems to be a network error. Please try again.",
|
"network_error": "There seems to be a network error. Please try again.",
|
||||||
"network_fail": "Não foi possível enviar pedido",
|
"network_fail": "Não foi possível enviar pedido",
|
||||||
|
|||||||
@@ -171,6 +171,8 @@
|
|||||||
"f12_details": "(F12 para detalhes)",
|
"f12_details": "(F12 para detalhes)",
|
||||||
"gql_prettify_invalid_query": "Não foi possível justificar uma consulta inválida, resolva os erros de sintaxe da consulta e tente novamente",
|
"gql_prettify_invalid_query": "Não foi possível justificar uma consulta inválida, resolva os erros de sintaxe da consulta e tente novamente",
|
||||||
"incorrect_email": "Incorrect email",
|
"incorrect_email": "Incorrect email",
|
||||||
|
"invalid_link": "Invalid link",
|
||||||
|
"invalid_link_description": "The link you clicked is invalid or expired.",
|
||||||
"json_prettify_invalid_body": "Não foi possível embelezar um corpo inválido, resolver erros de sintaxe json e tentar novamente",
|
"json_prettify_invalid_body": "Não foi possível embelezar um corpo inválido, resolver erros de sintaxe json e tentar novamente",
|
||||||
"network_error": "There seems to be a network error. Please try again.",
|
"network_error": "There seems to be a network error. Please try again.",
|
||||||
"network_fail": "Não foi possível enviar pedido",
|
"network_fail": "Não foi possível enviar pedido",
|
||||||
|
|||||||
@@ -171,6 +171,8 @@
|
|||||||
"f12_details": "(F12 pentru detalii)",
|
"f12_details": "(F12 pentru detalii)",
|
||||||
"gql_prettify_invalid_query": "Nu am putut preta o interogare nevalidă, rezolvarea erorilor de sintaxă a interogării și încercați din nou",
|
"gql_prettify_invalid_query": "Nu am putut preta o interogare nevalidă, rezolvarea erorilor de sintaxă a interogării și încercați din nou",
|
||||||
"incorrect_email": "Incorrect email",
|
"incorrect_email": "Incorrect email",
|
||||||
|
"invalid_link": "Invalid link",
|
||||||
|
"invalid_link_description": "The link you clicked is invalid or expired.",
|
||||||
"json_prettify_invalid_body": "Nu s-a putut pregăti un corp nevalid, a rezolva erorile de sintaxă json și a încerca din nou",
|
"json_prettify_invalid_body": "Nu s-a putut pregăti un corp nevalid, a rezolva erorile de sintaxă json și a încerca din nou",
|
||||||
"network_error": "There seems to be a network error. Please try again.",
|
"network_error": "There seems to be a network error. Please try again.",
|
||||||
"network_fail": "Nu s-a putut trimite solicitarea",
|
"network_fail": "Nu s-a putut trimite solicitarea",
|
||||||
|
|||||||
@@ -171,6 +171,8 @@
|
|||||||
"f12_details": "(F12 для подробностей)",
|
"f12_details": "(F12 для подробностей)",
|
||||||
"gql_prettify_invalid_query": "Не удалось определить недопустимый запрос, устранить синтаксические ошибки запроса и повторить попытку.",
|
"gql_prettify_invalid_query": "Не удалось определить недопустимый запрос, устранить синтаксические ошибки запроса и повторить попытку.",
|
||||||
"incorrect_email": "Incorrect email",
|
"incorrect_email": "Incorrect email",
|
||||||
|
"invalid_link": "Invalid link",
|
||||||
|
"invalid_link_description": "The link you clicked is invalid or expired.",
|
||||||
"json_prettify_invalid_body": "Не удалось определить недопустимое тело, устранить синтаксические ошибки json и повторить попытку.",
|
"json_prettify_invalid_body": "Не удалось определить недопустимое тело, устранить синтаксические ошибки json и повторить попытку.",
|
||||||
"network_error": "There seems to be a network error. Please try again.",
|
"network_error": "There seems to be a network error. Please try again.",
|
||||||
"network_fail": "Не удалось отправить запрос",
|
"network_fail": "Не удалось отправить запрос",
|
||||||
|
|||||||
@@ -171,6 +171,8 @@
|
|||||||
"f12_details": "(Ф12 за детаље)",
|
"f12_details": "(Ф12 за детаље)",
|
||||||
"gql_prettify_invalid_query": "Није могуће унапредити неважећи упит, решити грешке у синтакси упита и покушати поново",
|
"gql_prettify_invalid_query": "Није могуће унапредити неважећи упит, решити грешке у синтакси упита и покушати поново",
|
||||||
"incorrect_email": "Incorrect email",
|
"incorrect_email": "Incorrect email",
|
||||||
|
"invalid_link": "Invalid link",
|
||||||
|
"invalid_link_description": "The link you clicked is invalid or expired.",
|
||||||
"json_prettify_invalid_body": "Није могуће унапредити неважеће тело, решити грешке у синтакси јсон -а и покушати поново",
|
"json_prettify_invalid_body": "Није могуће унапредити неважеће тело, решити грешке у синтакси јсон -а и покушати поново",
|
||||||
"network_error": "There seems to be a network error. Please try again.",
|
"network_error": "There seems to be a network error. Please try again.",
|
||||||
"network_fail": "Слање захтева није успело",
|
"network_fail": "Слање захтева није успело",
|
||||||
|
|||||||
@@ -171,6 +171,8 @@
|
|||||||
"f12_details": "(F12 för detaljer)",
|
"f12_details": "(F12 för detaljer)",
|
||||||
"gql_prettify_invalid_query": "Det gick inte att pryda en ogiltig fråga, lösa frågesyntaxfel och försök igen",
|
"gql_prettify_invalid_query": "Det gick inte att pryda en ogiltig fråga, lösa frågesyntaxfel och försök igen",
|
||||||
"incorrect_email": "Incorrect email",
|
"incorrect_email": "Incorrect email",
|
||||||
|
"invalid_link": "Invalid link",
|
||||||
|
"invalid_link_description": "The link you clicked is invalid or expired.",
|
||||||
"json_prettify_invalid_body": "Det gick inte att pryda en ogiltig kropp, lösa json -syntaxfel och försök igen",
|
"json_prettify_invalid_body": "Det gick inte att pryda en ogiltig kropp, lösa json -syntaxfel och försök igen",
|
||||||
"network_error": "There seems to be a network error. Please try again.",
|
"network_error": "There seems to be a network error. Please try again.",
|
||||||
"network_fail": "Det gick inte att skicka förfrågan",
|
"network_fail": "Det gick inte att skicka förfrågan",
|
||||||
|
|||||||
@@ -171,6 +171,8 @@
|
|||||||
"f12_details": "(Ayrıntılar için F12)",
|
"f12_details": "(Ayrıntılar için F12)",
|
||||||
"gql_prettify_invalid_query": "Geçersiz bir sorgu güzelleştirilemedi, sorgu sözdizimi hatalarını çözüp tekrar deneyin",
|
"gql_prettify_invalid_query": "Geçersiz bir sorgu güzelleştirilemedi, sorgu sözdizimi hatalarını çözüp tekrar deneyin",
|
||||||
"incorrect_email": "Incorrect email",
|
"incorrect_email": "Incorrect email",
|
||||||
|
"invalid_link": "Invalid link",
|
||||||
|
"invalid_link_description": "The link you clicked is invalid or expired.",
|
||||||
"json_prettify_invalid_body": "Geçersiz bir gövde güzelleştirilemedi, json sözdizimi hatalarını çözüp tekrar deneyin",
|
"json_prettify_invalid_body": "Geçersiz bir gövde güzelleştirilemedi, json sözdizimi hatalarını çözüp tekrar deneyin",
|
||||||
"network_error": "There seems to be a network error. Please try again.",
|
"network_error": "There seems to be a network error. Please try again.",
|
||||||
"network_fail": "istek gönderilemedi",
|
"network_fail": "istek gönderilemedi",
|
||||||
|
|||||||
@@ -171,6 +171,8 @@
|
|||||||
"f12_details": "(F12 詳情)",
|
"f12_details": "(F12 詳情)",
|
||||||
"gql_prettify_invalid_query": "無法美化無效的查詢,處理查詢語法錯誤並重試",
|
"gql_prettify_invalid_query": "無法美化無效的查詢,處理查詢語法錯誤並重試",
|
||||||
"incorrect_email": "Incorrect email",
|
"incorrect_email": "Incorrect email",
|
||||||
|
"invalid_link": "Invalid link",
|
||||||
|
"invalid_link_description": "The link you clicked is invalid or expired.",
|
||||||
"json_prettify_invalid_body": "無法美化無效的請求頭,處理 JSON 語法錯誤並重試",
|
"json_prettify_invalid_body": "無法美化無效的請求頭,處理 JSON 語法錯誤並重試",
|
||||||
"network_error": "There seems to be a network error. Please try again.",
|
"network_error": "There seems to be a network error. Please try again.",
|
||||||
"network_fail": "無法傳送請求",
|
"network_fail": "無法傳送請求",
|
||||||
|
|||||||
@@ -171,6 +171,8 @@
|
|||||||
"f12_details": "(F12 для деталей)",
|
"f12_details": "(F12 для деталей)",
|
||||||
"gql_prettify_invalid_query": "Не вдалося попередньо визначити недійсний запит, вирішити синтаксичні помилки запиту та повторити спробу",
|
"gql_prettify_invalid_query": "Не вдалося попередньо визначити недійсний запит, вирішити синтаксичні помилки запиту та повторити спробу",
|
||||||
"incorrect_email": "Incorrect email",
|
"incorrect_email": "Incorrect email",
|
||||||
|
"invalid_link": "Invalid link",
|
||||||
|
"invalid_link_description": "The link you clicked is invalid or expired.",
|
||||||
"json_prettify_invalid_body": "Не вдалося заздалегідь визначити недійсне тіло, вирішити синтаксичні помилки json і повторити спробу",
|
"json_prettify_invalid_body": "Не вдалося заздалегідь визначити недійсне тіло, вирішити синтаксичні помилки json і повторити спробу",
|
||||||
"network_error": "There seems to be a network error. Please try again.",
|
"network_error": "There seems to be a network error. Please try again.",
|
||||||
"network_fail": "Не вдалося надіслати запит",
|
"network_fail": "Не вдалося надіслати запит",
|
||||||
|
|||||||
@@ -171,6 +171,8 @@
|
|||||||
"f12_details": "(F12 để biết chi tiết)",
|
"f12_details": "(F12 để biết chi tiết)",
|
||||||
"gql_prettify_invalid_query": "Không thể xác minh trước một truy vấn không hợp lệ, hãy giải quyết các lỗi cú pháp truy vấn và thử lại",
|
"gql_prettify_invalid_query": "Không thể xác minh trước một truy vấn không hợp lệ, hãy giải quyết các lỗi cú pháp truy vấn và thử lại",
|
||||||
"incorrect_email": "Incorrect email",
|
"incorrect_email": "Incorrect email",
|
||||||
|
"invalid_link": "Invalid link",
|
||||||
|
"invalid_link_description": "The link you clicked is invalid or expired.",
|
||||||
"json_prettify_invalid_body": "Không thể kiểm tra nội dung không hợp lệ, hãy giải quyết lỗi cú pháp json và thử lại",
|
"json_prettify_invalid_body": "Không thể kiểm tra nội dung không hợp lệ, hãy giải quyết lỗi cú pháp json và thử lại",
|
||||||
"network_error": "There seems to be a network error. Please try again.",
|
"network_error": "There seems to be a network error. Please try again.",
|
||||||
"network_fail": "Không thể gửi yêu cầu",
|
"network_fail": "Không thể gửi yêu cầu",
|
||||||
|
|||||||
128
packages/hoppscotch-app/pages/r/_id.vue
Normal file
128
packages/hoppscotch-app/pages/r/_id.vue
Normal file
@@ -0,0 +1,128 @@
|
|||||||
|
<template>
|
||||||
|
<div class="flex flex-col items-center justify-between">
|
||||||
|
<div
|
||||||
|
v-if="invalidLink"
|
||||||
|
class="flex flex-1 items-center justify-center flex-col"
|
||||||
|
>
|
||||||
|
<i class="opacity-75 pb-2 material-icons">error_outline</i>
|
||||||
|
<h1 class="heading text-center">
|
||||||
|
{{ $t("error.invalid_link") }}
|
||||||
|
</h1>
|
||||||
|
<p class="text-center mt-2">
|
||||||
|
{{ $t("error.invalid_link_description") }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div v-else class="flex-col flex-1 p-4 flex items-center justify-center">
|
||||||
|
<div
|
||||||
|
v-if="shortcodeDetails.loading"
|
||||||
|
class="flex-col flex-1 p-4 flex items-center justify-center"
|
||||||
|
>
|
||||||
|
<SmartSpinner />
|
||||||
|
</div>
|
||||||
|
<div v-else>
|
||||||
|
<div
|
||||||
|
v-if="!shortcodeDetails.loading && E.isLeft(shortcodeDetails.data)"
|
||||||
|
class="flex flex-col p-4 items-center"
|
||||||
|
>
|
||||||
|
<i class="mb-4 material-icons">error_outline</i>
|
||||||
|
<p>
|
||||||
|
{{ shortcodeDetails.data.left }}
|
||||||
|
</p>
|
||||||
|
<p class="mt-4">
|
||||||
|
<ButtonSecondary to="/" svg="home" filled :label="$t('app.home')" />
|
||||||
|
<ButtonSecondary
|
||||||
|
svg="refresh-cw"
|
||||||
|
:label="$t('app.reload')"
|
||||||
|
filled
|
||||||
|
@click.native="reloadApplication"
|
||||||
|
/>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
v-if="!shortcodeDetails.loading && E.isRight(shortcodeDetails.data)"
|
||||||
|
class="flex-col flex-1 p-4 flex items-center justify-center"
|
||||||
|
>
|
||||||
|
<h1 class="heading">
|
||||||
|
{{ $t("state.loading") }}
|
||||||
|
</h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script lang="ts">
|
||||||
|
import {
|
||||||
|
defineComponent,
|
||||||
|
useContext,
|
||||||
|
useRoute,
|
||||||
|
useRouter,
|
||||||
|
watch,
|
||||||
|
} from "@nuxtjs/composition-api"
|
||||||
|
import * as E from "fp-ts/Either"
|
||||||
|
import { useGQLQuery } from "~/helpers/backend/GQLClient"
|
||||||
|
import {
|
||||||
|
GetRequestFromShortcodeDocument,
|
||||||
|
GetRequestFromShortcodeQuery,
|
||||||
|
GetRequestFromShortcodeQueryVariables,
|
||||||
|
} from "~/helpers/backend/graphql"
|
||||||
|
import { HoppRESTRequest } from "~/helpers/types/HoppRESTRequest"
|
||||||
|
import { setRESTRequest } from "~/newstore/RESTSession"
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
|
setup() {
|
||||||
|
const route = useRoute()
|
||||||
|
const router = useRouter()
|
||||||
|
const { localePath } = useContext() as any
|
||||||
|
|
||||||
|
const shortcodeDetails = useGQLQuery<
|
||||||
|
GetRequestFromShortcodeQuery,
|
||||||
|
GetRequestFromShortcodeQueryVariables,
|
||||||
|
""
|
||||||
|
>({
|
||||||
|
query: GetRequestFromShortcodeDocument,
|
||||||
|
variables: {
|
||||||
|
shortcode: route.value.params.id as string,
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
watch(
|
||||||
|
() => shortcodeDetails.data,
|
||||||
|
() => {
|
||||||
|
if (shortcodeDetails.loading) return
|
||||||
|
|
||||||
|
const data = shortcodeDetails.data
|
||||||
|
|
||||||
|
if (E.isRight(data)) {
|
||||||
|
const request = JSON.parse(data.right.shortcode?.request as string)
|
||||||
|
|
||||||
|
setRESTRequest(request as unknown as HoppRESTRequest)
|
||||||
|
router.push({ path: localePath("/") })
|
||||||
|
}
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
|
const reloadApplication = () => {
|
||||||
|
window.location.reload()
|
||||||
|
}
|
||||||
|
|
||||||
|
return {
|
||||||
|
E,
|
||||||
|
shortcodeDetails,
|
||||||
|
reloadApplication,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
invalidLink: false,
|
||||||
|
shortcodeID: "",
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
if (typeof this.$route.params.id === "string") {
|
||||||
|
this.shortcodeID = this.$route.params.id
|
||||||
|
}
|
||||||
|
this.invalidLink = !this.shortcodeID
|
||||||
|
},
|
||||||
|
})
|
||||||
|
</script>
|
||||||
Reference in New Issue
Block a user