Skip to content

How to share a local board #7

@aivuk

Description

@aivuk

Right now we have:

https://squarelet.org/#/b/NAME

as the address for the local boards.

How about adding the feature to publish a board public and then it's going to be accessible at:

https://squarelet.org/#/p/PqYNIsDrQVS-JaUVYYB1ig

where PqYNIsDrQVS-JaUVYYB1ig is generated automatically.

We can allow the board to be published in two ways:

  1. Read only

In the read only case a user acessing the public board will be able to click "save" and this is going to ask for a name. After the user gives the name (e.g. amazing-board) the board is going to be locally accessible at:

https://squarelet.org/#/b/amazing-board

  1. Read and write to everyone with public link

Here the user acessing the public board has the option of saving locally as in case 1, or save remotely, what is going to replace the board remote. We need to think how to solve the syncronization between the local board with the remote one.

Imagine that user Alice create a local board called science-board, https://squarelet.org/#/b/science-board", shared it and this is going to create an address https://squarelet.org/#/p/PqYNIsDrQVS-JaUVYYB1ig. User Bob goes to https://squarelet.org/#/p/PqYNIsDrQVS-JaUVYYB1ig, does some changes and click in save. This is going to change the content on https://squarelet.org/#/p/PqYNIsDrQVS-JaUVYYB1ig for everyone, including Alice. What to display to Alice when she access her local board https://squarelet.org/#/b/science-board?

Maybe a dialog to Alice as:

 There are remote changes on the shared version of this board. Do you want to see them? 
 
<button>View changes</button> 
 
 Do you want to apply the changes in your local board? 
 
<button>Update local board</button>

Metadata

Metadata

Assignees

No one assigned

    Labels

    architectureIssues with questions about the squarelet architecture

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions