Skip to content
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

Add news to repo and change folder structure #13238

Conversation

standeren
Copy link
Contributor

@standeren standeren commented Jul 26, 2024

Description

  • Copy news.nb.json and news.schema.json to new folder in news section
    • use this local version when listing the news
  • Restructure files covering overview page in studio into folders
    • added index.ts files to all the moved tsx. files

Verification

  • Your code builds clean without any errors or warnings
  • Manual testing done (required)
  • Relevant automated test added (if you find this hard, leave it and we'll help out)

@standeren standeren linked an issue Jul 26, 2024 that may be closed by this pull request
@github-actions github-actions bot added solution/studio/designer Issues related to the Altinn Studio Designer solution. skip-releasenotes Issues that do not make sense to list in our release notes labels Jul 26, 2024
@standeren standeren force-pushed the 13101-move-newsjson-to-our-repo-and-create-pipeline-to-copypush-to-cdn branch from c7a9ba0 to 4c7e2da Compare July 26, 2024 14:41
Copy link

codecov bot commented Jul 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.70%. Comparing base (92fdf44) to head (fa4f602).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #13238      +/-   ##
==========================================
- Coverage   93.71%   93.70%   -0.01%     
==========================================
  Files        1431     1436       +5     
  Lines       19922    19919       -3     
  Branches     2420     2418       -2     
==========================================
- Hits        18669    18665       -4     
- Misses       1005     1006       +1     
  Partials      248      248              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@standeren standeren force-pushed the 13101-move-newsjson-to-our-repo-and-create-pipeline-to-copypush-to-cdn branch from 4c7e2da to c879f1d Compare July 29, 2024 07:07
@standeren standeren force-pushed the 13101-move-newsjson-to-our-repo-and-create-pipeline-to-copypush-to-cdn branch 2 times, most recently from ef85fbd to e660887 Compare August 12, 2024 07:26
@standeren standeren marked this pull request as ready for review August 12, 2024 10:52
@standeren standeren force-pushed the 13101-move-newsjson-to-our-repo-and-create-pipeline-to-copypush-to-cdn branch from e660887 to 553e691 Compare August 12, 2024 10:54
@standeren
Copy link
Contributor Author

Should we delete the news on CDN after this PR is deployed? 😊

Copy link
Collaborator

@framitdavid framitdavid left a comment

Choose a reason for hiding this comment

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

🚀

@standeren standeren force-pushed the 13101-move-newsjson-to-our-repo-and-create-pipeline-to-copypush-to-cdn branch 3 times, most recently from a3fcf76 to a865093 Compare August 14, 2024 07:41
@standeren standeren force-pushed the 13101-move-newsjson-to-our-repo-and-create-pipeline-to-copypush-to-cdn branch from a865093 to fa4f602 Compare August 14, 2024 07:51
@standeren standeren changed the title Add news to repo and change folder structure and create new workflow with script to push new news to CDN Add news to repo and change folder structure Aug 14, 2024
@standeren standeren merged commit ff116f2 into main Aug 14, 2024
9 checks passed
@standeren standeren deleted the 13101-move-newsjson-to-our-repo-and-create-pipeline-to-copypush-to-cdn branch August 14, 2024 08:04
Jondyr pushed a commit that referenced this pull request Aug 14, 2024
* Import news locally from repo instead of from cdn
standeren added a commit that referenced this pull request Aug 15, 2024
* Import news locally from repo instead of from cdn
standeren added a commit that referenced this pull request Aug 15, 2024
* Import news locally from repo instead of from cdn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-releasenotes Issues that do not make sense to list in our release notes solution/studio/designer Issues related to the Altinn Studio Designer solution.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move news.json to our repo and only use the local version in News
2 participants