#1 Vue POC
Merged by mymindstorm. Opened by mymindstorm.
mymindstorm/fedora-packages-static vue  into  master

Download 1.patch

I built a proof of concept for using Vue to get extra data on packages pages. I have a demo where it grabs some bodhi data here: demo removed

It doesn't break anything if you don't have JS enabled. This also means that if the JS part of packages-static becomes unmaintained, you would only have to comment out the script in the template to disable it.

My post on the mailing list didn't get any comments, so I wanted to know what you think about this. It's pretty barebones at the moment, but it would be easy to build pagination, make it prettier, and show more relevant fields when I have some more free time.

It doesn't break anything if you don't have JS enabled. This also means that if the JS part of packages-static becomes unmaintained, you would only have to comment out the script in the template to disable it.

That's great! I wish things to be as simple / resilient as possible.

I built a proof of concept for using Vue to get extra data on packages pages. I have a demo where it grabs some bodhi data here: https://mymindstorm.fedorapeople.org/packages-vue-demo/pkgs/kernel/

I am not fond of the tab thing, can you put the JS-generated content under the package revision table?

To be honest, I don't think having the list of koji builds, bohdi updates and friends here are worth the work required to make it happen: they already are a click away by following the koji/bohdi/.. links from the top of the page. The only JS-thing I think could be useful is a list of fedmsg events regarding the package.

1 new commit added

  • datagrepper

1 new commit added

  • update scripts

I am not fond of the tab thing, can you put the JS-generated content under the package revision table?

I didn't want to overload bodhi with requests by auto loading it. The Bodhi API is already pretty slow.

The only JS-thing I think could be useful is a list of fedmsg events regarding the package.

That makes sense. I did that below, it loads more if you scroll.

https://mymindstorm.fedorapeople.org/packages-vue-demo/pkgs/mumble/

It looks great! I'll take a look at the code and merge later this week.

Thanks!

1 new commit added

  • - add dockerfile

Do you mind taking a look at this? It looks like we might be able to deploy this to some testing instances soon. If you don't have the time, then I am willing to help maintain.

https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org/message/YD5TFWZHBITXZBA35KDELKDGXANCH5E6/

rebased onto 7d00ddf77cadc30ab1c8bcca579d548ff9636003

3 new commits added

  • Update npm dependencies
  • - add dockerfile
  • Add Vue.js to show fedmsg information on package pages

1 new commit added

  • Merge branch 'master' into vue

Pull-Request has been merged by mymindstorm

Metadata