cinny
cinny copied to clipboard
Add custom link handlers
Description
Adds the ability to add a custom handler for links. Allows for handling matrix.to requests inside Cinny as per #778. It also attempts to invoke a function through Tauri, so Cinny desktop can register its own handlers
It also opens links in a new tab by default
Type of change
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update
Checklist:
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
Related: https://github.com/cinnyapp/cinny-desktop/pull/56
If https://github.com/cinnyapp/cinny/pull/411 gets merged we can use this implementation for navigating to the correct room
#411 is closed beacause of #1633 as we have used react-router for navigation. Closing this one as it depend on #411.