Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Since alertify is no longer maintained, consider jAlert #254

Open
HTMLGuyLLC opened this issue Jul 12, 2015 · 9 comments
Open

Since alertify is no longer maintained, consider jAlert #254

HTMLGuyLLC opened this issue Jul 12, 2015 · 9 comments

Comments

@HTMLGuyLLC
Copy link

https://github.com/VersatilityWerks/jAlert

@kaansoral
Copy link

I just checked jAlert, but it doesn't replace alertify.success

Also the animations are too heavy/overwhelming

I still use alertify for it's simple and lightweight alertify messages, like the .log and the .success

@HTMLGuyLLC
Copy link
Author

I'll be adding growl style alerts in the future.

You can use any animation you want including a simple fade. Animate.css is used.

I used to use Alertify for growl style alerts and want to add this to jAlert soon!

@HTMLGuyLLC
Copy link
Author

Just updated the default to fadeInUp and fadeOutDown because I agree, they were a bit much.

@kaansoral
Copy link

Thanks, I think many people might make the switch if the growl style alerts are a satisfying replacement for the alertify ones

The alertify ones also have severe performance issues, each frame of the animation triggers a full page reflaw/redraw, I manually fixed the issue by trial and error, yet it would be nice to find an alternative that is actively developed

@HTMLGuyLLC
Copy link
Author

I'll post here again once it's been added. Do you have any specific requests on how they should work? I'll take your suggestions into consideration.

@kaansoral
Copy link

I think 2 types would be great:

  1. Android Toast styles notifications, simple, lightweight, hides on click or fades away on it's own
  2. Emulate/Replicate the alertify's sliding alerts 1:1 + Solve the issues

At one point, I was experiencing browser performance issues, that's when I realized the excessive redraw problem I mentioned with alertify, the bounding box needs to be dynamic to allow multiple/stacking alertify messages, yet that flexibility ties the drawing to the entire page, causing the performance issues - they can easily be observed with Chrome/Firefox's Inspectors - Firefox can't handle it

Limiting the alertify bounding box solved the issue for me, but my alertify's no longer stack, a new one hides the older one

Edit: You can also gather a following more easily if you emulate the Android toasts, as I'm sure there are a lot of android developers that seek them on web (it might already exist on web, I didn't research :)

@HTMLGuyLLC
Copy link
Author

Awesome, thanks for the input!

@ghost
Copy link

ghost commented Feb 13, 2017

@kaansoral I'm curious about how you fixed the full-page reflaw/redraw issue on your end. Any chance you could share a code snippet?

@kaansoral
Copy link

You can inspect it on https://geobird.com

It wasn't a perfect solution, but it was an easy fix, at the time, this was the easiest solution, I don't remember the specifics tho (It's no longer possible to stack 1+ alerts with this modification)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants