Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Share model publicly #518

Merged
merged 48 commits into from
Apr 23, 2024
Merged

Feature: Share model publicly #518

merged 48 commits into from
Apr 23, 2024

Conversation

miltonbsn
Copy link
Member

@miltonbsn miltonbsn commented Apr 21, 2024

Warning

This pull request can only be merged after the following merge requests are merged

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

idmarjr and others added 25 commits December 12, 2021 12:37
- aria-hidden hide element from screen readers
- aria-hidden should be used only if the icons have no semantic value.
- Since those icons have a meaning and are important actions to all users, we should no use aria-hidden here
- Add Share model modal
- Add translations
- Remove "Back arrow" navigation
- Use white background at main .navbar
- Add "Create account button"
- Remove <status-bar>
- Increase .model-area size to cover the entire screen with;
- Adjust loading position
- Adjust toolbar position
This fix the issue on all model views: Conceptual, Logic and PublicView

- Limit width of model name
- Add ellipsis to the end opf the line in case of long names
- Add title attricute to enable user to see the full name on :hover if needed
In some cases were the model name was too long, it was causing the list
layout to break. This commit fiox this issue

- Add projectsList.scss
- Limit model name width and add ellipsis in case of larger text
- Display model full name on :hover with title
@idmarjr idmarjr changed the title Feature/export model Feature: Share model publicly Apr 21, 2024
This was referenced Apr 21, 2024
@miltonbsn miltonbsn marked this pull request as ready for review April 22, 2024 21:07
miltonbsn and others added 12 commits April 23, 2024 10:41
- Remove styles from modelWorkspace.scss
- Move styles to it's own scss inside the component
- Import it at publicView.js
- Fix small layout issue related to navbar size on public view
After introduce the icon to represent the model type at the
model workspace header, s small aligment bug was introduced to
modelSidebar.

This commit tweak the magic numbers to fix this issue
Copy link
Sponsor Collaborator

@idmarjr idmarjr left a comment

Choose a reason for hiding this comment

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

🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Public share link for models
2 participants