Make it possible to open .md files with ation from system #2

Merged
miko merged 5 commits from feature/open-with into development 3 years ago
miko commented 3 years ago
Owner

We would like to have a more refined experience in this matter, so the app feels a lot more native. The enhancements include:

  • being able to select ation in the os' "open with" context menu and open files that way
  • being able to drag and drop a file into ation's main window
  • being able to open .md files with ation from the command line

Tasks

  • make the opening of files asynchronous between renderer and backend process, so either one can open files
  • register ation as a handler for markdown files
  • implement a onDrop handler in the main window
  • parse command line arguments for console access; make a /usr/local/bin binding for ation and something similar for windows (maybe later)
  • add "File -> open" menu item to main menu
We would like to have a more refined experience in this matter, so the app feels a lot more native. The enhancements include: * being able to select *ation* in the os' *"open with"* context menu and open files that way * being able to drag and drop a file into *ation*'s main window * being able to open `.md` files with ation from the command line ### Tasks - [x] make the opening of files asynchronous between renderer and backend process, so either one can open files - [x] register ation as a handler for markdown files - [x] implement a `onDrop` handler in the main window - [ ] ~~parse command line arguments for console access; make a `/usr/local/bin` binding for *ation* and something similar for windows *(maybe later)*~~ - [x] add *"File -> open"* menu item to main menu
miko added this to the Release of version 1.0.0 milestone 3 years ago
miko added the
enhancement
label 3 years ago
miko self-assigned this 3 years ago
miko added 2 commits 3 years ago
miko added 1 commit 3 years ago
miko added 2 commits 3 years ago
Poster
Owner

parse command line arguments for console access; make a /usr/local/bin binding for ation and something similar for windows (maybe later)

this does not to seem possible without making an installer. for now, the user should make an alias himself.

> parse command line arguments for console access; make a /usr/local/bin binding for ation and something similar for windows (maybe later) this does not to seem possible without making an installer. for now, the user should make an alias himself.
miko added spent time 3 years ago
2 hours
miko changed title from WIP: Make it possible to open .md files with ation from system to Make it possible to open .md files with ation from system 3 years ago
miko merged commit 61cc5524b7 into development 3 years ago
miko deleted branch feature/open-with 3 years ago
The pull request has been merged as 61cc5524b7.
Sign in to join this conversation.
No reviewers
No project
No Assignees
1 Participants
Notifications
Total Time Spent: 2 hours
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: massivedynamic/ation#2
Loading…
There is no content yet.