msavin / MongoInspector

[DEPRECATED] Use Mongol
http://mongol.meteor.com
MIT License
36 stars 5 forks source link

Users Collection not shown #17

Closed SantoshSrinivas79 closed 9 years ago

SantoshSrinivas79 commented 9 years ago

@msavin Any idea why the users collection is not shown in the inspector?

msavin commented 9 years ago

I believe because its privately namespaced under Meteor.

You're just in time for my new package though :)

http://mongol.meteor.com

On Feb 18, 2015, at 08:41 PM, fountainhead notifications@github.com wrote:

@msavin Any idea why the users collection is not shown in the inspector? — Reply to this email directly or view it on GitHub.

SantoshSrinivas79 commented 9 years ago

Still unable to get Meteor.users

My console shows 4 users when I type in Meteor.users.find().fetch() ... basically it is an output of a "search user" form

msavin commented 9 years ago

Pretty sure that data is not being published. You'd have to publish it manually if you want all the users. It could be beneficial to think if its a good idea.

On Feb 18, 2015, at 09:06 PM, fountainhead notifications@github.com wrote:

Still unable to get Meteor.users My console shows 4 users when I type in Meteor.users.find().fetch() ... basically it is an output of a "search user" form — Reply to this email directly or view it on GitHub.

SantoshSrinivas79 commented 9 years ago

Not sure I'm understanding correctly. The data is being published and I can see the published data in Meteor.users.find().fetch(). I can see the 4 users I published. But the inspector doesn't show them.

On Thu, Feb 19, 2015 at 11:20 AM, Max Savin notifications@github.com wrote:

Pretty sure that data is not being published. You'd have to publish it manually if you want all the users. It could be beneficial to think if its a good idea.

On Feb 18, 2015, at 09:06 PM, fountainhead notifications@github.com wrote:

Still unable to get Meteor.users My console shows 4 users when I type in Meteor.users.find().fetch() ... basically it is an output of a "search user" form

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/msavin/MongoInspector/issues/17#issuecomment-75002554 .

krawalli commented 9 years ago

check the position of the package in .meteor/packages

In most cases it should be near the top of the used packages. Otherwise MongoInspector is not "notified" that a collection exists and so it has nothing to show.

msavin commented 9 years ago

Krawalli - have you seen this? https://github.com/dburles/mongo-collection-instances

By the way, new package :) http://mongol.meteor.com

Code coming soon

krawalli commented 9 years ago

yeah, seen it on crater (and the funny title) Gonna search for css errors once its released - so clean up the code carefully :)

For collection: yeah i know. There is another cool code. Check this: https://github.com/rclai/shadow-collection

msavin commented 9 years ago

Nice! Haha the pressure is on.

May have to give the two a try. I'm thinking of putting automatic detection as default, and manual as a back-up.

Anyways, what do you do man? Can't hide behind the avatar forever :)

krawalli commented 9 years ago

Yes I can, wanna bet?

@fountainhead: sorry for hijacking your issue :)

msavin commented 9 years ago

@krawalli you're lucky I'm not a hacker! haha add me on Skype msavin5 @fountainhead double sorry

krawalli commented 9 years ago

I am a penguin. No msn, no skype, no windows.... only darkness :) strange music starting in background

SantoshSrinivas79 commented 9 years ago

Thanks @krawalli . Putting msavin:mongoinspector at the top shows all collections