brmodeloweb / brmodelo-app

BRMW is a free open source entity-relationship database modeling tool. We're working to make learning database modeling simple and accessible for everyone.
https://www.brmodeloweb.com
Apache License 2.0
1.08k stars 47 forks source link

Feature: Share model publicly #518

Closed miltonbsn closed 6 months ago

miltonbsn commented 6 months ago

[!WARNING]
This pull request can only be merged after the following merge requests are merged

  • 516

Summary

This pull request introduce to BRMW a feature that enable users to generate a public link to their models. When enabling public share, a unique URL is created. This, any person with the link have view access to that model.

We're introducing a Share button visible at the models list and also at model workspace (Both Conceptual and Logic). When using this entry point, user is exposed to a modal with the option to generate a public link that can bem shared.

This is feature follows the MVP approach, meaning it provide some functionality but theres a lot of room to improvement we may or may not explore depending of users demand.

[!IMPORTANT]
The shared models only allow view access, meaning people with the link cannot modify it. Only the owner of the model can modify it using the regular workspace (Not the public view)

Screenshots

Step 1a Step 1b Step 2
share-at-models-list share-button-at-model-workspace share-modal
Share button at models list Share button at model workspace Share modal

Related issues