-
Notifications
You must be signed in to change notification settings - Fork 842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[docs] why can't I hold all these changelogs #7348
Conversation
- this is significantly more useful than the tree link (IMO) because it contains more - the option to view the repo at that tag, the option to download the source code, and the standalone changelog
6312ba1
to
13dae92
Compare
13dae92
to
488e37a
Compare
488e37a
to
5d9930b
Compare
+ [UX] Add a skeleton loader - raw loader still takes a noticeable second or two for the larger years, so might as well make that behavior more intentional
403e47c
to
c4d4c28
Compare
- using `new Date()` will cause old versions in the future to show dates with no changelogs, which is no bueno - we should freeze/make the data static to the release
+ references to the old file/directories
- broke in the version switcher PR, not this PR
c4d4c28
to
2af9047
Compare
Preview staging links for this PR:
|
💚 Build Succeeded
History
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm so excited about this one! As always, thank you for making EUI better! 🎉
The changes look and work great
Adding a note of nuance from @kyrspl from Slack - in EUI+/the new docs site, we should forego the changelog page in favor of linking directly to our GitHub release page or to our new |
Summary
addresses #6347 (apparently nothing lights a fire under my butt like seeing an issue that mildly annoys me get pinged or closed by the stale bot 🔥)
Our changelogs (over 6k lines as of this PR) have gotten so large that they take over 10 seconds to load in our docs and on GitHub. This is no way to live life, so I decided to see what other large repos were doing, and particularly was inspired by Node.js (nodejs/node#5533).
Splitting up by year appealed to me a lot (based on EUI's current weekly versioning/release strategy) rather than by majors or # of releases. So, here's what resulted:
Also while here, I updated each changelog heading with a
v
prefix and updated their links to point at the release/tag rather than at the repo (more useful IMO).QA
yarn yo-changelog 1
, write whatevernode -e "require('./scripts/update-changelog').manualChangelog()"
CHANGELOG_2023.md
and confirm it updated correctly and removed the new upcoming changelogyarn start
General checklist
N/A, docs/infra only change