These are chat archives for TelescopeJS/Telescope

9th
Oct 2014
Wayne Sutton
@waynesutton
Oct 09 2014 00:07
@engagr got it, thanks!
Sacha Greif
@SachaG
Oct 09 2014 00:19
@engagr thanks for providing support here! @waynesutton let me know if it works :)
@SdShadab can you give more details? If it's a static JS file you could put it in /public. Or look up server-side routes with Iron-Router (used in Telescope for RSS feeds for example)
Wayne Sutton
@waynesutton
Oct 09 2014 00:40
Question: Is there a separate view for categories? If not, is the proper next to create a template for categories views?
Sacha Greif
@SachaG
Oct 09 2014 02:02
I'm afraid that would be a bit tricky. You'd probably need to duplicate the category package and customize it to your needs
Phil McClure
@overture8
Oct 09 2014 10:56
@azizur Found this on the wiki. Might be useful as an initial plan for code coverage: https://github.com/TelescopeJS/Telescope/wiki/Testing
Sacha Greif
@SachaG
Oct 09 2014 14:00
@overture8 oh I completely forgot about this page!
Phil McClure
@overture8
Oct 09 2014 16:58
@SachaG yeah, looks pretty useful. Anything simple you need help with on Telescope? Just getting into meteor - I’ve read the Discover Meteor book and watched the Eventedmind screencasts. So that is where my knowledge is at.
Azizur Rahman
@azizur
Oct 09 2014 17:21
@overture8 that's good list to start with. I am currently traveling so will look at getting Velocity setup with some unit tests over the weekend.
Phil McClure
@overture8
Oct 09 2014 17:25
@azizur Great. Let me know if there’s anything I can help with.
Wayne Sutton
@waynesutton
Oct 09 2014 18:05
Is there an error for the "Thanks, your post is awaiting approval." message to stay, instead of flashing and going away for post that must be approved? Or is it just me?
Shadab Mahbub
@SdShadab
Oct 09 2014 18:08
@SachaG The JS file in question has to do some validation to let users upload files via DropzoneJS to an Amazon S3 bucket. My router is returning strings when AJAX request is made, but I cannot get my validation function to fire. Here is my githib gist: https://gist.github.com/SdShadab/e6fe7c2b3290262d3335
I created a custom package with server side routing and made an AJAX request from a template helper.
Cloud Unicorn
@cloudunicorn
Oct 09 2014 21:12
are files named Something.handlebars able to be overwritten with template.Something = 'newSomething'; ?
Sivli Kestanous
@Kestanous
Oct 09 2014 22:06
@engagr, as I recall no. I believe I tried that before. But if @SachaG does make the switch to SSR then that should change.
@SdShadab I do just that with file-collection. The tricky part is user ids. Hope that helps.
Sacha Greif
@SachaG
Oct 09 2014 23:20
@azizur did you check out the roadmap? or there are also a few GitHub issues that can probably be fixed :)
@waynesutton I don't think it should flash and go away. If that keeps happening maybe file a bug?
@engagr @Kestanous actually you can, it works just the same as regular templates
Cloud Unicorn
@cloudunicorn
Oct 09 2014 23:29
@SachaG I've tried this over and over and over and it doesn't seem to work. Specifically with emailNewPost and others. I am using the dependency you mentioned in the Newsletter issue I started.