Page 1 of 1

Can we create a new extension for the deprecated mobile UI?

Posted: 06 Aug 2018, 16:41
by pimetix
Hi all

We have been using the mobile UI very successfully the last few years and are pretty sad to see it being removed in version 6.3.
Even with responsive rendering we are still loosing the customized mobile components, awesome mobile navigation and the mobile menus.

How hard would it be to take the current state of the mobile UI as of version 6.2.7 and create an extension for it in 6.3?

I would not mind getting involved in this process; but would need some guidance...

Any help would be greatly appreciated:)

Regards
Rainer

Re: Can we create a new extension for the deprecated mobile UI?

Posted: 06 Aug 2018, 16:52
by Melloware
I am not going to lie it would probably be a significant amount of code and work. What I would suggest is that you create a GitHub project and try and fork the mobile stuff as a standalone jar something like "primefaces-mobile-6.2.jar" something users can just include.

If you get it all working we can talk about moving that project under the PrimeFaces Extensions umbrella.

Re: Can we create a new extension for the deprecated mobile UI?

Posted: 06 Aug 2018, 23:40
by tandraschko
+1 melloware

The source is still there in the github tag, you can just get it ;)

But IMO it would be better if you would put the hours into "making PF more responsive", instead of forking the old code.

Re: Can we create a new extension for the deprecated mobile UI?

Posted: 07 Aug 2018, 00:51
by Melloware
Agreed 100% @tandraschko I think some users just have a lot of mobile code deployed they want to keep running without an extensive rewrite or regression testing.

I luckily don't use Mobile so I have no time to devote trying to fork this.

Re: Can we create a new extension for the deprecated mobile UI?

Posted: 07 Aug 2018, 14:24
by pimetix
Thanks for the feedback!

I will try and give that a go.

Re: Can we create a new extension for the deprecated mobile UI?

Posted: 09 Sep 2019, 01:34
by djmj
@pimetix

Same problem for us and we invested a lot of time in our mobile app and a dedicated mobile version was the best fit for us.

Mobile Fork

We are still stuck at version 6.1.18 and if you are interested we could work together on a fork extracting the mobile components?

Re: Can we create a new extension for the deprecated mobile UI?

Posted: 06 Oct 2021, 23:33
by djmj
@pimetix

Have a look at my migrated fork: https://github.com/djmj/primefaces-mobile.

I extracted the mobile components from PrimeFaces 6.1 and adapted them to PrimeFaces 7.0 as a separate library. I did testing with mobile showcase and will test it in our own application and production the next days.

Better late then never and it was always on my TODO list but i had to make our application stable and follow customer demands first. Now having more time i finally did a fork and after tests i can finally update our application to primefaces version higher then 6

Re: Can we create a new extension for the deprecated mobile UI?

Posted: 08 Oct 2021, 14:16
by Melloware
Nice work @djmj !

Re: Can we create a new extension for the deprecated mobile UI?

Posted: 22 Oct 2021, 02:45
by djmj
Thanks @Melloware

Version 8 and 10 are now also released and tested in our application. I was very lucky jquery mobile 1.5 was almost finished (RC) and compatible with jquery 3 and so all primefaces widgets are also compatible.

Showcase

The old mobile showcase is also updated and available at:

https://github.com/djmj/primefaces-mobile-showcase
https://admin.deloma.de/primefaces-mobile-showcase

When PrimeFaces 11 will drop, i will update it to 11.