Skip to content

Issue/10638 material sharing settings#10970

Merged
oguzkocer merged 25 commits intofeature/material-themefrom
issue/10638-material-sharing-settings
Feb 7, 2020
Merged

Issue/10638 material sharing settings#10970
oguzkocer merged 25 commits intofeature/material-themefrom
issue/10638-material-sharing-settings

Conversation

@khaykov
Copy link
Copy Markdown
Contributor

@khaykov khaykov commented Dec 16, 2019

Fixes #10638

This PR moves Publicize screen to Material Theme and adds Dark Theme support. There are some code changes for cosmetic reasons.

While refactoring is not in the scope of this PR, since I touched those files, I cleaned up/optimized some of the redundant code as suggested by AS, so do not be alarmed by the size of the PR. I suggest turning on "Hide whitespace changes" option during the review.

There is a huge amount of PRs in this feature that covers all the screens within the app, so I'm requesting reviews from a wide variety of people.

comparison_sharing

To test:

  • Navigate to Publicize screen and confirm it's visual and functional integrity in both Light and Dark themes. The theme can be changed from App Settings.

PR submission checklist:

  • I have considered adding unit tests where possible.

  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@khaykov khaykov added Sharing [Status] Needs Design Review A designer needs to sign off on the implemented design. Dark Mode labels Dec 16, 2019
@khaykov khaykov added this to the 14.0 milestone Dec 16, 2019
@khaykov khaykov requested a review from mattmiklic December 16, 2019 23:45
@peril-wordpress-mobile
Copy link
Copy Markdown

peril-wordpress-mobile bot commented Dec 16, 2019

You can test the changes on this Pull Request by downloading the APK here.

@peril-wordpress-mobile
Copy link
Copy Markdown

peril-wordpress-mobile bot commented Dec 17, 2019

Warnings
⚠️ PR has more than 500 lines of code changing. Consider splitting into smaller PRs if possible.

Generated by 🚫 dangerJS

…WordPress-Android into issue/10638-material-sharing-settings
…WordPress-Android into issue/10638-material-sharing-settings

# Conflicts:
#	WordPress/src/main/res/values/styles.xml
…WordPress-Android into issue/10638-material-sharing-settings
…WordPress-Android into issue/10638-material-sharing-settings
@jkmassel
Copy link
Copy Markdown
Contributor

I'm moving this PR to 14.1 since we're code freezing today.

@jkmassel jkmassel modified the milestones: 14.0, 14.1 Jan 14, 2020
…WordPress-Android into issue/10638-material-sharing-settings

# Conflicts:
#	WordPress/src/main/res/values-night/styles.xml
#	WordPress/src/main/res/values/dimens.xml
Copy link
Copy Markdown
Member

@mattmiklic mattmiklic left a comment

Choose a reason for hiding this comment

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

Just seeing this one; sorry for the delay. @khaykov could we remove the cards used on these screens as we have elsewhere? I think it'd look significantly better in dark mode.

@khaykov
Copy link
Copy Markdown
Contributor Author

khaykov commented Jan 22, 2020

@mattmiklic Sure! I moved everything out of cards. Had to adjust margins a bit :)

Image from Gyazo
Image from Gyazo
Image from Gyazo
Image from Gyazo

@mattmiklic
Copy link
Copy Markdown
Member

That's a nice improvement; thanks for doing that!

@mattmiklic mattmiklic removed the [Status] Needs Design Review A designer needs to sign off on the implemented design. label Jan 22, 2020
…WordPress-Android into issue/10638-material-sharing-settings
@maxme maxme modified the milestones: 14.1, 14.2 Jan 27, 2020
@khaykov khaykov removed the request for review from mindgraffiti January 29, 2020 02:26
…WordPress-Android into issue/10638-material-sharing-settings
…WordPress-Android into issue/10638-material-sharing-settings
@khaykov khaykov requested review from mzorz, oguzkocer and shiki February 5, 2020 23:03
@oguzkocer oguzkocer self-assigned this Feb 7, 2020
Copy link
Copy Markdown
Contributor

@oguzkocer oguzkocer left a comment

Choose a reason for hiding this comment

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

@khaykov I am done with my first pass. It looks like the UI matches the screenshots, so testing went well. I left a few questions/suggestions. Let me know what you think!

P.S: It's kind of tricky to go over all the layout changes. I did a read-over and aside from one issue I didn't find anything. If there is one, hopefully it would have surfaced in the testing 🤞

@khaykov
Copy link
Copy Markdown
Contributor Author

khaykov commented Feb 7, 2020

@oguzkocer thank you so much for checking Dark Mode PR's! Really appreciate that 🙇 I hope I addressed your concerns.

Regarding layout changes, I agree! I don't think there is a good way to approach this apart from looking at the layout.

Copy link
Copy Markdown
Contributor

@oguzkocer oguzkocer left a comment

Choose a reason for hiding this comment

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

Looks good! :shipit:

@oguzkocer thank you so much for checking Dark Mode PR's! Really appreciate that 🙇

I am happy to help!

@oguzkocer oguzkocer merged commit 5959aef into feature/material-theme Feb 7, 2020
@oguzkocer oguzkocer deleted the issue/10638-material-sharing-settings branch February 7, 2020 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants