Skip to content

Conversation

objcode
Copy link
Contributor

@objcode objcode commented Mar 31, 2020

Changes:

  • Refactored modifiers to use fluent style throughout
  • Switched to new use Icon and Image composables
  • Switch to using IconButton where appropriate
  • Updated Scaffolding to use IconButton for navigationIcon
  • Removed vector helpers from sample that are now included in the library
  • Update typography of code paraghraphs to expand, and avoid setting background
    on text in code blocks as alpha is not respected – use the background of the Box
  • Replaced all Container with Box
  • General code cleanup to remove nesting that can be replaced with modifiers
  • Moved Modifiers to first default argument to follow style
  • Aligned bullets with baseline of text
  • Sized bullets based on font scaling
  • Removed many named arguments that were not required for readibility

Changes:
 * Refactored modifiers to use fluent style throughout
 * Switched to new use Icon and Image composables
 * Switch to using IconButton where appropriate
 * Updated Scaffolding to use IconButton for navigationIcon
 * Removed vector helpers from sample that are now included in the library
 * Update typography of code paraghraphs to expand, and avoid setting background
    on text in code blocks as alpha is not respected – use the background of the    Box
 * Replaced all Container with Box
 * General code cleanup to remove nesting that can be replaced with modifiers
 * Moved Modifiers to *first default argument* to follow style
 * Aligned bullets with baseline of text
 * Sized bullets based on font scaling
 * Removed many named arguments that were not required for readibility
* Swapped Image for Icon in several places
* Prefer srcIn
* Added note for bugfix w/ link to bug
@objcode
Copy link
Contributor Author

objcode commented Mar 31, 2020

Updated based on PR notes. PTAL again @manuelvicnt and @nickbutcher

 * Switch some Icons back to Image that were not really icons
 * Use ColorFilter.tint to semantically tint vectors
 * Formatting
@objcode
Copy link
Contributor Author

objcode commented Apr 2, 2020

Thanks for review! Updated everything except Modifier vs. Modifier.None as the default argument and asking what the intended invocation is before applying.

@objcode
Copy link
Contributor Author

objcode commented Apr 2, 2020

@nickbutcher can you check out the icon coloring on the bottom bar? I'm not sure which call to make there, it might be worth checking the design. Here's a screenshot showing both (heart is an Icon and bookmark is an Image)

Screen Shot 2020-04-01 at 5 30 26 PM

Copy link
Contributor

@manuelvicnt manuelvicnt left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks

@nickbutcher
Copy link
Contributor

Checked Figma and the icons on the ArticleScreen should be 87% black… so contentColor(). Lets switch to Icon.

objcode added 3 commits April 2, 2020 23:54
 * Revert to Modifier.None for default arugments which is the style in dev08
 * Use Icon for all Icons, which matches design.
@objcode
Copy link
Contributor Author

objcode commented Apr 3, 2020

Thanks! All suggested changes in, hitting the button!

@objcode objcode merged commit fc789cb into master Apr 3, 2020
nickbutcher pushed a commit that referenced this pull request Apr 3, 2020
* Bump to dev08.

Changes:
 * Refactored modifiers to use fluent style throughout
 * Switched to new use Icon and Image composables
 * Switch to using IconButton where appropriate
 * Updated Scaffolding to use IconButton for navigationIcon
 * Removed vector helpers from sample that are now included in the library
 * Update typography of code paraghraphs to expand, and avoid setting background
    on text in code blocks as alpha is not respected – use the background of the    Box
 * Replaced all Container with Box
 * General code cleanup to remove nesting that can be replaced with modifiers
 * Moved Modifiers to *first default argument* to follow style
 * Aligned bullets with baseline of text
 * Sized bullets based on font scaling
 * Removed many named arguments that were not required for readibility
* Added note for bugfix related to font coloring requiring contentColor w/ link to b/143626708
 * Use ColorFilter.tint to semantically tint vectors
 * Continue using Modifier.None for default arugments which is the style in dev08, this is likely to be replaced with `Modifier` in dev09
@manuelvicnt manuelvicnt deleted the dev08 branch April 16, 2020 10:37
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