Rebrand certified configuration search result pages #14381
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Done
This PR rebrands the search pages under ubuntu.com/certified.
Change structure
To help with the review, please check out the description of the changes below.
Firstly, we need to define what are all the pages that allow users to search for hardware. Currently we have three different search page types:
/certified/laptops
(ubuntu.com/certified/laptops)/certified/desktops
(ubuntu.com/certified/desktops)/certified/iot
(ubuntu.com/certified/iot)/certified/servers
(ubuntu.com/certified/servers)/certified/socs
(ubuntu.com/certified/socs)/certified/vendor/HP
(ubuntu.com/certified/HP) (and a few other vendors)Previously, the generic search results page was fully separately defined in the
search-results.html
template, while the other functionalities shared the same search results table. I have now moved all functionalities to share the same search results table to avoid code duplication.All search result templates have the same file structure (such files are
search-results.html
,laptops.html
,servers.html
,desktops.html
,devices.html
,socs.html
andvendors/vendor.html
):The hardware results block contains a few small files to break them down. I have made this change to make them easier to review. Below is a hierarchy of the file structure:
QA
./run serve
ordotrun
Issue / Card
Fixes #
Screenshots
Generic search results
Laptops
Desktops
IoT
Servers
System on Chip (SoC)
Vendor
Help
QA steps - Commit guidelines