objecthub-io / ObjectHub

ObjectHub is an open repository for software objects and a development platform.
2 stars 1 forks source link

dependencies UI #257

Open pranav-singhal opened 7 years ago

pranav-singhal commented 7 years ago

I think that one of the changes you can make to the UI is regarding the way users add dependecies. It feels a little counter-intuitive that I have to go to the repo and pin objects that I released myself before I can use them in another project of mine. In the browser tab, there should be a button that says "my published objects"(or something like that) through which I can directly access the objects that I have published without having to pin them first.

objecthub-io commented 7 years ago

Thank you for reporting this issue.

Yes, we are not quite happy with the way deployed dependencies work. Some ideas we had:

  1. When a object A is being published and it is dependent on object B and object B is NOT an object on the repo, replace the dependency to object B in the published object A with the LATEST published version of object B.
  2. Like 1. but in addition automatically publish a new version of object B.

Do you think these could be a solution or would you have another idea? We would ideally not like to add too much too the browser, to keep it as simple as possible.

pranav-singhal commented 7 years ago

I think that your idea works better because then the user won't have to worry about publishing each and every dependent object they created for the main object. Publishing just one object would publish all of the dependencies along with it as separate objects.