LoopKit / looptips

GitHub docs for Looped users
https://kdisimone.github.io/looptips
9 stars 14 forks source link

๐Ÿšธ UX Improvement: Open external links in a new window #44

Closed ebouchut closed 4 months ago

ebouchut commented 4 months ago

This PR improves LoopTips' User Experience when clicking a link to an external site.

Links to external websites will now open in a new window (or a new tab depending on the Web browser's configuration) whereas before it was opening in the same window.

The PR appends the attribute list suffix {: target="_blank" } to existing external links so that they open in a new window

Most non-tech-savvy users do not know how to open links in a new tab/window using โŒ˜ Click (Command-Click) on Mac or โŒƒ Click (Control-Click) on Windows. The goal is to help them so that they do not lose track of where they have been in LoopTips as soon as they close the new window.

๐Ÿ™๐Ÿป Thank you @dnzxy for suggesting this improvement:

Example:

*Tidepool* has [announced](https://tidepool.org/loop/){: target="_blank" } 
that they are embarking on a project to build and support
an FDA-regulated version of *Loop*, to be available in the iOS App Store,
intended to work with commercially available insulin pumps and CGMs.

looptips-external_links-arrow

โ„น๏ธ From now on, an up-right arrow icon will be displayed next to Markdown links that are immediately followed by {: target="_blank" } as above.