Skip to content

Conversation

@FractalBoy
Copy link
Contributor

Currently the only options for sharing a game URL, from what I can tell are:

  1. Share the PGN with the platform share activity, which includes the URL.
  2. Manually copy the game URL

I often will want to share a game directly to a friend on Whatsapp for him to view on the website/app so an entire PGN is unnecessary.

This PR adds a new button to share the URL via the share activity directly from the main analysis board menu.

BottomSheetAction(
makeLabel: (context) => Text(context.l10n.mobileShareGameURL),
onPressed: () {
final boardUrl = lichessUri('/${analysisState.gameId}');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to add the orientation of the game: /:gameId/:<black|white>

@veloce veloce merged commit d3d6925 into lichess-org:main May 7, 2025
1 check passed
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.

2 participants