Skip to content
This repository was archived by the owner on Dec 27, 2022. It is now read-only.

DatArchive.selectArchive#501

Merged
pfrazee merged 24 commits intomasterfrom
dat-picker
Jun 4, 2017
Merged

DatArchive.selectArchive#501
pfrazee merged 24 commits intomasterfrom
dat-picker

Conversation

@taravancil
Copy link
Copy Markdown
Contributor

@taravancil taravancil commented Jun 4, 2017

This adds:

  • A new DatArchive method, selectArchive(), which prompts the user to select or create an archive and returns the URL of the selected archive
  • A new modal for selecting an archive
var archive = await DatArchive.selectArchive({
  title: "Pick the archive you'd like to edit",
  buttonLabel: "Edit",
  filters: {writable: true}
})

screen shot 2017-06-04 at 1 11 55 pm

screen shot 2017-06-04 at 1 11 31 pm

@taravancil taravancil requested a review from pfrazee June 4, 2017 18:14
Copy link
Copy Markdown
Member

@pfrazee pfrazee left a comment

Choose a reason for hiding this comment

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

Great work! 👍 👍 👍

@pfrazee pfrazee merged commit 9ebc4d0 into master Jun 4, 2017
@pfrazee pfrazee deleted the dat-picker branch June 4, 2017 21:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants