remix-project
remix-project copied to clipboard
Pinned panel
Closes https://github.com/ethereum/remix-project/issues/3787
How it works
This PR introduces the functionality of being able to pin/dock a plugin to a fixed position on the right of the IDE.
- Each plugin (except the filePanel) have a new icon on the header as indicated in the image below.
NOTE: We would need to discuss the plugins that should have this new icon to pin and unpin plugins.
- After clicking on the "pin" icon, the plugin should be moved to the right of the IDE.
NOTE: For now, only internal plugins have the ability to maintain state when pinned from left to right and vice-versa. Iframe plugins will have to reload when it switches sides. Also, i have only implemented state persistence for udapp and search plugin, because they are the easiest to implement for now because of how state is managed in this two plugins. Implementing for other internal plugins will involve a lot of code changes, which is out of the scope of this PR.
- When an icon is pinned, it stays pinned until you unpin the plugin or deactivate the plugin. Even after reload pinned plugins are still pinned.
- I will add more when i have more to disclose. Have fun testing...
Deploy Preview for remixproject ready!
Name | Link |
---|---|
Latest commit | 567f277d0935e67d607e194fab8c5090b25dca86 |
Latest deploy log | https://app.netlify.com/sites/remixproject/deploys/664b672c2707d10008f26885 |
Deploy Preview | https://deploy-preview-4798--remixproject.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
@ioedeveloper please exclude the plugins you've added from the plugin manager