Skip to content
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.
/ Orion Public archive

Add the context menu after the welcome window #179

Merged
merged 5 commits into from
Aug 21, 2018

Conversation

kernelwhisperer
Copy link
Contributor

What changed?

Insert here the changes.

Copy link
Member

@koalalorenzo koalalorenzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we remove the element from the settings to turn on and off this feature?

app/index.js Outdated
* This adds the option "Add to IPFS via Orion" to the context menu of the OS, for files
* and directories. Currently only on windows.
*/
function enableContextMenu () {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we move this function into app/lib?

@kernelwhisperer
Copy link
Contributor Author

But then there would be absolutely no way to remove it, do we want that?

@koalalorenzo
Copy link
Member

koalalorenzo commented Aug 21, 2018

We will add a new task to add a way to remove it. I feel we need to make a new section in the Settings :D

app/index.js Outdated
@@ -111,6 +113,7 @@ function startWelcome () {
app.mainWindow = welcomeWindow
welcomeWindow.on('closed', () => {
if (Settings.get('welcomeVersion') === 1) {
enableContextMenu()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a small comment here? What is this doing here? :)

@@ -5,7 +5,7 @@ import { trackEvent } from '../../../stats'

import { Pane, Button, CheckBox } from 'react-photonkit'
import Input from '../../../components/Input'
import * as WinShell from '../../../util/win-shell'
import * as WinShell from '../../../lib/os-context-menu/win-shell'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<3 <3 <3

@kernelwhisperer kernelwhisperer merged commit e6e053f into master Aug 21, 2018
@kernelwhisperer kernelwhisperer deleted the feature/add-context-menu-automatically branch August 21, 2018 07:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants