Skip to content

[Stats Refresh] Period Authors: fix expanded row height - #11825

Merged
ScoutHarris merged 5 commits into
developfrom
fix/11800-authors_child_row_height
May 31, 2019
Merged

[Stats Refresh] Period Authors: fix expanded row height#11825
ScoutHarris merged 5 commits into
developfrom
fix/11800-authors_child_row_height

Conversation

@ScoutHarris

Copy link
Copy Markdown
Contributor

Fixes #11800

In order for the child row to appear indented, the icon image view is actually shown, just with no image. The side effect of this was the child row height was affected by the image view height.

To avoid this, if there is no image, the image height is now set to 1. The width is still the parent image width.

To note, this only fixes the overview card. I've created #11824 to fix the detail view.

To test:

  • Go to Stats > Period > Authors.
  • Expand an Author.
  • Verify the child row height is 44.

expanded_author

Update release notes:

  • If there are user facing changes, I have added an item to RELEASE-NOTES.txt.

@ScoutHarris ScoutHarris added this to the 12.6 milestone May 30, 2019
@ScoutHarris ScoutHarris self-assigned this May 30, 2019
@ScoutHarris ScoutHarris mentioned this pull request May 30, 2019
45 tasks

@danielebogo danielebogo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @ScoutHarris LGTM!
One question: with Sherlock and the XCode inspector I see 43.3333333 as row height. Is it correct?
If so just :shipit:

Screenshot 2019-05-31 at 16 20 04

Screenshot 2019-05-31 at 16 29 38

@ScoutHarris

Copy link
Copy Markdown
Contributor Author

Hey @danielebogo . The cells are a bit dynamic, they're not hard coded to 44. I should have said verify the child row height is approximately 44. 😄

@danielebogo

Copy link
Copy Markdown
Contributor

Hey @danielebogo . The cells are a bit dynamic, they're not hard coded to 44. I should have said verify the child row height is approximately 44. 😄

:shipit:

@ScoutHarris
ScoutHarris merged commit dae5894 into develop May 31, 2019
@ScoutHarris
ScoutHarris deleted the fix/11800-authors_child_row_height branch June 6, 2019 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Stats Refresh] Period Authors: expanded rows should be 44pt

2 participants