WordPress-Android
WordPress-Android copied to clipboard
[android] Long title problem on stats cards
Expected behavior
The title of the stats cards below should fit in the card.
- Views & Visitors
- Total Likes
- Total Comments
- Total Followers
- Latest Post Summary
Actual behavior
There is VIEW MORE button on these cards on the main stats screen. There isn't any button on the detail screen but there is still an empty room for the button on the detail screen.
Steps to reproduce the behavior
- Launch Jetpack app.
- Navigate to stats screen by using quick links or menu.
- If the cards (mentioned above) are not present, go to the stats management (either through ⚙️ menu at the top right hand corner or Add new stats card at the bottom) and add cards and save, then return to Insights.
- Check the title in detail screens.
- Repeat 1-4 for different languages. We know German has a problem with long titles currently.
Tested on Emulator Pixel 4, Android 12, WPAndroid alpha-375 (1247)
Hi @irfano @thehenrybyrd I'd need clarification on this issue please.
Hey @olaitanade ! On some cards, there is a button end of the title. That's why the title is not full-width on the screenshot. We should set the title full-width if there is no button.
Alright Thanks @irfano
I am new to wordpress, how do i create a long tittle to test my fix ? @irfano
Views & Visitors Total Likes Total Comments Total Followers Latest Post Summary
Those cards are only available on the Jetpack app. You can update use cases, and use hardcoded titles.
Thanks @irfano Done.