====== Chart Sharing ======
The chart sharing feature will allow a user to share a chart layout to other users by creating a link that can be shared via email, txt, Discord, etc. A new button will be added to the chart window that when clicked, will publish the chart layout to the cloud. The publisher will be provided a text-based link. T4 users who obtain the link can use it to open a chart layout that follows the published chart. Updates to the published chart will be reflected to the viewers in real-time or near real-time.
{{:desktop:chart_share_copy.png|}}
- Click Share
- This will open the share chart popup window
- Click the copy button and it will copy the link to your clipboard.
- Click ok to finish.
- Clicking the On button will turn the sharing off.
**Once this step is finished you can send the link to your user, via text, email, Discord etc...**
Here is an example of the link text.
{{:desktop:chart_share_example_link.png|}}
Only one instance of the shared chart can be displayed. Say the sharer closes his shared chart, but still has the link. He can open the link and begin sharing and editing again, on that same link. If he minimized the window, then tried to open the shared link, the frontend will just bring that window to the forefront.
====== Following ======
For now, to open a following chart window, go to main bar, click chart, then toggle to "open shared"
{{:desktop:chart_share_follow1.png|}}
{{:desktop:chart_share_paste_link.png|}}
- Click on open shared.
- Click the paste the button.
- Click open and you will now see the chart that was shared with you.
{{:desktop:chart_share_follow_example.png|}}
See above the chart on the left circled in red is the one sharing and any changes the user makes on this chart will show up on the chart on the right circled in yellow.
* The following chart checks for updates in the share chart settings every 10s
* The month strip at the top is not disabled, so a following chart user can switch between expirations, but if the sharer updates his chart, it should switch it back on the follower.
* All of the other buttons on the follower are disabled and a following icon is available in the month strip.
====== Unfollow ======
{{:desktop:chart_share_unfollow.png|}}
- To unfollow click following, you can easily copy the link or unfollow so this chart stops getting updates
- if the user unfollows, he'll need to open the share link to open a new following chart.