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

[doc] Add Shape for forking view of table representation #4174

Merged
merged 1 commit into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ This is now fixed.
- Add custom bending points to edges
- Add support for draggable labels
- Improve form property section layout
- Update table description from representation


=== Architectural decision records
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
= (M) Shape

== Problem

On a table representation, we want to be able to modify the specification used as description of a table and then reload the table with this new specification.

== Key Result

Enable user to modify the description used by a table representation and update existing representation with the new description.
From a table representation, an user will be able to click a setting button to be redirected to a new studio that contain the description of the current table.
After updating this new studio, the user can go back to his previous representation and find it updated with the new description.
Other users viewing the table will be redirected to the updated representation.

=== Scenario

==== An user wants to modify the description used by the table he's viewing

* The user open a table representation
* The user click on the setting button
* He is redirected to a new studio containing a fork of the table description used to create the representation he had open
* He does some modifications to the studio
* He open the same table representation
* The table is now taking the new studio as description

==== An user is viewing a table that is forked by another

* As soon as the table is forked by another user, the current user is redirected to the new instance
* The current limitation then apply meaning that the editing context will need to be disposed before seeing the changes

==== Another user is trying to make a fork

* The representation will always be described by the last fork

=== Breadboarding


=== Cutting backs

* When working with several users on the same representation, everybody will use the newly updated representation.

== Rabbit holes

* This solution will only work with descriptions declared with a view or the builder API.

== No-gos
Loading