Closed lesamouraipourpre closed 3 years ago
@lesamouraipourpre Unfortunately, this is pretty much the only way to do it. Thank you for making this list! This update needs to be made, and updating the code is a great first step. Not all guides will have associated walk-throughs or text requiring changes, but guarantee that some of them will.
Perhaps @FoamyGuy is up for assisting with this on the Learn guide side of things?
Not a problem, I will try to start working through these. A potential issue noticed on @FoamyGuy 's stream on Saturday was that some Learn Guides were written for CircuitPython 3 (and possibly earlier) and may need other changes.
As I don't have the hardware for most of the guides, I will focus on the max_size
change and try and report any other issues.
I am going to start working on this list from the bottom moving upwards to avoid accidentally duplicating any of @lesamouraipourpre 's work
Sounds Good. I'll continue downwards.
@FoamyGuy I've modified the grep
search to look for max_glyphs
as well - it's added a few more to the list.
All current Learn guides have had max_size
and max_glyphs
usage removed.
wooohoo! thank you :)
The
max_size
parameter ondisplayio.Group
is currently ignored and is (hopefully) going to be removed before 7.0.0 final. The libraries are having this parameter removed from them - https://github.com/adafruit/circuitpython/issues/4959Edit: I've update the grep to look for
max_glyphs
related to DIsplay_Text Label as well.This issue is intended as a tracking issue as the Learn Guide code is worked through
{ grep -r "Group.*max_size" * && grep -r "max_glyphs" * ; } | sed -e "s/\/.*//" | sort | uniq
to give directories{ grep -r "Group.*max_size" * && grep -r "max_glyphs" * ; } | grep -v "_JEplayer_" | sort
gives (updated 2021/08/06 14:20 BST)If the associated Learn Guide text needs updated I will make a comment on any created PRs. Is there a better way to do this @kattni or @makermelissa ?