Skip to content

Conversation

@InMatrix
Copy link
Contributor

@InMatrix InMatrix commented Oct 7, 2016

I created this page to address issue #6161. Please take a look at it on this staging site: https://project-1912052061267295165.firebaseapp.com/md-catalog/

The images are taken from material.google.com for now, but we have agreed that we should eventually use screenshots from the actual Flutter implementation (e.g., Flutter Gallery).

The page uses a template which draws data from catalog.csv in the _data folder.

basic-widgets.md Outdated
You can see many of the Material Design widgets in action in our
[Flutter Gallery](https://github.com/flutter/flutter/tree/master/examples/flutter_gallery)
demo app, and you can check out the
demo app, and you can check out the [Catalog of Material Design widgets](/md-catalog) and
Copy link
Contributor

Choose a reason for hiding this comment

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

Please break this sentence, e.g.
"You can see many of the material design widgets in action in the Flutter Gallery. To learn about Flutter's implementation of material design components, take a look at the material widgets design catalog, and the API docs for the material widgets library."

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

index.md Outdated
See these topics to understand how the Flutter framework works.

- [Basic widgets overview](basic-widgets)
- [Material Design widgets](md-catalog)
Copy link
Contributor

Choose a reason for hiding this comment

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

Title should be: "Material design catalog"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

@sethladd
Copy link
Contributor

sethladd commented Oct 7, 2016

Please use a fully qualified filename, like material-design-catalog

md-catalog.md Outdated
@@ -0,0 +1,25 @@
---
layout: page
title: Material Design widgets
Copy link
Contributor

Choose a reason for hiding this comment

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

Ditto. Title should be "Material Design Catalog"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

md-catalog.md Outdated

<div class="catalog-end"></div>

Again, you can see the above widgets in action in our [Flutter Gallery](https://github.com/flutter/flutter/tree/master/examples/flutter_gallery) demo app.
Copy link
Contributor

Choose a reason for hiding this comment

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

You can remove the last paragraph (starting from "Again") since it's redundant.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

url: /basic-widgets/
output: web

- title: Material Design widgets
Copy link
Contributor

Choose a reason for hiding this comment

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

Title should be "Material design catalog" (note capitalization for sidenav items).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Shouldn't "design" also be capitalized, since "Material Design" is a technical term?

Copy link
Contributor

Choose a reason for hiding this comment

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

When documenting material design for the Android developer site, the official guidance that we received from Roman Nurik was to use lowercase "material design". This is consistent with usage in the external Google spec.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I see, thanks for clarifying it!

@qchong
Copy link
Contributor

qchong commented Oct 7, 2016

@InMatrix Thanks for putting this together! Please see my comments.

Tweaked the material design catalog page based on PR feedback.
@InMatrix InMatrix self-assigned this Oct 7, 2016
@InMatrix
Copy link
Contributor Author

InMatrix commented Oct 7, 2016

I've addressed the feedback. Please take another look. Thanks!

@sethladd
Copy link
Contributor

sethladd commented Oct 7, 2016

Please use a longer filename, such as material-design-catalog. Thanks! (it's easier to manage when the filename matches the link we use)

permalink: /material-design-catalog/
---

This page catalogs Flutter’s reference implementation of UI components from Google’s [Material Design Specification](https://material.google.com/). You can see many of the material design widgets in action in our [Flutter Gallery](https://github.com/flutter/flutter/tree/master/examples/flutter_gallery) demo app. For an overview of different kinds of widgets in Flutter, please take a look at the [Basic Widgets Overview](/basic-widgets/).
Copy link
Contributor

Choose a reason for hiding this comment

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

In the future, please break these lines. Makes reviews much easier :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Great suggestion. I'll do that in the future.

permalink: /material-design-catalog/
---

This page catalogs Flutter’s reference implementation of UI components from Google’s [Material Design Specification](https://material.google.com/). You can see many of the material design widgets in action in our [Flutter Gallery](https://github.com/flutter/flutter/tree/master/examples/flutter_gallery) demo app. For an overview of different kinds of widgets in Flutter, please take a look at the [Basic Widgets Overview](/basic-widgets/).
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we say something about how complete this list is?

For example, are we claiming "these are all the widgets" ? Or, something like, "for the complete list, check out __________"

I like the later because we might add a widget and forget to update this page.

sidebar: home_sidebar
permalink: /material-design-catalog/
---

Copy link
Contributor

Choose a reason for hiding this comment

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

I'd love to add a disclaimer up at the top, something like "(Flutter implements a set of material design widgets, but you don't need to use material design. Flutter's base widgets provide extensible starting points to build customer UIs with Flutter. To learn more, check out ______.)"

@sethladd
Copy link
Contributor

lgtm

The date picker and time picker are implemented with functions instead
of widgets. So I created custom html for them. Specifically, a column
is added to the CSV file to indicate whether this row is standard. And
then I added a control flow to the template.
@InMatrix InMatrix merged commit 4670b6b into flutter:master Oct 10, 2016
@InMatrix InMatrix deleted the md-catalog branch October 10, 2016 18:48
@InMatrix InMatrix added the from.study Reported in a UX study label Nov 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

from.study Reported in a UX study

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants