Plugin url navigation iside hyper using SESSION_URL_SET action
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 44.7k
- Forks
- 3.6k
- Avg merge
- 21m
- Merged PRs (30d)
- 1
Description
-
I am on the latest Hyper.app version
-
I have searched the issues of this repo and believe that this is not a duplicate
-
OS version and name: macOS High Sierra, 10.13.5 (17.6.0 Darwin Kernel Version 17.6.0)
-
Hyper.app version: 2.1.0-canary.2
-
Link of a Gist with the contents of your .hyper.js:https://gist.github.com/Pavel-Durov/0cad998fe804aaa5b161cb1feaac3243
Issue
I'm trying to implement a simple plugin, so I followed the PLUGINS.md instruction and I got stuck with the following problem:
It seems to be that current version of hyper ignores 'SESSION_ADD_DATA' actions types.
This is my very basic plugin: suppose to open a wiki page in hyper.
exports.middleware = (store) => (next) => (action) => {
if ('SESSION_ADD_DATA' === action.type && /wiki/.test(action.data)) {
store.dispatch({
type: 'SESSION_URL_SET',
uid: store.getState().sessions.activeUid,
url: "https://en.wikipedia.org/wiki/Wiki"
});
console.log('navigating to wiki, activeUid', activeUid);
} else {
next(action);
}
};
Other actions actually work, example:
store.dispatch({
type: 'NOTIFICATION_MESSAGE',
text: "Hello There!",
url: "https://en.wikipedia.org/wiki/Wiki",
dismissable: tru
});
I couldn't find anything regarding "SESSION_URL_SET" action.
- Is it intentional, or is it an issue?
- Is there any other way to accomplish url navigation:?
Recordong

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read PLUGINS.md first, then trace how the SESSION_ADD_DATA and SESSION_URL_SET actions are handled in the plugin middleware. Reproduce the plugin behavior on the reported Hyper.app version and determine whether URL navigation is supported; document the supported action or alternative once the behavior is confirmed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100