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

Make import from hash an activity #165

Merged
merged 5 commits into from
Aug 5, 2018

Conversation

kernelwhisperer
Copy link
Contributor

What changed?

Import from hash now closes and shows the progress in the activities window instead.

app/api.js Outdated
app.emit('new-activity', {
uuid,
hash,
type: 'import-from-hash',
Copy link
Member

Choose a reason for hiding this comment

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

Do we want to make the Type as a Variable?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Something like this?

const activityTypes = {
  ADD: 'add',
  IMPORT_FROM_HASH: 'import-from-hash'
}

Copy link
Member

Choose a reason for hiding this comment

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

yes that looks good to me :) So we can test this easier later on

@koalalorenzo koalalorenzo merged commit 25933f7 into master Aug 5, 2018
@koalalorenzo koalalorenzo deleted the feature/make-import-from-hash-an-activity branch August 5, 2018 17:29
@koalalorenzo koalalorenzo mentioned this pull request Aug 8, 2018
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