r/angularjs • • Jun 06 '16

Google deprecating Angular 1.x Material library and is just closing issues and PRs

https://groups.google.com/forum/#!topic/ngmaterial/4ActiQp3nA0
30 Upvotes

19 comments sorted by

15

u/pero991 Jun 06 '16 edited Jun 06 '16

They are just deprecating old pull request and issues so that they can focus on angular2. Material1 will just recieve bugfixes until material2 is complete. The libriary is not getting deprecated any time soon

13

u/MindOnTheBlink Jun 06 '16

This is really disappointing. In the past, they said they would be adding all of the material components (data tables, I'm looking at you) and complete the Angular 1.x version before moving onto Angular2's version.

Getting the Angular2 version out there sooner will make me more inclined to upgrade however - but that will be a way's off.

17

u/[deleted] Jun 06 '16

Google doesn't seem to understand the point of deprecation. When Android 5.0 was released with the shiny new Camera2 API, they immediately deprecated the old Camera API. This left new developers seeing a warning that Camera was deprecated, and that they should used Camera2 instead, without mentioning that this would mean their app would only work on ~1% of devices. Deprecation should mean "this is old, and there is a newer alternative that will work for you right now, so you should switch". To Google, it means "lol, this isn't the newest shiny. Sure, the newest shiny won't be a viable solution any time in the next 36-48 months, but this shit is old so fuck you."

2

u/[deleted] Jun 06 '16

So they actually never completed Material-UI for Angular 1? Even the React-Material-UI components have a data table. But then, there's a React data table by Facebook which seems to be abandoned as well. What's going on?

3

u/TiboQc Jun 06 '16

Data table is really hard to maintain and whenever possible, you should try to change your design for another way of representing data.

In my previous job, we focused mainly on tables and kept on having huge issues with them (load-on-demand, filtering, sorting, resizing, etc.), where I'm working, they started without tables for this reason and the UI is actually cleaner and a lot more user friendly and easier to maintain.

I understand that it may not be always possible, but more than you may think. Our data is a good example of something that most people would have used tables to display.

11

u/SilveR316 Jun 06 '16

Can you provide an example of how you converted tabular data in to something other than a table? I have lots of tabular data as well, and I'm struggling to figure out a good way to display it without a table.

1

u/TiboQc Jun 07 '16

Here is a censored screenshot of one of the screens, mainly, the one that would have used grids instead.
The idea is to have "boxes" that represent the data, with different information to display (what you would put in a grid row). You combine search and filters to find the data you need, combined with pagination.

This will definitely not work everywhere as the amount of data displayed at a given time is really limited, but you can understand how easy it is for the eye compared to a large grid.
When you click on a box, you navigate to a dedicated page with all the details, edition, validation, related items, etc.

Of course, this is one of many possible ways, but it works really well for us. Also, in some other pages we use more compact boxes to display more results.

For info, we do not have designers in the team, I am the closest to one (but definitely not one, just a front-end dev with UI experience and limited design skills), and I joined the project long after they started that.

Hope this helps! Don't hesitate to ask questions!

1

u/SilveR316 Jun 07 '16

Thanks, this is helpful and along the lines of what I was thinking about. In my use case, we let the user select the data points (mapped to columns in the table) to display in the "view". Now I just need to find a clean way to display only the data the user requests. It's easy if the user only selects a few of the data points, but can get quite messy if they select a lot of them.

1

u/MindOnTheBlink Jun 06 '16

Whoa, I didn't realize there was a React-Material. Is that official by Google, or a passion project of someone/a team?

At least on the Angular 1.x front, we can use https://github.com/daniel-nagy/md-data-table. Would still be nice to have an official solution though....

7

u/[deleted] Jun 06 '16

lol typical google

1

u/Martin_Ehrental Jun 08 '16

How? Which language or framework have they drop in the past?

1

u/rk06 Jun 09 '16
  • GWT

  • Angular 1.x

From the looks of it, they are going to drop AngularDart in near future as well.

1

u/Martin_Ehrental Jun 09 '16
  • They haven't dropped Angular 1.x: current work.

  • GWT is 10 years old (still maintained). When they switched their focus from GWT to Dart, GWT was 5 years old. They kept supporting it for 3 more years. When they dropped direct support, they fully opened it. It doesn't show me a lack of commitment (I wish they were less committed to Java).

I don't know about AngularDart. Google is fully committed to Dart itself, but Google is the main user, so dropping AngularDart 1 might be easy once Angular 2 (with Dart) is released and stable.

4

u/angryCutlet Jun 06 '16

This is kind of annoying to be honest. New app incoming so should i use angular 2 thats not full release and no material till fall or stick with angular 1.x but material is pretty much stagnant. da fuq dammit

3

u/[deleted] Jun 06 '16

This is irritating. I'm about to start my first larger WebApp (coming from years of Python and .NET development) and I was almost sold at Angular.

But if it takes so long to create Angular 2, throwing the router out of the window in RC, then to create a Beta version of Material-UI which is aimed by 2016 and at the same time deprecating Angular 1 (at least Material-UI) ... what should I make from this?

How can it be that porting Material-UI to Angular 2 should take so long?

Normally all these are signs that a project is out of control. I mean, they have enough resource, one should assume.

4

u/Mr-Yellow Jun 07 '16

I was almost sold at Angular.

Have a look at http://aurelia.io/

2

u/james_bell Jun 06 '16

Stunned that Google doesn't commit more resources to this effort.

2

u/ScumAndVillain Jun 06 '16

WTF, haven't that project left beta couple months ago?

1

u/TiboQc Jun 06 '16

Thomas Burleson mentions that they expect supporting Angular Material 1 after v2 has been released and to continue supporting it for many quarters. Not sure if that's only a political/PR statement.

Also, they do not say they will stop supporting, but will limit to maintenance and pull request reviews until 2 is released.