-
Notifications
You must be signed in to change notification settings - Fork 45
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
Upgrade external modal component #321
Comments
Maybe we can add another few things - we can have 'keyboard' shortcuts for accessing these actions quickly. For example, we can have 'N' or 'Enter' open the new tab, and 'esc' close the modal. We might have the text to the left of the text in each button maybe? There is a library called mousetrap I believe, which makes it pretty easy to assign these type of things. BTW, do you know why the page isn't loading? Is the Cloudflare worker that scans the page timing out - what kind of errors/messages are you getting in the console/network tab? I just tried it on my machine, and everything seems to be working fine. |
Shortcuts for the two modal options sounds cool 👌 Will add that to the list of tasks. I haven't heard of mousetrap but will look into it |
You can browser some other inspiration: https://dribbble.com/tags/keyboard_shortcuts |
@mikhael28 I'd like to start working on this, can you please assign me? |
Thanks @jeremydthomas 👌 |
Will start working on this tomorrow, I couldn't find the time until now🙈 |
So much to do, so little time :) |
I hear you! Finding time is a challenge - right now I'm sitting at a coffee shop with my girlfriend on a Saturday, trying to catch up with everything here - trying to find some time to fully refactor the Experience objects. Need to really re-work those things, and make creating them scalable. It's a bit trickier than I first thought, and trying to find a compelling creation/rich-text/embedded images/media experience. All I will probably accomplish is just determining the architecture/schema/tools - writing the code will have to wait, because I have a super busy week next week! |
The current modal shows the text "Loading" which tricked me into waiting a few times but digging in the code just shows that it's a place holder text.

I think the modal should be updated in the following ways:
You're about to go to an external site. Continue?
YES
for going to an external site andNO
for closing the modalAdditional info:
The easiest way of triggering the modal for me was to use the shortcut:
ctrl+k
and try to go to any of the external links, you should see the modalThe text was updated successfully, but these errors were encountered: