Skip to content

Commit

Permalink
Merge pull request #6 from conjurer-rich/main
Browse files Browse the repository at this point in the history
Add Miro version of shape templates - now with separate .json files and instructions for Miro .rtb backups
  • Loading branch information
matthewskelton authored Mar 8, 2021
2 parents 70aeaf4 + fc403f5 commit 423d66e
Show file tree
Hide file tree
Showing 9 changed files with 64 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Ignore packages
*.deb
*.tar.gz
*.zip
*.rpm
*.pkg
*.nupkg
*.AppImage
*.rtb
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,7 @@ Download the template from the [Team Topologies Template for modelling - PowerPo

## Miro

TBC
- Download the latest release of the [Team Topologies Template for modelling - Miro](https://github.com/TeamTopologies/Team-Shape-Templates/releases) package
- Open Miro and click on _Upload from backup_
- This will create a new board called _Restored Team Topologies template for modelling - Miro_
- Then simply rename the board and start using it by copy and pasting the different shapes as required
Binary file added miro/Exporting a miro backup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added miro/Restoring a miro backup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions miro/board.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name":"Team Toplogies template for modeling - Miro","description":"Shapes to represent the team types and team interaction modes in Team Topologies.","isPublic":false,"iconResourceId":0,"id":-6642106222112321000}
1 change: 1 addition & 0 deletions miro/canvas.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"id":0,"widgets":{"order":[3074457355345406050,3074457355345406051,3074457355345406052,3074457355345406053,3074457355345406054,3074457355345406055,3074457355345406056,3074457355345406057,3074457355345406058,3074457355345406060,3074457355345406061,3074457355345406062,3074457355345406063,3074457355346228490],"objects":{"curves":[],"documents":[],"images":[],"lines":[],"mockups":[],"shapes":[{"x":-162.0522995018016,"y":-158.01721663947757,"rotation":0.0,"width":498.9268053911874,"height":56.10785298913882,"style":{"st":7,"ffn":10,"fs":14,"b":0,"i":0,"u":0,"s":0,"bc":16641472,"bo":1,"brc":16439672,"bro":1,"brw":3,"brs":2,"tc":1710618,"ta":"c","tav":"m","tsc":1,"bsc":0,"VER":2},"text":"\u003cp\u003eStream-aligned team\u003c/p\u003e","type":"7","id":3074457355345406051},{"x":-162.0522995018016,"y":-40.98778416266401,"rotation":0.0,"width":85.75366929145308,"height":144.5376751130355,"style":{"st":7,"ffn":10,"fs":14,"b":0,"i":0,"u":0,"s":0,"bc":14599122,"bo":1,"brc":12091294,"bro":1,"brw":3,"brs":2,"tc":1710618,"ta":"c","tav":"m","tsc":1,"bsc":0,"VER":2},"text":"\u003cp\u003eEnabling team\u003c/p\u003e","type":"7","id":3074457355345406053},{"x":-162.05229950180183,"y":242.04879557546286,"rotation":0.0,"width":523.4039829969058,"height":79.55222718464722,"style":{"st":3,"ffn":10,"fs":14,"b":0,"i":0,"u":0,"s":0,"bc":12571379,"bo":1,"brc":7774181,"bro":1,"brw":3,"brs":2,"tc":1710618,"ta":"c","tav":"m","tsc":1,"bsc":0,"VER":2},"text":"\u003cp\u003ePlatform team\u003c/p\u003e","type":"3","id":3074457355345406054},{"x":-162.0522995018016,"y":110.72994769563952,"rotation":0.0,"width":167.0974757423325,"height":122.00767804765565,"style":{"st":18,"ffn":10,"fs":14,"b":0,"i":0,"u":0,"s":0,"bc":16760971,"bo":1,"brc":15239188,"bro":1,"brw":3,"brs":2,"tc":1710618,"ta":"c","tav":"m","tsc":1,"bsc":0,"VER":2},"text":"\u003cp\u003eComplicated Subsystem team\u003c/p\u003e","type":"18","id":3074457355345406056},{"x":307.4082123329541,"y":13.534477274958995,"rotation":0.0,"width":110.32190150320957,"height":113.06433517986395,"style":{"st":5,"ffn":10,"fs":15,"b":0,"i":0,"u":0,"s":0,"bc":11842740,"bo":1,"brc":11842740,"bro":1,"brw":3,"brs":2,"tc":1710618,"ta":"c","tav":"m","tsc":1,"bsc":0,"VER":2},"text":"\u003cp\u003eXaaS\u003c/p\u003e","type":"5","id":3074457355345406057},{"x":307.4082123329541,"y":-108.23671689164055,"rotation":0.0,"width":200.6807922582193,"height":78.80135821657825,"style":{"st":10,"ffn":10,"fs":15,"b":0,"i":0,"u":0,"s":0,"bc":14736622,"bo":0.8,"brc":14736622,"bro":0.5,"brw":3,"brs":2,"tc":1710618,"ta":"c","tav":"m","tsc":1,"bsc":0,"VER":2},"text":"\u003cp\u003eCollaboration\u003c/p\u003e","type":"10","id":3074457355345406058},{"x":311.41561345984087,"y":354.01226249931085,"rotation":0.0,"width":261.71363819035093,"height":100.53988907262877,"style":{"st":12,"ffn":10,"fs":12,"b":0,"i":0,"u":0,"s":0,"bc":16777215,"bo":1,"brc":5855577,"bro":1,"brw":3,"brs":1,"tc":1710618,"ta":"c","tav":"m","tsc":1,"bsc":0,"VER":2},"type":"12","id":3074457355345406061},{"x":-40.59381214297309,"y":354.45612052777466,"rotation":0.0,"width":803.3572408240865,"height":63.938527804492885,"style":{"st":3,"ffn":10,"fs":15,"b":0,"i":0,"u":0,"s":0,"bc":16777215,"bo":1,"brc":5855577,"bro":1,"brw":3,"brs":1,"tc":1710618,"ta":"c","tav":"m","tsc":1,"bsc":0,"VER":2},"text":"\u003cp\u003eFlow of change\u003c/p\u003e","type":"3","id":3074457355345406062},{"x":361.0848082690702,"y":354.8167783663472,"rotation":0.0,"width":11.962698074067546,"height":58.88076798133778,"style":{"st":3,"ffn":10,"fs":8,"b":0,"i":0,"u":0,"s":0,"bc":16777215,"bo":1,"brc":16777215,"bro":1,"brw":3,"brs":2,"tc":1710618,"ta":"c","tav":"m","tsc":1,"bsc":0,"VER":2},"type":"3","id":3074457355345406063},{"x":304.91561345984087,"y":193.84455216824844,"rotation":0.0,"width":143.22153089756222,"height":143.22153089756222,"style":{"st":4,"ffn":10,"fs":14,"b":0,"i":0,"u":0,"s":0,"bc":14938078,"bo":1,"brc":14938078,"bro":1,"brw":2,"brs":2,"tc":1710618,"ta":"c","tav":"m","tsc":1,"bsc":0,"VER":2},"text":"\u003cp\u003eFacilitating\u003c/p\u003e","type":"4","id":3074457355346228490}],"stickers":[],"texts":[{"x":123.58815046866619,"y":-339.2824526648085,"rotation":0.0,"scale":0.9827543857037371,"width":564.9399999999999,"height":116.0,"style":{"st":14,"bc":-1,"bo":1,"brc":-1,"bro":1,"brw":2,"brs":2,"bsc":0,"ta":"l","tc":1710618,"tsc":1,"ffn":10,"b":0,"i":0,"u":0,"s":0,"fw":1},"text":"\u003cp\u003eThese shapes can be used as copy/paste templates for modeling organization design and team interactions based on the ideas in Team Topologies. See\u003ca href\u003d\"https://teamtopologies.com/\"\u003e teamtopologies.com\u003c/a\u003e for more details. We have tried to make the shapes match as closely as possible to those in the book, but some shapes are slightly different.\u003c/p\u003e\u003cp\u003e\u003cbr /\u003e\u003c/p\u003e","id":3074457355345406050},{"x":-158.37490278502787,"y":-238.13512800108697,"rotation":0.0,"scale":1.4423980772413072,"width":167.32,"height":36.0,"style":{"st":14,"bc":-1,"bo":1,"brc":-1,"bro":1,"brw":2,"brs":2,"bsc":0,"ta":"l","tc":1710618,"tsc":1,"ffn":10,"b":1,"i":0,"u":1,"s":0,"fw":0},"text":"\u003cp\u003e\u003cstrong\u003e\u003cu\u003eFundamental Team types\u003c/u\u003e\u003c/strong\u003e\u003c/p\u003e","id":3074457355345406052},{"x":307.4082123329541,"y":-238.13512800108697,"rotation":0.0,"scale":1.4423980772413072,"width":160.73999999999995,"height":36.0,"style":{"st":14,"bc":-1,"bo":1,"brc":-1,"bro":1,"brw":2,"brs":2,"bsc":0,"ta":"l","tc":1710618,"tsc":1,"ffn":10,"b":1,"i":0,"u":1,"s":0,"fw":0},"text":"\u003cp\u003e\u003cstrong\u003e\u003cu\u003eTeam Interaction Modes\u003c/u\u003e\u003c/strong\u003e\u003c/p\u003e","id":3074457355345406055},{"x":-280.03220146057856,"y":-350.2811990063488,"rotation":0.0,"scale":1.2857142857142858,"width":169.09569030992353,"height":56.0,"style":{"st":14,"bc":-1,"bo":1,"brc":-1,"bro":1,"brw":2,"brs":2,"bsc":0,"ta":"l","tc":1710618,"tsc":1,"ffn":10,"b":0,"i":0,"u":0,"s":0,"fw":1},"text":"\u003cp\u003e\u003cstrong\u003eTeam Topologies\u003c/strong\u003e\u003c/p\u003e\u003cp\u003eteam shape templates\u003c/p\u003e","id":3074457355345406060}],"videos":[],"webScreenshots":[],"linkPreviews":[],"embeds":[],"jiraCards":[],"rallyWidgets":[],"customWidgets":[]}},"comments":[],"links":[],"groups":[{"isTemporal":false,"isLocked":false,"items":[3074457355345406061,3074457355345406062,3074457355345406063],"lockStatus":"NONE","id":3074457355345406064}],"camera":{"a":{"x":1019.1193070296977,"y":6.189356849076205},"b":{"x":1019.1193070296977,"y":6.189356849076205}},"presentationVisible":true,"presentation":[],"labels":[],"emojis":{},"widgetsAliases":[]}
1 change: 1 addition & 0 deletions miro/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":"1.3"}
47 changes: 47 additions & 0 deletions miro/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
## Making changes to the Miro templates

If you need to make changes to the Miro template you will need to create an .rtb backup file containing the json files. An .rtb backup file is simply a standard zip file but with an .rtb extension. Using your preferred zip tool, package the json files into a zip named something like TeamTopologies.rtb.

### PowerShell to create a Micro backup

Using Powershell Core it is now possible to run on Windows, Linux and Mac: https://github.com/PowerShell/PowerShell

```powershell
$compress = @{
Path = "*.json"
CompressionLevel = "Fastest"
DestinationPath = "Team Topologies template for modelling - Miro.zip"
}
Compress-Archive @compress
# Need to rename the zip extension to rtb in order to upload to Miro
Rename-Item -Path 'Team Topologies template for modelling - Miro.zip' -NewName 'Team Topologies template for modelling - Miro.rtb'
```

Once you have created the .rtb package upload it into Miro and make any required changes. This is done using the _Upload from backup_ option:

![Screenshot of Restoring a Miro backup](Restoring%20a%20miro%20backup.png)

## Updating the files in the repository

After you have made any necessary changes to the shapes in Miro, choose _Download board backup_ from the export menu and place the file in this folder:

![Screenshot of Exporting a Miro backup](Exporting%20a%20miro%20backup.png)

Then, using your preferred zip tool extract the archive into this folder and commit any changes.

### PowerShell to extract contents of a Miro backup

```powershell
# Need to rename the rtb extension to zip because the cmdlet only recognises zip format
Rename-Item -Path 'Team Topologies template for modelling - Miro.rtb' -NewName 'Team Topologies template for modelling - Miro.zip'
Expand-Archive -Path 'Team Topologies template for modelling - Miro.zip' -DestinationPath . -Force
```

Commit and push your changes with Git.

```
git add .
git commit -m "Comment about changes made"
git push
```

1 change: 1 addition & 0 deletions miro/resources.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"resources":[]}

0 comments on commit 423d66e

Please sign in to comment.