percolatestudio / atmosphere

Atmosphere - Meteor Packages
https://atmospherejs.com
59 stars 4 forks source link

enhancement - show private packages to creator on logged-in creator's page #438

Open deborah-ufw opened 8 years ago

deborah-ufw commented 8 years ago

I just created a package, published it, and marked it as un-migrated according to Atmosphere's instructions here. Then I added it to my app (LOVE Atmosphere!). :)

I'm logged in on Atmosphere. When I visit my profile page, I see the "no packages" message. It's not quite true - I do have a package, but it's hidden. It seems like I should see my own private packages.

After reading through old issues and threads where people were surprised to see their own hidden packages, and through all of the threads about deleting packages...

Here is a possible solution:

  1. Show "hidden" packages to the logged-in creator
  2. Indicate that they are "private" packages not visible to the public - this could be a "private" checkbox that the user could set or un-set in the ui, triggers the appropriate script
  3. Provide a UI element for the logged-in creator to "hide private packages", but don't make it the default - this could be a checkbox
  4. Provide a "delete" button next to the package - if package is eligible for deletion (no one has installed), make it clickable, else make it un-clickable and show a statement that the package can not be deleted because it is used in "n" apps where "n" is the number of apps - statement could be in a popup if user tries to press the inactive "delete", or in a "why can't I delete this?" link, or in a div under the inactive "delete" button
  5. Would be nice to show username/email of users who have installed the package though now we're getting past enhancement and into full-on feature.

If you think you might consider this, let me know if you'd like to have a quick image showing how the UI could look.

I know this is not a trivial amount of work. Caffeine powered this message.

Thank you for your great exciting work, Atmosphere and percolatestudio!