Git Product home page Git Product logo

Comments (9)

kaansoral avatar kaansoral commented on August 25, 2024

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

from alertify.js.

HTMLGuyLLC avatar HTMLGuyLLC commented on August 25, 2024

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!

from alertify.js.

HTMLGuyLLC avatar HTMLGuyLLC commented on August 25, 2024

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

from alertify.js.

kaansoral avatar kaansoral commented on August 25, 2024

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

from alertify.js.

HTMLGuyLLC avatar HTMLGuyLLC commented on August 25, 2024

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.

from alertify.js.

kaansoral avatar kaansoral commented on August 25, 2024

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 :)

from alertify.js.

HTMLGuyLLC avatar HTMLGuyLLC commented on August 25, 2024

Awesome, thanks for the input!

from alertify.js.

 avatar commented on August 25, 2024

@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?

from alertify.js.

kaansoral avatar kaansoral commented on August 25, 2024

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)

from alertify.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.