meteor-s-alert icon indicating copy to clipboard operation
meteor-s-alert copied to clipboard

Not working after update

Open rokanost opened this issue 9 years ago • 8 comments

Hey,

Alerts are not appearing when called after 3.1.2 => 3.1.3 update. Neither on 3.1.4

rokanost avatar Jan 20 '16 00:01 rokanost

Could you provide some more informations? Are there any errors in the browser console? Because the demo here: http://s-alert-demo.meteor.com/ uses 3.1.4 and it seems to work.

  • Do you have {{> sAlert}} template in you app?
  • Do you have sAlert.collection in browser console (when you paste it)?

juliancwirko avatar Jan 20 '16 01:01 juliancwirko

No errors. Currently using 3.1.2 and it works fine.

rokanost avatar Jan 20 '16 01:01 rokanost

Unfortunately I need some more info because everywhere where i tested it it works.

juliancwirko avatar Jan 20 '16 12:01 juliancwirko

Mine isn't working either.

I'm using on the client

angular                          1.0.0*
angular:angular-material         0.11.4*
urigo:angular-blaze-template     0.3.0

Maybe these interfering with the execution of sAlert, because even when running it in the console nothing appears. I get the id from the return statement but no actual template changes, error messages, or any other indications that something is going wrong.

I'm going to downgrade to 3.1.2 or earlier and see if that changes anything.

lscordilis avatar Feb 05 '16 20:02 lscordilis

could you create a simple reproduction repository?

juliancwirko avatar Feb 05 '16 21:02 juliancwirko

I'm using angular as well, and it's not working for me either. I tried installing 3.1.2 and that didn't work either. Getting error: template not found for <blaze-template name="sAlert">

Actually apparently blaze template support has been removed from angular meteor. Weird. https://github.com/Urigo/angular-meteor/issues/849

turbobuilt avatar Mar 12 '16 19:03 turbobuilt

Hi, unfortunatelly, for now if there is no Blaze support in the Angular stack there will be also no possibility to use this package :/ There is a pure React component but I don't have any Angular version.

juliancwirko avatar Mar 12 '16 21:03 juliancwirko

@dtruel @juliancwirko It is possible to use Blaze templates in Angular only with the urigo:angular-blaze-template package

I believe the issue exists in the newer angular-meteor packages. I've locked my version to 1.0.7 for now, because the 1.3+ changes are drastic and require major refactoring.

Even if I were to upgrade anytime soon, it would be unfortunate to lose support for sAlert in angular-meteor because I like it infinitely more than angular-material's alert template.

lscordilis avatar Apr 07 '16 16:04 lscordilis