Skip to content

feat(export): one-time card to follow Pelli on Instagram or star the project - #3

Draft
loan-talvat wants to merge 1 commit into
mainfrom
feat/support-card
Draft

loan-talvat wants to merge 1 commit into
mainfrom
feat/support-card

Conversation

@loan-talvat

Copy link
Copy Markdown
Contributor

Why

About 720 installs for 9 GitHub stars: users like the app but don't say so. Most of them are photographers without a GitHub account, so the ask leads with Instagram (@pelli.io) and keeps the GitHub star second, with the reason ("it's free, and it's the best way to help us").

What

  • After the 3rd successful export (no export error, no failed upload), the export report shows a small card, once:
    • main button: Follow @pelli.io on Instagram;
    • second line: Or leave a star on GitHub: it's free, and it's the best way to help us.
  • Closing the card (×) or opening either link: it never shows again.
  • It takes the place of the Pelli gallery line on that report (one card at a time), never a pop-up.
  • Hidden with Plus, like the other Pelli cards (the README promises "No Pelli promotion" with Plus). Worth discussing if we want to ask Plus users too.
  • The count and the "closed" flag live in the existing local preferences (exportsDone, supportCardClosed); nothing is sent. No new telemetry event.
  • Texts in the 9 languages; README (EN, FR) updated where the free version's cards are listed.

Checked

  • pnpm typecheck passes; pnpm test: 169 tests pass (new: src/lib/support.test.ts, one more in prefs-store.test.ts).
  • In the browser demo (mock engine): the card shows on the 3rd export, closes, doesn't come back on the 4th, and the Pelli line comes back.

To review

  • Wording in FR and EN; es, de, it, pt, nl, pl, sv were translated by an agent: a native read would help.
  • Not in CHANGELOG.md yet: to add in the next release section.
  • Not tested in the packaged Tauri app (only the browser demo).

…project

After the third successful export, the export report shows a small card,
once: follow @pelli.io on Instagram first (photographers rarely have a
GitHub account), and in second place a GitHub star ("it's free, and it's
the best way to help us"). Closing the card or opening either link means
it never shows again. It replaces the Pelli line of that report, never a
pop-up, and is hidden with Plus like the other Pelli cards.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant