Skip to content

Front end work for sharing modal #9

@jasonsbrooks

Description

@jasonsbrooks

The front end for the modal to share documents needs to be constructed. My recommendation would be to base it off of Google docs. Something with views like these:

screen shot 2015-01-09 at 10 04 42 am
screen shot 2015-01-09 at 10 04 51 am

although they do not need to be nearly as complicated.

If you open up the code for the editor, you'll see I already added a modal (it's responsive, you can see this if you resize the page). We need to implement the view inside the modal though. The view should contain:

  • a box to get a sharable link (I already added an input field with this link, but it needs to be styled
  • an option to switch between private and public document (I'd recommend a dropdown)
  • an input to invite multiple new people by email (ala google docs). You should incorporate the Select2 library for this (I already included the static assets for these). You will want to use the "Automatic tokenization" feature of the library, which you can find at this (https://select2.github.io/examples.html) link. This will allow you to type an email, press space, and have it convert into a token for submission into the backend

I've either took care or am taking care of most of the functionality in the backend for this, so right now the goal is just to make it look pretty.

Let me know if you have any questions.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions