Daily updates from Odoo
Friday, September 20, 2024
1 change · master
Resolved issues and error corrections
Fixed an issue where shared public Knowledge articles could appear blank on desktop devices. The page structure was adjusted so article content uses the available screen space correctly, and semantic page sections were restored to support better indexing.
Original PR description
Currently, the article content appears empty on desktop devices because the main container (`.o_knowledge_public_view`) no longer occupies the full vertical space of the page. That issue was…
Currently, the article content appears empty on desktop devices because the main container (`.o_knowledge_public_view`) no longer occupies the full vertical space of the page. That issue was introduced in [this pr](https://github.com/odoo/odoo/pull/98429). To resolve this issue, we will remove the wrapper elements: `div#wrapwrap` and the `main` element from the generated pages. This will simplify the DOM structure and allow the main container to take up all the available vertical space without needing to set the height for all containers. Since the body of the frontend_layout is completely overridden for website_knowledge, the `<header>` and `<main>` tags are reintroduced at appropriate places for a Knowledge article. Steps to reproduce the issue: 1. Open Knowledge 2. Publish an article using the share panel (click on the "Share" button) 3. Copy the share link (`/knowledge/article/<article_id>`) 4. Open an incognito tab and access the link copied at step 3 => The article content is hidden on desktop. TO BE: The article content should be visible. task-4193478