Feature/Release Notes - Added to Home Page under What's New#26
Feature/Release Notes - Added to Home Page under What's New#26Wright4i wants to merge 6 commits intocodefori:mainfrom
Conversation
|
@Wright4i Interesting. Why is the token required? Can you not access the public API for released without a token? |
@worksofliam You'd think, but I tried and it didn't work. Guessing so they can track you for rate-limiting/abuse purposes. |
|
@Wright4i @worksofliam Shouldn't we try and complete this? Would be great to have in the docs... 😍 |
|
@chrjorgensen you're right! I completely forgot this was out here open. @worksofliam any issues with the API key usage? If not I can address the conflicts and we can get this merged in. |
|
@Wright4i No problem with token usage! This would be cool to have. |
|
@Wright4i I just noticed this PR and this sounds like a great addition to the docs! Several people have mentioned that they want a single spot where they can see all the new enhancements/fixes from the team and this would be a great place for that. I know it has been quite some time (2024! 😅) since this was last updated, but what do you think about reviving this PR so we can get this in? Happy to help if needed. I was also thinking whether we could set this up to pull release notes from a couple different extensions (pretty much any repo we maintain in the Development Pack)? Maybe a dropdown or tiles to select which extension you are interested in that dynamically changes the content on the page? What do you think? |
Link to demo site: https://wright4i.github.io/docs/
Uses GitHub API to grab details of a public repo (vscode-ibmi)
Home Page
Release Notes
githubAPI.ts'sfetchFromGithub()has a defaultlimit: number = 5so we can adjust to taste.Packages added to project
Server side only, no performance impact
dotenv
Reason - Best practices. Needed
.envfiles forAPI_GITHUB_TOKEN. Created.env.examplefor local development.marked
Reason - Release notes from API was in markdown. marked converted to HTML so I could set the
innerHTMLof the astro component.Tasks to Build on Merge
public_reposcopeAPI_GITHUB_TOKEN.github/workflows/astro.ymlwas updated to importAPI_GITHUB_TOKENvscode-ibmito trigger build ondocssoRelease Notesare always current