ls1intum / Apollon_standalone

Standalone version of Apollon Editor
MIT License
11 stars 2 forks source link

`Development`: Improve sharing diagrams feature #38

Closed minrows closed 2 years ago

minrows commented 2 years ago

Motivation and Context

This PR enhances the currently existing sharing diagram feature of Apollon Standalone. Following are the minor changes that this PR introduces:

  1. Users are now redirected directly to the collaboration URL, once they share the diagram in collaboration mode
  2. Number of toasters to notify users after sharing the diagram is reduced to one.
  3. Description is now added in Collaboration Name Sharing modal
  4. Small spacing is added between the collaborators list and theme switcher icon
  5. If the user is new, he will now be prompted with Collaboration Name Modal with a random name being assigned to him

Steps for Testing

To test in test server:

  1. Goto https://test1.apollon.ase.in.tum.de
  2. Insert some diagrams in the canvas, and click on the Share button from Menu.
  3. Observe that you are automatically redirected to sharing mode URL and sharing link is copied to your clipboard

Screenshot:

Redirection to Collaboration URL

screen-capture (10)

Newly added Description in Collaboration Name Modal

image

Updated single Toaster

image

Spacing between Collaborators list and theme switcher icon

image

Todo:

minrows commented 2 years ago

I have now implemented a new feature of assigning a random name for new collaborators so that it's optional to enter a name.

screen-capture (14)