Will implement Idea: Display notification when user clicks on 'Copy Token' button

  • Dmitrijs Rekuns
  • Onderwerp Auteur
  • Offline
Lees meer
1 week 3 dagen geleden #3575 door Dmitrijs Rekuns
I just wondering: a user clicks on 'Copy Token' button,  the token is being copied into clipboard but the user does not know about that.
Maybe an alert like "The token has been copied" will be the solution.

Just an idea about further UX improvement. 

Graag Inloggen deelnemen aan het gesprek.

Lees meer
1 week 3 dagen geleden #3576 door Ruud van Lent
That is actually implemented.
When clicking the button a toast container is created. unfortunately the naming is to generic so when your template (like mine) is also using toast messages, it will (in my case) not display.

For the next version i have refactored that to a different method: even when the toast worked it was visually different from the toast on the template.

On my site you can see the new functionality: when clicked the button turn green and gives a "[check] Copied" text for 3 seconds.

still testing this, so if you have a better way to do this let me know.
De volgende gebruiker (s) zei dank u: Dmitrijs Rekuns

Graag Inloggen deelnemen aan het gesprek.

Lees meer
1 dag 11 uren geleden #3597 door Ruud van Lent
I have refactored this once again so it is in line with other extensions I have that have this clipbaord functionality.

So now when you click the copy button, it will display a message using Core Joomla messaging JS functionlity.When triggered, the site template will 'take' over and display the success (or error) message.

My site uses my own bootstrap template in which I have implemented toast messages. This way we make sure it will work on all templates and is in line with how your site messages you visitor.

You can test in in My Account > My Download Keys > click either one of the [Copy Token]  buttons.

Graag Inloggen deelnemen aan het gesprek.

  • Dmitrijs Rekuns
  • Onderwerp Auteur
  • Offline
Lees meer
1 dag 5 uren geleden #3598 door Dmitrijs Rekuns
it is nice, thank you, Ruud!

If there is such a sublayout, I will override this element for Uikit via template override to get this effect: getuikit.com/docs/notification

Graag Inloggen deelnemen aan het gesprek.

Lees meer
17 uren 48 minuten geleden #3599 door Ruud van Lent
Thanks,

it now just 'pushes' a message via Joomla core JS, your template will have an implementation for that. In the template you can change how messages look, where they appear, etc.

e.g. In my template I have refactored the Joomla messages to display as bootstrap toast messages.

So with this new implementation they will look like all other messages in your template.

Graag Inloggen deelnemen aan het gesprek.