Giter VIP home page Giter VIP logo

Comments (5)

brentvatne avatar brentvatne commented on May 17, 2024

the problem

terminal-link's isSupported property is true for some terminals (eg: "terminator") where it is not indeed supported. the result is that the user will see some underlined text, but not have any way of actually clicking the link. this is a bad experience. but should we lower the ceiling for the quality of experience in order to accommodate the worst case scenarios?

possible solutions

  • upstream improvements to isSupported
  • use a wrapper like this one from expo-cli and default to using the fallback on windows and linux (where we're more likely to run into unsupported terminals)
  • possibly make exceptions to the previous rule if we can easily detect that a terminal will definitely support terminal-link
  • add an env var that users can set to override the default - EXPO_USE_TERMINAL_LINK=1 will always trust terminal-link's isSupported property, and EXPO_USE_TERMINAL_LINK=0 will always use the fallback

from eas-cli.

wkozyra95 avatar wkozyra95 commented on May 17, 2024
  1. it's not a problem with isSupported itself, doc of terminal-link also list terminator as supported
  2. it's probably the easiest solution, instead of checking based on platform maybe we could just whitelist specific terminals we are sure that they work
  3. as in point 2
  4. env could be useful for debuginng during development if everything looks correct on unsupported terminals, but for users, it wouldn't be a good experience, those links are usually linking to docs or fyi page, so we need to make sure they are alwayss acessible

from eas-cli.

wodin avatar wodin commented on May 17, 2024

Whitelisting known-good terminals might be the most reliable.

I've run into this issue before with tmux in iTerm2 on a Mac. As far as I remember the problem in my case was that tmux didn't support the feature.

from eas-cli.

github-actions avatar github-actions commented on May 17, 2024

This issue is stale because it has been open for 30 days with no activity. If there is no activity in the next 7 days, the issue will be closed.

from eas-cli.

github-actions avatar github-actions commented on May 17, 2024

This issue was closed because it has been inactive for 7 days since being marked as stale. Please open a new issue if you believe you are encountering a related problem.

from eas-cli.

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.