freedomotic / fd-vue-webapp

A Vue.js web application for Freedomotic Open IoT framework
http://fd-vue-webapp.herokuapp.com/
GNU Affero General Public License v3.0
65 stars 66 forks source link

Add "prev"/"next" buttons to Environments component #130

Open mcicolella opened 6 years ago

mcicolella commented 6 years ago

See here (old Polymer client)

env-slider

env-slider2

You can move from an environment to another one.

ubaldop commented 6 years ago

Basically, the scope of this issue is to add a carousel like behavior. You could start from EnvironmentsPanel.vue component and add a carousel there.

This vue-carousel seems a good candidate.

mcicolella commented 6 years ago

It seems good. I have just made a test but it shows no environment. Maybe I'm missing something. https://github.com/mcicolella/fd-vue-webapp/tree/carosel

mcicolella commented 6 years ago

c799232d6d733c782a4c57c3b036704b6c278103 introduced a carousel like behavior based on the old Polymer client. The two buttons are not showed at first loading and after a page refresh. They appear after logging out and logging in again.

environment-carousel