profile
viewpoint
Limon Monte limonte @FlowCrypt @sweetalert2 Finland (Eastern European Time) https://limonte.github.io Software engineer. Born, educated and hardened in :ru:, currently based in :finland: Creator and maintainer of @sweetalert2

sweetalert2/sweetalert2 13875

A beautiful, responsive, highly customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes. Zero dependencies.

FlowCrypt/flowcrypt-browser 308

FlowCrypt Browser extension for Chrome and Firefox

limonte/dear-habr 88

:incoming_envelope: Открытое письмо Хабрахабру от любящих юзернеймов

limonte/csv-viewer-online 65

CSV Viewer Online

FlowCrypt/flowcrypt-ios 17

FlowCrypt iOS App

sweetalert2/sweetalert2-webpack-demo 17

https://sweetalert2.github.io/sweetalert2-webpack-demo/

limonte/php-adblock-parser 13

PHP parser for Adblock Plus filters

limonte/google-safebrowsing 8

Google Safebrowsing PHP library, check if link is suspicious

limonte/limonte.github.io 4

Limon Monte, Full-Stack JS Developer

limonte/spam-link-analyser 4

PHP library to check if link is spam

PR opened FlowCrypt/flowcrypt-browser

Reviewers
issue #4105 Fix vertical offset for contacts list

This PR fixes the vertical offset for contacts list for CC and BCC fields as well as for TO field when #input-from is visible

close #4105


Tests (delete all except exactly one):

  • Not worth testing

To be filled by reviewers

I have reviewed that this PR... (tick whichever items you personally focused on during this review):

  • [ ] addresses the issue it closes (if any)
  • [ ] code is readable and understandable
  • [ ] is accompanied with tests, or tests are not needed
  • [ ] is free of vulnerabilities
  • [ ] is documented clearly and usefully, or doesn't need documentation
+1 -1

0 comment

1 changed file

pr created time in 10 hours

push eventsweetalert2/sweetalert2.github.io

Limon Monte

commit sha 7f0987be925832b11b0de68a6d7b7769941c21db

Add docs for the color param

view details

push time in 11 hours

issue commentsweetalert2/sweetalert2

Specify text colour

:tada: This issue has been resolved in version 11.3.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

Bilge

comment created time in 19 hours

pull request commentsweetalert2/sweetalert2

Add `color` param

:tada: This PR is included in version 11.3.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

limonte

comment created time in 19 hours

push eventsweetalert2/sweetalert2

Limon Monte

commit sha e845d9e5b5c080161a37e5dfd954b1fa2b553e7a

