notebooks: auto-fill inputs from file url
Created by: novoselrok
This PR adds support for parsing the Sourcegraph file URL and auto-filling the file block inputs. The file URL is ephemeral and it is removed after the inputs are saved. This is done to simplify the implementation, otherwise we would need to introduce bidirectionality between the file URL and the block inputs.
Instead of the previous implementation we opted to detect the paste event on the block itself. This should reduce the confusion about the additional input.
Demo:
https://user-images.githubusercontent.com/6417322/151921631-e51494da-ad3c-4339-85e3-2b262dcef3db.mov