Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
OUTDATED read next comments
Opening this PR just so it can be seen live. I think this components could be like the "plugin links" that accepts the name of plugin as a prop and that's it. Example
<PluginLinks plugin="clipboard-manager" />
.In this PR there are two versions of the compatibility component that implements Amr and Simon ideas, respectively:
Showing Linux distros inline:
Sample pages:
features/authenticator
,features/autostart
andfeatures/barcode-scanner
Showing Linux distros in a tooltip, if necessary (needs to make mobile accessible):
Sample pages:
features/cli
andfeatures/clipboard
Aesthetically both can be improved, even more the tooltip by using JS (which I don't think should be done). Plus, neither version is supposed to be the definitive or the only possibles implementation of this feature
TODO: Take in account feedback sent by AlmostSenselessCoder in discord
https://discord.com/channels/616186924390023171/662624589037436928/1211237670110629978
TODO: Rename component
TODO: Consider icons