feat: add color param (#2362)

view details

push time in 19 hours

delete branch sweetalert2/sweetalert2

delete branch : feat/color

delete time in 19 hours

PR merged sweetalert2/sweetalert2

Add `color` param

Close #2345

+17 -3

0 comment

4 changed files

limonte

pr closed time in 19 hours

issue closedsweetalert2/sweetalert2

Specify text colour

New feature motivation

There is an option to specify the background colour (background) but there appears to be no way to set the foreground (text) colour. WCAG generally requires that background and foreground colours are specified in pairs to ensure correct contrast.

New feature description

Add new colour option.

New feature implementation

In addition to colour literals (e.g. #fff) it should be valid to specify any other valid CSS property values for color, such as inherit to use the colour inherited from the stylesheet.

closed time in 19 hours

Bilge

PR opened sweetalert2/sweetalert2

Add `color` param

Close #2345

+17 -3

0 comment

4 changed files

pr created time in 19 hours

push eventsweetalert2/sweetalert2

Limon Monte

commit sha 63f92c09f5e6dc6be01aecb791a63729ac833ce2

feat: add color param

view details

push time in 19 hours

create barnchsweetalert2/sweetalert2

branch : feat/color

created branch time in 19 hours

issue commentsweetalert2/sweetalert2

Backdrop blink when queuing alerts

Good question @gestudio!

The blinking of backdrop can be disabled with this trick:

const Queue = Swal.mixin({
  // Classes to avoid backdrop blinking between steps
  showClass: {
    backdrop: 'swal2-noanimation',
  },
  hideClass: {
    backdrop: 'swal2-noanimation',
  }
})
await Queue.fire({
  title: '1',
  // Class to show fade-in backdrop animation which was disabled in Queue mixin
  showClass: {
    backdrop: 'swal2-backdrop-show',
  },
});
await Queue.fire('2');
await Queue.fire({
  title: '3',
  // Class to show fade-out backdrop animation which was disabled in Queue mixin
  hideClass: {
    backdrop: 'swal2-backdrop-hide',
  },
});

I also added this trick to this recipe: https://sweetalert2.github.io/recipe-gallery/queue-with-progress-steps.html

gestudio

comment created time in 20 hours

issue closedsweetalert2/sweetalert2

Backdrop blink when queuing alerts

Current behavior

When you queue SweetAlert, the backdrop blinks when switching to the next or previous instances. Open the example, fill in the form and click next. When switching to step 2, the backdrop dissapears and appears again with the new instance on SweetAlert, creating a BLINK.

Expected behavior

When queueing instances, SweetAlert should not destroy the backdrop, just the modal box.

Live demo <!-- !!! THIS SECTION IS REQUIRED !!! -->

https://sweetalert2.github.io/recipe-gallery/queue-with-back-button.html

closed time in 20 hours

gestudio

push eventsweetalert2/sweetalert2.github.io

Limon Monte

commit sha 031f3b02781789de32ee913cb18ebb9073ea5a08

do not show line numbers for emgithub.com

view details

push time in 20 hours

push eventsweetalert2/sweetalert2.github.io

Limon Monte

commit sha 208e450a2e7e16cc451ce66a3025229512d57f12

do not show line numbers for emgithub.com

view details

push time in 20 hours

push eventsweetalert2/sweetalert2.github.io

Limon Monte

commit sha 3c50393a938a14dc477aff275de18e2e90a499c6

do not show line numbers for emgithub.com

view details

push time in 21 hours

push eventsweetalert2/sweetalert2.github.io

Limon Monte

commit sha 50ede5856976c816df24ebc010d4454160ccd06f

prevent backdrop blinking in Queue recipe

view details

push time in 21 hours

push eventsweetalert2/sweetalert2

Limon Monte

commit sha 192b096810dc0218604e3af76d1bd8f32b7f5c5e

Add Phone Tracking Apps to Sponsors

view details

push time in a day

push eventsweetalert2/sweetalert2.github.io

Limon Monte

commit sha 978564e44a3272e644161963f3f05d6524d2cce5

Add Phone Tracking Apps to Sponsors

view details

push time in a day

issue closedsweetalert2/sweetalert2

Incorrect input value is returned after clicking on "Deny" button

When the user clicks the Deny button, the returned value is false 😀

So, even the input is not empty, the returned value is false

This is incorrect data and false information. If you made this on purpose please fix it, thank you! 💘

Try this example code:

Swal.fire({
    showConfirmButton: true,
    input: 'password',
    inputPlaceholder: 'enter something',
    showDenyButton: true,
}).then(function(result){
    console.log( result.value ); //
    console.log( result );
});

closed time in 2 days

halid96

issue commentsweetalert2/sweetalert2

Sweetalert2 issue after visiting page with hotwired/turbo

@dyanakiev please test out the new release and let me know if the issue is fixed, thank you!

dyanakiev

comment created time in 3 days

issue commentsweetalert2/sweetalert2

Nuxt Error Uncaught TypeError: Cannot read properties of undefined (reading 'removeEventListener')

@akbarali1 please test out the new release and let me know if the issue is fixed, thank you!

akbarali1

comment created time in 3 days

issue commentsweetalert2/sweetalert2

TypeError: Cannot read property 'removeEventListener' of undefined when switching routes with toast

:tada: This issue has been resolved in version 11.2.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

dylanmcgowan

comment created time in 3 days

issue commentsweetalert2/sweetalert2

Sweetalert2 issue after visiting page with hotwired/turbo

:tada: This issue has been resolved in version 11.2.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

dyanakiev

comment created time in 3 days

issue commentsweetalert2/sweetalert2

Nuxt Error Uncaught TypeError: Cannot read properties of undefined (reading 'removeEventListener')

:tada: This issue has been resolved in version 11.2.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

akbarali1

comment created time in 3 days

pull request commentsweetalert2/sweetalert2

Fix detecting toast so removePopupAndResetState() would work properly

:tada: This PR is included in version 11.2.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

limonte

comment created time in 3 days

pull request commentsweetalert2/sweetalert2

Update all Yarn dependencies (2021-11-29)

:tada: This PR is included in version 11.2.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

depfu[bot]

comment created time in 3 days

more