ubuntu.com icon indicating copy to clipboard operation
ubuntu.com copied to clipboard

Use smaller notices on notices page

Open samhotep opened this issue 7 months ago • 1 comments

Note

  • Should only be reviewed after https://github.com/canonical/ubuntu-com-security-api/pull/163 has been merged

Done

  • Load notices on the /security/notices page from a new datasource get_page_notice
  • This returns a smaller notice, without the cves and packages fields which are not required on this page, and have a significant effect on page speed, especially when a notice has hundreds of cves.

QA

  • Check that the demo runs
  • Open demo_url/security/notices and click through the pagination
  • Pages should open quickly without timeouts

samhotep avatar Jul 05 '24 00:07 samhotep