Skip to content

Fix category description and compatibility pin - #15

Merged
NateDhaliwal merged 10 commits into
naidihr:masterfrom
NateDhaliwal:fix-catg-desc-and-compat-pin
Jul 3, 2025
Merged

Fix category description and compatibility pin#15
NateDhaliwal merged 10 commits into
naidihr:masterfrom
NateDhaliwal:fix-catg-desc-and-compat-pin

Conversation

@NateDhaliwal

Copy link
Copy Markdown
Collaborator

With this PR, htmlSafe is applied on category descriptions, so HTML in category descriptions will show up (link).

Additionally, a compatibility pin is added to use the version of this TC to before the recent compatibility issues fix was merged, for forums running on stable before 3.5.0.

@moin-Jana

Copy link
Copy Markdown

Why don't you leave the old entry in the compatibility file? Of course there shouldn't be any sites using a that old version, but better safe than sorry.
I guess I would have chosen the current beta for pinning. Are you sure any version of 3.5.0.betaX works? 3.5.0.beta1-dev is quite close to stable.

@NateDhaliwal

NateDhaliwal commented Jul 3, 2025

Copy link
Copy Markdown
Collaborator Author

Why don't you leave the old entry in the compatibility file? Of course there shouldn't be any sites using a that old version, but better safe than sorry. I guess I would have chosen the current beta for pinning. Are you sure any version of 3.5.0.betaX works? 3.5.0.beta1-dev is quite close to stable.

@moin-Jana I was recommended by RGJ to use this version, as it may not be compatible with stable. As a result, the commit hash here will use the version before my initial PR, i.e. using the widget system.

Should I have left it there so there are 2 pins in that file?

My dev install runs 3.5.0beta-8, and it works there.

@moin-Jana

Copy link
Copy Markdown

Maybe I still haven't fully understood how pinning works. But I thought the current pin say Discourse installs with a version below 3.4.999 will receive the old version of the theme and since stable is below that that works for stable. But what about a forum on 3.5.0.beta1 that isn't a version below your pin, does the component work there? Based on my understanding I would have used <3.5.0.beta8 if that is the version where you know it works. Wouldn't that pin forums on stable and older beta releases to the commit from last year?

And since the file can have multiple entries I wouldn't remove the old one, but simply add the new one:

< 3.5.0.beta8-dev: 95526d34ea8f398ec9528aa44e33fbbcfb028a82
< 3.2.0.beta3-dev: 8266ad8458b45d9384a2c6149c22fd22cc0a79ec

@NateDhaliwal
NateDhaliwal marked this pull request as ready for review July 3, 2025 07:19
@NateDhaliwal
NateDhaliwal merged commit 993b96d into naidihr:master Jul 3, 2025
3 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