sjwiesman opened a new pull request #14952:
URL: https://github.com/apache/flink/pull/14952


   Flink has a number of optional dependencies users may need to copy into 
their pom files to use, such as connectors and formats. The docs should 
automatically copy the maven dependency to the users' clipboard when clicked.
   
   For example the kafka connector before click:
   
   
![image](https://user-images.githubusercontent.com/1891970/108218101-ed940300-70f9-11eb-8659-b5805bbc207c.png)
   
   After click:
   
   
![image](https://user-images.githubusercontent.com/1891970/108218157-fc7ab580-70f9-11eb-8278-8b5281dda465.png)
   
   The module is highlighted, an alert shown, and the pom dependency is on the 
users' clipboard.
   
   If a page has multiple dependencies listed, such as elastic, only one is 
copied at a time and when a new dep is copied the old alert goes away.
   
   If the requisite javascript functionality is not supported by a users 
browser this should be a no-op. 
   
   Clicking on something after it's been copied once is also a no-op so users 
can highlight and copy subsections of the dependency. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to