diff --git a/.github/ISSUE_TEMPLATE/---bug-report.md b/.github/ISSUE_TEMPLATE/---bug-report.md index 255aa018ca7..17d8c68701c 100644 --- a/.github/ISSUE_TEMPLATE/---bug-report.md +++ b/.github/ISSUE_TEMPLATE/---bug-report.md @@ -1,10 +1,9 @@ --- name: "\U0001F41E Bug report" about: Create a report to help us improve -title: '' +title: "" labels: bug -assignees: '' - +assignees: "" --- **Describe the bug** @@ -12,6 +11,7 @@ A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: + 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' @@ -24,15 +24,17 @@ A clear and concise description of what you expected to happen. If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - - OS: [e.g. iOS] - - Browser [e.g. chrome, safari] - - Version [e.g. 22] + +- OS: [e.g. iOS] +- Browser [e.g. chrome, safari] +- Version [e.g. 22] **Smartphone (please complete the following information):** - - Device: [e.g. iPhone6] - - OS: [e.g. iOS8.1] - - Browser [e.g. stock browser, safari] - - Version [e.g. 22] + +- Device: [e.g. iPhone6] +- OS: [e.g. iOS8.1] +- Browser [e.g. stock browser, safari] +- Version [e.g. 22] **Additional context** Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/---feature-request.md b/.github/ISSUE_TEMPLATE/---feature-request.md index 9d89858cc61..8150e01b8ed 100644 --- a/.github/ISSUE_TEMPLATE/---feature-request.md +++ b/.github/ISSUE_TEMPLATE/---feature-request.md @@ -1,10 +1,9 @@ --- name: "\U0001F914 Feature request" about: Please use discussions instead of issues for feature requests -title: '' -labels: '' -assignees: '' - +title: "" +labels: "" +assignees: "" --- **DO NOT OPEN AN ISSUE FOR FEATURE REQUESTS** diff --git a/.prettierrc b/.prettierrc index d3432c13578..43603229a59 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,4 +1,5 @@ { + "plugins": ["prettier-plugin-tailwindcss"], "semi": true, "tabWidth": 2, "useTabs": false, diff --git a/apps/docs/contribute/documentation.mdx b/apps/docs/contribute/documentation.mdx index 7c56892cd54..f681cd9d254 100644 --- a/apps/docs/contribute/documentation.mdx +++ b/apps/docs/contribute/documentation.mdx @@ -7,7 +7,10 @@ description: Help us maintain and improve our documentation If you have a [Github](https://github.com) account, you can make changes or report issues using the links that appear at the top of each page. - Edit Documentation Links + Edit Documentation Links ## Submitting a Pull Request diff --git a/apps/docs/contribute/translations.mdx b/apps/docs/contribute/translations.mdx index c751800125d..ff92c2c6fee 100644 --- a/apps/docs/contribute/translations.mdx +++ b/apps/docs/contribute/translations.mdx @@ -20,7 +20,7 @@ Once you've joined the project: 3. Start translating! - Crowdin Project + Crowdin Project ## Tips for Translators @@ -98,7 +98,10 @@ If your language requires more than one plural form, you can add additional rule ``` - Using ICU Message Format on Corwdin + Using ICU Message Format on Corwdin ### Register diff --git a/apps/docs/introduction.mdx b/apps/docs/introduction.mdx index e473efe1ef7..0effb3b0453 100644 --- a/apps/docs/introduction.mdx +++ b/apps/docs/introduction.mdx @@ -5,7 +5,7 @@ description: "Welcome to the official documentation for Rallly." --- - Rallly Splash Image + Rallly Splash Image ## What is Rallly? diff --git a/apps/docs/self-hosting/introduction.mdx b/apps/docs/self-hosting/introduction.mdx index dfe388ab9af..87b6369550e 100644 --- a/apps/docs/self-hosting/introduction.mdx +++ b/apps/docs/self-hosting/introduction.mdx @@ -8,7 +8,7 @@ Rallly is 100% open-source and available under the [GNU Affero General Public Li which allows you to run your own instance of Rallly for free for both personal and commercial use. - Rallly Splash Image + Rallly Splash Image ## Official Docker Image diff --git a/apps/docs/tsconfig.json b/apps/docs/tsconfig.json index 4ad2dd44281..beac8603e15 100644 --- a/apps/docs/tsconfig.json +++ b/apps/docs/tsconfig.json @@ -1,5 +1,5 @@ { "extends": "@rallly/tsconfig/next.json", "include": ["**/*.ts", "**/*.tsx", "**/*.js"], - "exclude": ["node_modules"] + "exclude": ["node_modules"], } diff --git a/apps/docs/workflow/finalize.mdx b/apps/docs/workflow/finalize.mdx index 0c7a923c2ab..2ff00e4c7fc 100644 --- a/apps/docs/workflow/finalize.mdx +++ b/apps/docs/workflow/finalize.mdx @@ -27,5 +27,6 @@ description: "Pick a final date for your event" Finalized Poll + diff --git a/apps/landing/src/components/blog/markdown-styles.module.css b/apps/landing/src/components/blog/markdown-styles.module.css index 73d2a930ca2..f9e9b2f6073 100644 --- a/apps/landing/src/components/blog/markdown-styles.module.css +++ b/apps/landing/src/components/blog/markdown-styles.module.css @@ -10,11 +10,11 @@ } .markdown h2 { - @apply mt-12 mb-4 text-2xl font-semibold leading-snug; + @apply mb-4 mt-12 text-2xl font-semibold leading-snug; } .markdown h3 { - @apply mt-8 mb-4 text-xl font-semibold leading-snug; + @apply mb-4 mt-8 text-xl font-semibold leading-snug; } .markdown a { diff --git a/apps/landing/src/pages/cookie-policy.tsx b/apps/landing/src/pages/cookie-policy.tsx index 5510fcaf96d..389ecbdcaaf 100644 --- a/apps/landing/src/pages/cookie-policy.tsx +++ b/apps/landing/src/pages/cookie-policy.tsx @@ -8,7 +8,7 @@ const PrivacyPolicy = () => { return ( -
+

