Skip to content

Mark outdated, st2-only and st3-only, packages#232

Merged
kaste merged 1 commit intogh-pagesfrom
mark-outdated-packages
Nov 14, 2025
Merged

Mark outdated, st2-only and st3-only, packages#232
kaste merged 1 commit intogh-pagesfrom
mark-outdated-packages

Conversation

@kaste
Copy link
Copy Markdown
Collaborator

@kaste kaste commented Nov 14, 2025

We create two synthetic labels "st3" and "<st3", style them a bit different and get a lot for free.

image

@kaste
Copy link
Copy Markdown
Collaborator Author

kaste commented Nov 14, 2025

I would have like that design more

image

but having them as labels is the easier iteration. We get links, we can search for them without changing anything, just "label:st3", we have it on the package page automatically.

But most important is that the css/design is prepared for labels on the cards for small screen; but the stats/warnings section in the top right corner is not. It does look only good in Desktop mode.

Comment thread eleventy.config.mjs
Comment on lines +128 to +130
const doesNotSupportNewestSublime = releases.every((release) => {
return util.parseSublimeTextMax(release.sublime_text) < 4000
})
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do you want to change the magic search penalty to use doesNotSupportNewestSublime instead of supportsModernSublime?

Copy link
Copy Markdown
Collaborator Author

@kaste kaste Nov 14, 2025

Choose a reason for hiding this comment

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

Only <=3000 gets a downvote because the standard "*" (most packages really) means just >=3000. IIRC more than 4000 packages have "*".

@michaelblyons
Copy link
Copy Markdown
Contributor

I agree with the top two posts, though I think the top-right labeling should use the "archive box" of R.I.P., although maybe a less intense color.

Seems reasonable to ship for now, though.

@kaste kaste force-pushed the mark-outdated-packages branch from e84a435 to 7a759fd Compare November 14, 2025 22:50
@kaste kaste merged commit 126ef7a into gh-pages Nov 14, 2025
2 checks passed
@kaste kaste deleted the mark-outdated-packages branch November 14, 2025 22:52
@kaste
Copy link
Copy Markdown
Collaborator Author

kaste commented Nov 14, 2025

Actually, one could argue to just invent synthetic RIP and MIA labels as well, then we can search for them and have a very clean top-right corner. 🤔

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