r/angularjs • u/krlkv • Feb 20 '16
Why you shouldn’t use Angular Material today
https://medium.com/@vayvala/why-you-shouldn-t-use-angular-material-4ffb937ef232#.22lx4ult91
u/mrv1234 Feb 21 '16
I also had this impression about the material design components for version 1, they just don’t have the same level of support as the framework itself.
But I think some of the components listed as missing are really missing by design:
Pagination
Breadcrumbs
Data Table
Because these are somewhat mobile UI anti-patterns. There is just not enough physical space for data tables in mobile. Even a retina tablet in landscape mode has so much physical horizontal space available.
For many tables it would still work if its mostly numbers, but people would start adding description fields with long text that would wrap up and create a bad user experience.And this simply does not work in table landscape mode, let alone on a phone.
The mobile pattern that works well is lists of items with infinite scrolling and a master detail navigation when you click the items that replaces the full screen, and not paginated data tables.
Also breadcrumbs would quickly wrap up on a phone and look awful on screen. Also they consume precious screen space on a phone table.
Some of these are simply desktop UI patterns that cannot be made to work on mobile, and thats the reason they are absent.
1
u/krlkv Feb 21 '16 edited Feb 21 '16
Data table is not missed by design as it is a Material Design component: https://www.google.com/design/spec/components/data-tables.html
Besides Material Design is not for mobile only. Not even mentioning Angular Material implementation, which is probably overwhelmingly used for Web development, not mobile.
Develop a single underlying system that allows for a unified experience across platforms and device sizes. Mobile precepts are fundamental, but touch, voice, mouse, and keyboard are all first-class input methods.
2
u/its_time_to_get_ill Feb 21 '16
https://github.com/daniel-nagy/md-data-table
an excellent plugin that I imagine will eventually be adopted
1
u/krlkv Feb 22 '16
Looks nice. Do you know if it supports line by line editing out of the box? Similar to http://ng-table.com/#/editing/demo-inline
1
u/AlGoreBestGore Feb 21 '16
Size is definitely a concern, but the "too many GitHub issues" is just dumb. Every large project is going to have a shitload of issues.
1
u/krlkv Feb 22 '16
Not dumb at all. angular-ui 109 open, 3490 closed. Angular Material 1474 open, 4370 closed. That's definitely a concern. Lost of unfixed bugs.
1
u/AlGoreBestGore Feb 22 '16
That could very well be a bunch of people with random feature requests that don't match the Material design spec. E.g. I have a module that's named literally "round progressbar" and every few months there's somebody that asks whether I can make it also do straight progressbars.
3
1
u/BoleroDan Feb 22 '16
Exactly. I use angular material for my very very very large in house Lab management software. It works fine in the latest firefox/chrome that i've tested, havnt found any game breaking issues.
That being said, i go through the issue lists a lot on this project and a lot of them are indeed, silly questions on how to use a component, and not necessarily an issue such as a bug.
Infact, I would argue that the more active the issues section on a github repo is actually better. This means to me, that the community is active, and I actually see a lot of the developers responding to issues. An empty issues tab on github makes me skeptical of using a piece of software.
1
0
Feb 21 '16
[deleted]
1
u/krlkv Feb 22 '16
Somebody who was defending Angular Material gave me a link to their Angular Material Web app a couple of days ago and it actually had flicker and animations lag using Firefox 44 on i7 CPU
10
u/chazzlabs Feb 20 '16
I'm a little confused about the author's list of features not included in Angular Material. Things like the side menu actually do exist in the library, and some of the things he includes in the list of missing items (eg, button groups and two-sided sliders) don't exist in the Google Material design spec to begin with so it would make sense that Angular Material doesn't have them.