Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
📝 Announce free finalizing and open poll limits (#3507)
Luke Vella61b4d4f29361
diff --git a/apps/docs/workflow/schedule.mdx b/apps/docs/workflow/schedule.mdxindex 855b6d101..03eeda36d 100644--- a/apps/docs/workflow/schedule.mdx+++ b/apps/docs/workflow/schedule.mdx@@ -34,13 +34,8 @@ invite to the participants you choose and closes the poll to new responses.</Step><Step title="Check the summary and finalize">The summary shows the date, the location and the video call the event will- carry. A Zoom, Google Meet, Microsoft Teams or Webex link is created at this- point. Click **Finalize**.-- <Note>- Zoom, Microsoft Teams and Webex links require a [Pro subscription](https://rallly.co/pricing)- on rallly.co. Google Meet works on every plan.- </Note>+ carry. If the poll has a video call, its link is created at this point.+ Click **Finalize**.This will:diff --git a/apps/landing/public/locales/en/home.json b/apps/landing/public/locales/en/home.jsonindex 32043911f..d510f27c4 100644--- a/apps/landing/public/locales/en/home.json+++ b/apps/landing/public/locales/en/home.json@@ -1,6 +1,5 @@{- "apiAnnouncement": "Introducing the Rallly API",- "apiBlogBadge": "New",+ "announcementBadge": "New","assistantsDescription": "Whether you support one executive or a whole department, find a time that works across a dozen busy calendars without a single follow-up email. Share one link, watch the responses land, and lock in the slot everyone can make. Free, and nobody you invite needs an account.","assistantsFaqBranding": "Can polls carry our company branding?","assistantsFaqBrandingAnswer": "With <0>Rallly Pro</0> you can add your own logo and colours and remove Rallly attribution, so a poll you send to a board or a client looks like it came from your organization. Everything else is free to use.",@@ -87,6 +86,7 @@"faqWhen2meetMobileAnswer": "Yes. Voting on a Rallly poll is a matter of tapping the times that work for you, so it feels natural on a phone. There is no drag-select grid to wrestle with on a small screen.","finalCtaDescription": "Set up your poll in under a minute. No account, no chasing people for replies.","finalCtaTitle": "Ready to find the best time to meet?",+ "freeFinalizeAnnouncement": "Finalizing polls is now free","freeSchedulingPollAvailabilityPollDescription": "Not sure when everyone is free? Offer a wider range of times and each person answers yes, no, or if need be.","freeSchedulingPollAvailabilityPollTitle": "Availability poll","freeSchedulingPollCalendarPollDescription": "Scheduling an event? Offer whole dates on a calendar and find the day that suits the most people.",diff --git a/apps/landing/public/static/images/free-scheduling/finalize-notify.png b/apps/landing/public/static/images/free-scheduling/finalize-notify.pngnew file mode 100644index 000000000..db19a89a7Binary files /dev/null and b/apps/landing/public/static/images/free-scheduling/finalize-notify.png differdiff --git a/apps/landing/public/static/images/free-scheduling/finalize-results.png b/apps/landing/public/static/images/free-scheduling/finalize-results.pngnew file mode 100644index 000000000..37400551bBinary files /dev/null and b/apps/landing/public/static/images/free-scheduling/finalize-results.png differdiff --git a/apps/landing/public/static/images/free-scheduling/finalize-summary.png b/apps/landing/public/static/images/free-scheduling/finalize-summary.pngnew file mode 100644index 000000000..789578a3dBinary files /dev/null and b/apps/landing/public/static/images/free-scheduling/finalize-summary.png differdiff --git a/apps/landing/src/app/[locale]/(main)/page.tsx b/apps/landing/src/app/[locale]/(main)/page.tsxindex 88be8668a..d0d340db4 100644--- a/apps/landing/src/app/[locale]/(main)/page.tsx+++ b/apps/landing/src/app/[locale]/(main)/page.tsx@@ -43,16 +43,21 @@ export default async function Page(props: {descriptionClassName="max-w-[600px]"announcement={<HeroAnnouncement- href="/blog/introducing-the-rallly-api"+ href="/blog/finalizing-polls-is-now-free"badge={- <Trans t={t} ns="home" i18nKey="apiBlogBadge" defaults="New" />+ <Trans+ t={t}+ ns="home"+ i18nKey="announcementBadge"+ defaults="New"+ />}><Transt={t}ns="home"- i18nKey="apiAnnouncement"- defaults="Introducing the Rallly API"+ i18nKey="freeFinalizeAnnouncement"+ defaults="Finalizing polls is now free"/></HeroAnnouncement>}diff --git a/apps/landing/src/posts/finalizing-polls-is-now-free.md b/apps/landing/src/posts/finalizing-polls-is-now-free.mdnew file mode 100644index 000000000..3b9e3a17e--- /dev/null+++ b/apps/landing/src/posts/finalizing-polls-is-now-free.md@@ -0,0 +1,46 @@+---+title: Finalizing polls is now free+date: "2026-10-13"+category: Product+excerpt: You can now finalize a poll and send everyone a calendar invite on every plan. Here's what's changing and why.+---++When I launched [Rallly Pro](/blog/introducing-rallly-pro), finalizing a poll was the headline feature. Pick a date, send out calendar invites, done. It's now free for everyone.++## Finalize on every plan++Click **Finalize** in the poll header and you'll see your options ranked by popularity, with a breakdown of who can make each one. Pick the date that works best.++++Next, choose who to notify. Everyone who left an email address is selected, and you can untick anyone you'd rather tell yourself.++++Everyone you select gets an email with a calendar invite. If you added a video call to your poll, the link is created when you finalize and included in the invite. Google Meet works on every plan, and Microsoft Teams and Webex are available on Pro.++++## Why I'm making this change++I've spent a lot of time this year thinking about what a fair pricing model for Rallly looks like. I want Rallly to stay genuinely useful for free, because that's how most people find it and how it spreads. Someone organizes a dinner, their friends vote, and a few of them go on to use it for their own plans. But I also need Rallly to be sustainable so I can keep working on it and shipping improvements.++Finalizing never felt like the right thing to charge for. It's the step that turns a poll into an actual event, and without it the free plan stopped just short of doing its job. The people who get the most out of Rallly are the ones who use it to schedule a lot, often as part of their work, so that's where I'd rather draw the line.++## Open poll limits++From now on, what separates the plans is how many polls you can have open at the same time. Without an account you can have one open poll. A free account can have three. Pro has no limit.++You can still create as many polls as you like, and there's no limit on participants or options. A poll stops counting as soon as you finalize or close it, and polls close on their own once their dates have passed. If you organize the odd team meeting or get together, you'll probably never notice.++If you're running several polls at once, Pro removes the limit and gives you everything else Pro has to offer, like email invites, custom branding and video calls with Teams and Webex. Every subscription goes straight back into building Rallly.++## What's next++This is part of a bigger effort to make Rallly better for everyone, whether you pay or not. The longer term goal is a free plan where you can try everything Rallly has to offer, with Pro there for when you're scheduling at a volume where it makes sense.++I'll be keeping a close eye on how these changes land and I'll adjust them if something isn't working. If the limit gets in your way, or you have thoughts on how pricing should work, I'd really like to hear from you at [[email protected]](mailto:[email protected]).++Thanks for your continued support.++Happy scheduling :)diff --git a/apps/web/src/features/poll/components/finalize-poll-dialog.tsx b/apps/web/src/features/poll/components/finalize-poll-dialog.tsxindex 6a3313f28..d2e628cff 100644--- a/apps/web/src/features/poll/components/finalize-poll-dialog.tsx+++ b/apps/web/src/features/poll/components/finalize-poll-dialog.tsx@@ -606,7 +606,7 @@ function FinalizeWizard({ onClose }: { onClose: () => void }) {if (step === "date" || !option) {return (- <div className={wideStepClassName}>+ <div data-slot="dialog-step" className={wideStepClassName}><DialogHeader><DialogTitle><Trans i18nKey="finalizePoll" defaults="Finalize poll" />@@ -632,7 +632,7 @@ function FinalizeWizard({ onClose }: { onClose: () => void }) {if (step === "done") {return (- <div className={narrowStepClassName}>+ <div data-slot="dialog-step" className={narrowStepClassName}><div className="flex flex-col items-center gap-4 py-4 text-center"><SuccessCheck state="in"><SuccessCheckIcon />@@ -667,7 +667,7 @@ function FinalizeWizard({ onClose }: { onClose: () => void }) {if (step === "summary") {return (- <div className={narrowStepClassName}>+ <div data-slot="dialog-step" className={narrowStepClassName}><DialogHeader><DialogTitle><Trans i18nKey="finalizeSummaryTitle" defaults="Summary" />@@ -714,7 +714,7 @@ function FinalizeWizard({ onClose }: { onClose: () => void }) {}return (- <div className={wideStepClassName}>+ <div data-slot="dialog-step" className={wideStepClassName}><DialogHeader><DialogTitle><Trans i18nKey="notifyParticipants" defaults="Notify participants" />diff --git a/biome-plugins/no-raw-datetime-formatting.grit b/biome-plugins/no-raw-datetime-formatting.gritindex b0f423fef..d87b0e33c 100644--- a/biome-plugins/no-raw-datetime-formatting.grit+++ b/biome-plugins/no-raw-datetime-formatting.grit@@ -4,7 +4,8 @@// detection (timezone-schema, date-time-utils), zone abbreviations (timezone-utils), tests// (which format independently of the app to act as an oracle, matching the// tests exemption in the biome.json overrides), repo scripts (tooling that-// renders no user-facing UI), and files still pending migration. Shrink it+// renders no user-facing UI), screenshot capture scripts (which seed+// fixtures in a fixed zone), and files still pending migration. Shrink it// as RAL-1247 proceeds.// packages/ui and apps/landing are exempt entirely: lib/datetime is an// apps/web app-layer concept, and neither a shared UI package nor another@@ -27,6 +28,7 @@ or {r".*/src/features/poll/components/manage-poll/use-csv-exporter\.ts",r".*/tests/.*",r".*/scripts/.*",+ r".*/packages/screenshots/.*",r".*/packages/ui/.*",r".*/apps/landing/.*"},diff --git a/packages/screenshots/capture/blog-free-finalizing.spec.ts b/packages/screenshots/capture/blog-free-finalizing.spec.tsnew file mode 100644index 000000000..1d0b84aa1--- /dev/null+++ b/packages/screenshots/capture/blog-free-finalizing.spec.ts@@ -0,0 +1,177 @@+import type { Locator, Page } from "@playwright/test";+import { test } from "@playwright/test";+import { prisma } from "@rallly/database";+import { deleteAllMessages, loginWithEmail } from "@rallly/test-helpers";+import dayjs from "dayjs";+import { customAlphabet } from "nanoid";+import { blogImagePath } from "./helpers";++const timeZone = "America/New_York";++test.use({ deviceScaleFactor: 2, timezoneId: timeZone });++// The wall clock hour in the poll's time zone, whatever zone this runs in.+function wallTime({ day, hour }: { day: number; hour: number }) {+ const date = dayjs().add(day, "day");+ const guess = Date.UTC(date.year(), date.month(), date.date(), hour);+ const parts = Object.fromEntries(+ new Intl.DateTimeFormat("en-US", {+ timeZone,+ hourCycle: "h23",+ year: "numeric",+ month: "numeric",+ day: "numeric",+ hour: "numeric",+ })+ .formatToParts(new Date(guess))+ .map(({ type, value }) => [type, Number(value)]),+ );+ const offset =+ Date.UTC(parts.year, parts.month - 1, parts.day, parts.hour) - guess;+ return new Date(guess - offset);+}++const pollId = "blog-free-finalizing";++// Mirrors generateAccessToken in apps/web/src/features/poll/utils.ts, which+// this package cannot import. Participant.token has no DB default.+const generateAccessToken = customAlphabet(+ "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",+ 32,+);++const slots = [+ { day: 7, hour: 10 },+ { day: 8, hour: 14 },+ { day: 9, hour: 11 },+ { day: 10, hour: 15 },+];++const participants: {+ name: string;+ email: string;+ votes: ("yes" | "no" | "ifNeedBe")[];+}[] = [+ {+ name: "Sarah Johnson",+ email: "[email protected]",+ votes: ["yes", "yes", "no", "ifNeedBe"],+ },+ {+ name: "Michael Chen",+ email: "[email protected]",+ votes: ["yes", "ifNeedBe", "yes", "no"],+ },+ {+ name: "Emily Rodriguez",+ email: "[email protected]",+ votes: ["yes", "no", "yes", "yes"],+ },+ {+ name: "David Kim",+ email: "[email protected]",+ votes: ["yes", "yes", "no", "yes"],+ },+ {+ name: "Priya Patel",+ email: "[email protected]",+ votes: ["yes", "yes", "ifNeedBe", "no"],+ },+];++async function deletePoll() {+ await prisma.poll.deleteMany({ where: { id: pollId } });+}++test.beforeAll(async () => {+ await deleteAllMessages();+ await deletePoll();++ const poll = await prisma.poll.create({+ data: {+ id: pollId,+ title: "Product roadmap review",+ userId: "user-1",+ spaceId: "space-2",+ status: "open",+ timeZone,+ conferencing: { provider: "meet" },+ options: {+ create: slots.map(({ day, hour }) => ({+ startTime: wallTime({ day, hour }),+ duration: 60,+ })),+ },+ participants: {+ create: participants.map(({ name, email }) => ({+ name,+ email,+ token: generateAccessToken(),+ })),+ },+ },+ include: { options: true, participants: true },+ });++ const options = [...poll.options].sort(+ (a, b) => a.startTime.getTime() - b.startTime.getTime(),+ );++ await prisma.vote.createMany({+ data: poll.participants.flatMap((participant) => {+ const votes =+ participants.find((p) => p.name === participant.name)?.votes ?? [];+ return options.map((option, i) => ({+ optionId: option.id,+ participantId: participant.id,+ pollId: poll.id,+ type: votes[i] ?? "yes",+ }));+ }),+ });+});++test.afterAll(deletePoll);++async function capture(page: Page, dialog: Locator, name: string) {+ await page.mouse.move(0, 0);+ // The dialog eases its width between steps.+ await page.waitForTimeout(600);+ await page.evaluate(() => document.fonts.ready);+ const box = await dialog.boundingBox();+ if (!box) throw new Error("dialog not visible");+ // One frame size for every step, centred on the dialog, so the images+ // line up in the post and the dialog keeps room around it.+ const width = 880;+ const height = 600;+ await page.screenshot({+ path: blogImagePath(`free-scheduling/${name}`),+ animations: "disabled",+ clip: {+ x: box.x + box.width / 2 - width / 2,+ y: box.y + box.height / 2 - height / 2,+ width,+ height,+ },+ });+}++test("free finalizing blog screenshots", async ({ page }) => {+ await page.setViewportSize({ width: 1280, height: 900 });+ await loginWithEmail(page, { email: "[email protected]" });+ await page.goto(`/poll/${pollId}`);+ await page.waitForLoadState("networkidle");++ await page.getByRole("button", { name: "Finalize", exact: true }).click();+ const dialog = page.getByRole("dialog");+ await dialog.getByText("Finalize poll").waitFor();+ await capture(page, dialog, "finalize-results");++ await dialog.locator("button.after\\:absolute").first().click();+ await dialog.getByText("Notify participants").waitFor();+ await capture(page, dialog, "finalize-notify");++ await dialog.getByRole("button", { name: "Next" }).click();+ await dialog.getByText("Google Meet").waitFor();+ await capture(page, dialog, "finalize-summary");+});diff --git a/packages/screenshots/capture/helpers.ts b/packages/screenshots/capture/helpers.tsindex c970c1297..759057fda 100644--- a/packages/screenshots/capture/helpers.ts+++ b/packages/screenshots/capture/helpers.ts@@ -5,3 +5,7 @@ export function screenshotPath(name: string) {export function docsImagePath(name: string) {return `../../apps/docs/images/${name}.png`;}++export function blogImagePath(name: string) {+ return `../../apps/landing/public/static/images/${name}.png`;+}diff --git a/packages/tailwind-config/shared-styles.css b/packages/tailwind-config/shared-styles.cssindex cb34241a7..6fa44daa4 100644--- a/packages/tailwind-config/shared-styles.css+++ b/packages/tailwind-config/shared-styles.css@@ -2,10 +2,12 @@@custom-variant dark (&:where(.dark, .dark *));/* A dialog header or footer at the top level of the dialog's scroll area- * (directly, or inside a top-level form), where it pins to the edge. */+ * (directly, or inside a top-level form or wizard step), where it pins to+ * the edge. */@custom-variant dialog-edge (:is([data-slot="dialog-scroller"],- [data-slot="dialog-scroller"] > form+ [data-slot="dialog-scroller"] > form,+ [data-slot="dialog-scroller"] > [data-slot="dialog-step"])> &);