Cookie Policy

Last updated: 19 April 2023

diff --git a/apps/landing/src/pages/privacy-policy.tsx b/apps/landing/src/pages/privacy-policy.tsx index b175d54f1e6..0c5128fb568 100644 --- a/apps/landing/src/pages/privacy-policy.tsx +++ b/apps/landing/src/pages/privacy-policy.tsx @@ -7,7 +7,7 @@ const PrivacyPolicy = () => { return ( -

+

Privacy Policy

Last updated: 1 August 2023

diff --git a/apps/landing/src/pages/terms-of-use.tsx b/apps/landing/src/pages/terms-of-use.tsx index 2de4d7b0ee0..970870e7fc7 100644 --- a/apps/landing/src/pages/terms-of-use.tsx +++ b/apps/landing/src/pages/terms-of-use.tsx @@ -7,7 +7,7 @@ const PrivacyPolicy = () => { return ( -

+

Terms of Use

Last updated: 4 July 2023

diff --git a/apps/landing/src/style.css b/apps/landing/src/style.css index 7f5036d7928..7dc5cf884b8 100644 --- a/apps/landing/src/style.css +++ b/apps/landing/src/style.css @@ -8,7 +8,9 @@ } body { @apply text-foreground overflow-y-auto bg-gray-200/50; - font-feature-settings: "rlig" 1, "calt" 1; + font-feature-settings: + "rlig" 1, + "calt" 1; } html { @apply h-full font-sans text-base; diff --git a/apps/landing/tsconfig.json b/apps/landing/tsconfig.json index e259cb9d55f..00fe2e1a734 100644 --- a/apps/landing/tsconfig.json +++ b/apps/landing/tsconfig.json @@ -4,10 +4,10 @@ "baseUrl": ".", "paths": { "@/*": ["src/*"], - "~/*": ["public/*"] + "~/*": ["public/*"], }, - "checkJs": false + "checkJs": false, }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], - "exclude": ["node_modules"] + "exclude": ["node_modules"], } diff --git a/apps/web/src/app/[locale]/(admin)/layout.tsx b/apps/web/src/app/[locale]/(admin)/layout.tsx index ba5f94bd1a7..ecf190aa7de 100644 --- a/apps/web/src/app/[locale]/(admin)/layout.tsx +++ b/apps/web/src/app/[locale]/(admin)/layout.tsx @@ -29,18 +29,18 @@ const Auth = ({ children }: { children: React.ReactNode }) => { function MobileNavigation() { return ( -

+
-
+
@@ -59,7 +59,7 @@ export default async function Layout({ -
+
{children}
diff --git a/apps/web/src/app/[locale]/(admin)/menu-item.tsx b/apps/web/src/app/[locale]/(admin)/menu-item.tsx index 9235b17ad90..6fc4ac9c12c 100644 --- a/apps/web/src/app/[locale]/(admin)/menu-item.tsx +++ b/apps/web/src/app/[locale]/(admin)/menu-item.tsx @@ -23,8 +23,8 @@ export function MenuItem({ className={cn( isCurrent ? "bg-gray-200 text-indigo-600" - : "text-gray-700 hover:text-primary", - "group flex items-center gap-x-3 rounded-md py-2 px-3 text-sm leading-6 font-semibold", + : "hover:text-primary text-gray-700", + "group flex items-center gap-x-3 rounded-md px-3 py-2 text-sm font-semibold leading-6", )} > -
+
diff --git a/apps/web/src/app/[locale]/(admin)/polls/layout.tsx b/apps/web/src/app/[locale]/(admin)/polls/layout.tsx index 234a9dfa465..680e08485d1 100644 --- a/apps/web/src/app/[locale]/(admin)/polls/layout.tsx +++ b/apps/web/src/app/[locale]/(admin)/polls/layout.tsx @@ -22,13 +22,13 @@ export default async function Layout({ return ( -
+
diff --git a/apps/web/src/app/[locale]/(auth)/login/loading.tsx b/apps/web/src/app/[locale]/(auth)/login/loading.tsx index f96791430cb..c83e66c9cab 100644 --- a/apps/web/src/app/[locale]/(auth)/login/loading.tsx +++ b/apps/web/src/app/[locale]/(auth)/login/loading.tsx @@ -2,7 +2,7 @@ import { Spinner } from "@/components/spinner"; export default function Loading() { return ( -
+
); diff --git a/apps/web/src/app/[locale]/(auth)/login/login-form.tsx b/apps/web/src/app/[locale]/(auth)/login/login-form.tsx index b239031e684..b17de8ba976 100644 --- a/apps/web/src/app/[locale]/(auth)/login/login-form.tsx +++ b/apps/web/src/app/[locale]/(auth)/login/login-form.tsx @@ -129,12 +129,12 @@ export function LoginForm({ oidcConfig }: { oidcConfig?: { name: string } }) { {hasAlternativeLoginMethods ? ( <> -
+
diff --git a/apps/web/src/app/[locale]/(auth)/login/page.tsx b/apps/web/src/app/[locale]/(auth)/login/page.tsx index 84874ee1af2..128abbbbdde 100644 --- a/apps/web/src/app/[locale]/(auth)/login/page.tsx +++ b/apps/web/src/app/[locale]/(auth)/login/page.tsx @@ -20,7 +20,7 @@ export default async function LoginPage({ params }: { params: Params }) { oidcConfig={isOIDCEnabled ? { name: oidcName } : undefined} /> -
+
-
+
{ className={poll.userId !== user.id ? "hidden" : ""} > - + @@ -92,8 +92,8 @@ export function InvitePage() { -
-
+
+
diff --git a/apps/web/src/app/[locale]/invite/[urlId]/loading.tsx b/apps/web/src/app/[locale]/invite/[urlId]/loading.tsx index bd4ea3dd0e2..9b0ec733f56 100644 --- a/apps/web/src/app/[locale]/invite/[urlId]/loading.tsx +++ b/apps/web/src/app/[locale]/invite/[urlId]/loading.tsx @@ -4,8 +4,8 @@ import { Skeleton } from "@/components/skeleton"; export default function Loading() { return ( - - + + ); diff --git a/apps/web/src/app/[locale]/invite/[urlId]/nav.tsx b/apps/web/src/app/[locale]/invite/[urlId]/nav.tsx index fa19af8cd22..7f4c8e7c1fc 100644 --- a/apps/web/src/app/[locale]/invite/[urlId]/nav.tsx +++ b/apps/web/src/app/[locale]/invite/[urlId]/nav.tsx @@ -23,7 +23,7 @@ export const Nav = () => { className={poll.userId !== user.id ? "hidden" : ""} > - + diff --git a/apps/web/src/app/[locale]/menu/back-button.tsx b/apps/web/src/app/[locale]/menu/back-button.tsx index b6f91669a99..046fbdf4b40 100644 --- a/apps/web/src/app/[locale]/menu/back-button.tsx +++ b/apps/web/src/app/[locale]/menu/back-button.tsx @@ -13,7 +13,7 @@ export function BackButton() { router.back(); }} > - + ); } diff --git a/apps/web/src/app/[locale]/menu/page.tsx b/apps/web/src/app/[locale]/menu/page.tsx index a537bf5fa9c..570f9261c79 100644 --- a/apps/web/src/app/[locale]/menu/page.tsx +++ b/apps/web/src/app/[locale]/menu/page.tsx @@ -9,7 +9,7 @@ export default function Page() {
{ defaults="<0>Create an account or <1>login to claim this poll." components={[ , - , + , ]} /> diff --git a/apps/web/src/app/[locale]/poll/[urlId]/page.tsx b/apps/web/src/app/[locale]/poll/[urlId]/page.tsx index 3e95058dc9e..a6404bebda1 100644 --- a/apps/web/src/app/[locale]/poll/[urlId]/page.tsx +++ b/apps/web/src/app/[locale]/poll/[urlId]/page.tsx @@ -6,7 +6,7 @@ import { GuestPollAlert } from "./guest-poll-alert"; export default async function Page() { return ( -
+
diff --git a/apps/web/src/app/[locale]/poll/[urlId]/skeleton.tsx b/apps/web/src/app/[locale]/poll/[urlId]/skeleton.tsx index bd31d4518ee..d2ad545cdfb 100644 --- a/apps/web/src/app/[locale]/poll/[urlId]/skeleton.tsx +++ b/apps/web/src/app/[locale]/poll/[urlId]/skeleton.tsx @@ -5,8 +5,8 @@ export default function Loading() { return ( - - + + ); diff --git a/apps/web/src/app/components/logo-link.tsx b/apps/web/src/app/components/logo-link.tsx index bbf374a5efa..cfe3bfaf8f7 100644 --- a/apps/web/src/app/components/logo-link.tsx +++ b/apps/web/src/app/components/logo-link.tsx @@ -4,7 +4,7 @@ import Link from "next/link"; export function LogoLink() { return ( +

{children}

); @@ -34,9 +34,9 @@ export function PageHeader({ return (
{children}
; + return
{children}
; } diff --git a/apps/web/src/components/auth/auth-forms.tsx b/apps/web/src/components/auth/auth-forms.tsx index 2a3f2983569..16b396db348 100644 --- a/apps/web/src/components/auth/auth-forms.tsx +++ b/apps/web/src/components/auth/auth-forms.tsx @@ -44,7 +44,7 @@ export const VerifyCode: React.FunctionComponent<{ })} >
-

{t("verifyYourEmail")}

+

{t("verifyYourEmail")}

{t("stepSummary", { current: 2, diff --git a/apps/web/src/components/auth/auth-layout.tsx b/apps/web/src/components/auth/auth-layout.tsx index 17c9d44e8b6..6922ab45edd 100644 --- a/apps/web/src/components/auth/auth-layout.tsx +++ b/apps/web/src/components/auth/auth-layout.tsx @@ -15,7 +15,7 @@ export const AuthCard = ({ children }: { children?: React.ReactNode }) => { export const AuthFooter = ({ children }: { children?: React.ReactNode }) => { return ( -
+
{children}
); diff --git a/apps/web/src/components/card.tsx b/apps/web/src/components/card.tsx index f4c95d5e3cb..54fa930572b 100644 --- a/apps/web/src/components/card.tsx +++ b/apps/web/src/components/card.tsx @@ -11,7 +11,7 @@ export const Card = ( className={cn( "max-w-full overflow-hidden bg-white shadow-sm", props.fullWidthOnMobile - ? "sm:rounded-md sm:border-y sm:border-x" + ? "sm:rounded-md sm:border-x sm:border-y" : "rounded-md border shadow-sm", props.className, )} diff --git a/apps/web/src/components/event-card.tsx b/apps/web/src/components/event-card.tsx index 7bc8a38700d..724adcd046a 100644 --- a/apps/web/src/components/event-card.tsx +++ b/apps/web/src/components/event-card.tsx @@ -41,10 +41,10 @@ export const EventCard = () => { return (
-
+
{poll.event ? ( @@ -56,7 +56,7 @@ export const EventCard = () => { ) : null}

{preventWidows(poll.title)} @@ -105,7 +105,7 @@ export const EventCard = () => {
{poll.description ? (
- +
{poll.description}
@@ -113,12 +113,12 @@ export const EventCard = () => { ) : null} {poll.location ? (
- + {poll.location}
) : null}
- +
diff --git a/apps/web/src/components/invite-dialog.tsx b/apps/web/src/components/invite-dialog.tsx index 712160ecb2d..2ffb703d331 100644 --- a/apps/web/src/components/invite-dialog.tsx +++ b/apps/web/src/components/invite-dialog.tsx @@ -29,7 +29,7 @@ export function CopyInviteLinkButton() { return ( ); diff --git a/apps/web/src/components/layouts/poll-layout.tsx b/apps/web/src/components/layouts/poll-layout.tsx index 850dde21ae3..6f1336eb0ba 100644 --- a/apps/web/src/components/layouts/poll-layout.tsx +++ b/apps/web/src/components/layouts/poll-layout.tsx @@ -167,9 +167,9 @@ const Layout = ({ children }: React.PropsWithChildren) => { return ( - -
-
+ +
+
{pathname === pollLink ? (