-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Consider consolidating all link hints commands to one: LinkHints.activate #4634
Comments
I'm all for this, and can help with implementation if you like. For backwards compatibility, this will likely be a recurring issue, so we should make a "future-proof" solution. Let me know what you think. We can start a new migration discussion and/or I can implement the above solution if that works for you. |
I don't have comments on the migration logistics for now. I've been working on the command listing UX which will lay some ground work for this. |
Okay, just let me know if you want help with the UX design or implementation. |
Today we have several very similar link hints commands. Each one specifies an option to a core command.
To improve this and allow people to combine these orthogonal options together, we could move to one command, LinkHints.activate, which takes parameters to customize its behavior:
This would make it seamless to add in long-tail use cases for the link hints command, like opening a link in a new window rather than a new tab (#3450).
These are the historical reasons we have separate commands for each parameter:
Backwards compatibility: we can either migrate people's existing configurations at the time they are read, or we can indefinitely support e.g.
LinkHints.activateModeToOpenInNewTab
as an alias for LinkHints.activate destination=newTab.Related: #1948.
The text was updated successfully, but these errors were encountered: