Skip to content

Docs/solitaire#6448

Merged
FeodorFitsner merged 5 commits intoflet-dev:mainfrom
perrotuerto:docs/solitaire
Apr 30, 2026
Merged

Docs/solitaire#6448
FeodorFitsner merged 5 commits intoflet-dev:mainfrom
perrotuerto:docs/solitaire

Conversation

@perrotuerto
Copy link
Copy Markdown
Contributor

@perrotuerto perrotuerto commented Apr 27, 2026

Description

This makes some fixes to the solitaire tutorial, among others:

  • Removal of deprecations
  • Typo fixes
  • Addition of code so each step runs without errors
  • Addition of text to clarify certain parts

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Documentation update

Checklist

  • I signed the CLA.
  • I have made corresponding changes to the documentation (if applicable)

Additional details

This is by far the most complex tutorial, and you will see a lot of editing in the MD file. I stuck to 2 principles:

  1. Fix so each part of the tutorial can be run without errors (only 1 part will generate an error, but I added an admonition explaining how to solve it; Cfr. line 801).
  2. Fix based on the code examples and current text content; the new strings follow the wording already employed and I didn't add new code, I just copied it!

After doing the tutorial, I noticed that the result is not the same as the most current version of the code. I realized that after seeing some bugs in the final result. But as I understand, there are plans to come back and reshape this tutorial. Meanwhile, this PR allows working with the tutorial with less friction.

Please let me know if you need some changes.

Thank you! It is time for me to develop my own apps, hahah.

Summary by Sourcery

Update the Solitaire tutorial and example apps so the step-by-step code, assets, and final projects are consistent, runnable, and aligned with the current Flet API.

Enhancements:

  • Align Solitaire example projects with the tutorial by updating main entrypoints and run configuration to match current Flet conventions.

Documentation:

  • Revise the Solitaire tutorial to fix typos, clarify instructions, and ensure each intermediate code snippet runs without errors, including updated drag-and-drop, pile handling, and game rule examples.
  • Correct asset paths, links, and references in the Solitaire tutorial so images and external resources resolve correctly.

Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

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

We've reviewed this pull request using the Sourcery rules engine

@FeodorFitsner
Copy link
Copy Markdown
Contributor

Thank you, great fixes! 🚀

@FeodorFitsner FeodorFitsner merged commit 1701523 into flet-dev:main Apr 30, 2026
26 checks 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