- Issue created by @kunal.sachdev
- 🇮🇳India kunal.sachdev
Rechecked it and found that title is shown in claro but not in olivero. Updating the issue summary and title.
- First commit to issue fork.
- Merge request !4473Issue#3376566: Display page title even it's zero. → (Closed) created by sakthi_dev
- last update
over 1 year ago 29,877 pass, 1 fail - 🇮🇳India sakthi_dev
As the title field of a node is mandatory by default, removed the if condition to check the value of that. The reason that the title not rendering is due to the if condition as the value is 0 which is considered as FALSE.
Please review. - 🇮🇳India kunal.sachdev
Rechecked it and found that title is also not shown in claro, hence updating the issue summary and title.
- Status changed to Needs review
12 months ago 8:05am 12 January 2024 - 🇮🇳India djsagar
@kunal.sachdev i also find the same issue.
Follow the steps which you provided.
After the MR #8, issue has been resolved.
For reference:
Before MR
After MR
RTBC ++
- Status changed to Needs work
11 months ago 2:36pm 12 January 2024 - 🇺🇸United States smustgrave
Issue summary is incomplete.
Left some comments on MR.
- Status changed to Needs review
11 months ago 12:01pm 15 January 2024 - 🇮🇳India divya.sejekan
Verified issue with new changes. Working as expected after MR!4437 .
Attaching Screenshots of resultsTesting steps :
1. Use Olivero theme
2. Create a new node with title as "0". Title is not displayed.Moving to RTBC++
- Status changed to RTBC
11 months ago 6:06am 16 January 2024 - Status changed to Needs work
11 months ago 6:19pm 3 February 2024 - Status changed to Needs review
11 months ago 7:39am 5 February 2024 - 🇮🇳India sakthi_dev
Thanks @longwave.
Added the condition as title|render|striptags|trim is not empty so that if there are any tags it will remove it and check for the condition if it is empty. I think this is sufficient. Please review. - 🇮🇳India Nitin shrivastava
This MR applied successfully. Now the title is visible, and it is rendering fine.
The term "|render|striptags|trim" works well in twig.
After
Before
Moving to RTBC ++
- Status changed to RTBC
11 months ago 10:12am 6 February 2024 - Status changed to Needs work
10 months ago 8:18am 21 February 2024 - 🇳🇿New Zealand quietone
I'm triaging RTBC issues → . I read the IS and the comments. I don't see any unanswered questions.
This issue is about olivero, I am changing the component.
For those adding screenshots, it is best to include a link in the issue summary so that everyone working on the issue can find the latest screenshots.
I then read the MR and it is good to see a thorough tests, and for multiple themes. This now has a dataprovider to test one page for three themes. To me, that is not a good use of resources. The testing could be done in a loop in the original test thus keeping the setup to one functional test. Perhaps, we leave this as is and add a followup to convert this test class to one method that uses a data provider. Adding tag for a followup.
There is also work in the MR.
- Status changed to Needs review
10 months ago 8:50am 21 February 2024 - 🇮🇳India kunal.sachdev
#20 🐛 Display the page title, even if "0" in olivero Active : Instead of creating a follow-up to do testing in a loop I changed the test in this issue only.
- Status changed to RTBC
10 months ago 3:22pm 21 February 2024 - 🇺🇸United States smustgrave
Took the screenshots from #14 to the issue summary.
Believe feedback has been addressed,
- Status changed to Needs work
10 months ago 8:32pm 29 February 2024 - 🇫🇷France nod_ Lille
test should be with other olivero-specific tests in
\Drupal\FunctionalTests\Theme\OliveroTest
or a file next to it. - Status changed to Needs review
10 months ago 8:09am 4 March 2024 - Status changed to Needs work
10 months ago 10:20am 4 March 2024 - Status changed to Needs review
10 months ago 11:16am 11 March 2024 - Status changed to RTBC
10 months ago 11:22pm 11 March 2024 - 🇺🇸United States smustgrave
Seems the use of a bae class has been implemented.
- Status changed to Fixed
9 months ago 10:42pm 15 March 2024 Automatically closed - issue fixed for 2 weeks with no activity.