Giter Club home page Giter Club logo

massivenerds / retromatic Goto Github PK

View Code? Open in Web Editor NEW
13.0 4.0 9.0 1 MB

RetroMatic's used for real-time retrospectives. See how to leverage Angular and Firebase for syncing data across all the participants. Retrospective's are held at the end of sprints in Agile software development. The team reflects on what happened in the sprint and determines actions for improvement.

Home Page: https://retro.massivenerds.com

License: MIT License

TypeScript 30.10% JavaScript 0.92% CSS 55.78% HTML 13.01% Shell 0.19%
agile retrospective retrospectives scrum scrum-agile firebase angular continuous-improvement agile-manifesto material-design

retromatic's Introduction

Massive Nerds

RetroMatic, a real-time retrospective tool.

Build Status npm Twitter Ko-fi


RetroMatic is used for real-time retrospectives. See how to leverage Angular and Firebase for syncing data across all the participants. Retrospective's are held at the end of sprints in Agile software development. The team reflects on what happened in the sprint and determines actions for improvement.

Local Development

To clone and run this application locally, you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

Create a free Firebase project. In Firebase console, enable Email/Password, Google, and Anonymous sign-in under the sign-in method tab of the Auth section.

Update firebase config values in firebase.ts. This config file will be ignored from Git. Copy firebase.example.ts and rename it to firebase.ts. These values can be found in Firebase console here: Firebase Console > Overview > Add Firebase to your web app.

firebase: {
    apiKey: '',
    authDomain: '',
    databaseURL: '',
    projectId: '',
    storageBucket: '',
    messagingSenderId: ''
}
npm install

npm start

Firebase Structure

$ are Firebase-generated unique IDs.

├── retroboards
│   └── $retroboardId
│       ├── creator (username)
│       ├── creatorId ($userId)
│       ├── noteCount
│       ├── dateCreated
│       ├── name
│       └── timeZone
├── buckets
│   └── $bucketId
│       ├── retroboardId ($retroboardId)
│       ├── creator (username)
│       ├── creatorId ($userId)
│       └── name
├── notes
│     └── $noteId
│         ├── creator (username)
│         ├── creatorId ($userId)
│         ├── retroboardId ($retroboardId)
│         ├── bucketId ($bucketId)
│         ├── message
│         ├── voteCount
│         └── votes
│             └── $userId
└── users
    └── $userId
        ├── favorites
        │   └── $retroboardId
        ├── md5hash
        └── displayName

Firebase Security Rules

{
  "rules": {
    "retroboards": {
      ".read": "auth != null",
      ".indexOn": ["creatorId"],
      "$retroboardId": {
        ".write": "(auth != null && !data.exists()) || data.child('creatorId').val() === auth.uid",
        ".validate": "newData.hasChildren(['creator', 'creatorId', 'noteCount', 'dateCreated', 'name', 'timeZone'])",
        "creator": {
          ".validate": "newData.isString()"
        },
        "creatorId": {
          ".validate": "auth.uid === newData.val() && root.child('users/' + newData.val()).exists()"
        },
        "noteCount": {
          ".validate": "newData.isNumber()"
        },
        "dateCreated": {
          ".validate": "newData.isString()"
        },
        "name": {
          ".validate": "newData.isString()"
        },
        "timeZone": {
          ".validate": "newData.isString()"
        }
      }
    },
    "notes": {
      ".read": "auth != null",
      ".indexOn": ["bucketId", "retroboardId"],
      "$noteId": {
        ".write": "(auth != null && !data.exists()) || (data.child('creatorId').val() === auth.uid || root.child('retroboards/' + data.child('retroboardId').val()).child('creatorId').val() === auth.uid)",
        ".validate": "newData.hasChildren(['creator', 'creatorId', 'retroboardId', 'bucketId', 'message', 'voteCount'])",
        "creatorId": {
          ".validate": "auth.uid === newData.val()"
        },
        "votes": {
          ".write": "auth != null"
        },
        "voteCount": {
          ".write": "auth != null"
        }
      }
    },
    "buckets": {
      ".read": "auth != null",
      ".indexOn": ["retroboardId"],
      "$bucketId": {
        ".write": "(auth != null && !data.exists()) || data.child('creatorId').val() === auth.uid",
        ".validate": "newData.hasChildren(['creator', 'creatorId', 'retroboardId', 'name'])",
        "creatorId": {
          ".validate": "auth.uid === newData.val()"
        }
      }
    },
    "users": {
      "$userId": {
        ".read": "$userId === auth.uid",
        ".write": "$userId === auth.uid",
        ".validate": "newData.hasChildren(['displayName', 'md5hash'])",
        "displayName": {
          ".validate": "newData.isString()"
        },
        "md5hash": {
          ".validate": "newData.isString()"
        }
      }
    },
    "$other": { ".validate": false }
  }
}

Firebase Authentication

To set up users, from your Firebase dashboard:

  1. Click Authentication
  2. Click Sign-in method
  3. Enable Email/Password, Google, and Anonymous

License

MIT.

retromatic's People

Contributors

franchert avatar hannahlehman avatar wordythebyrd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

retromatic's Issues

Upvote/Downvote bug

Bug steps:

  • open a board session at two different browsers
  • add a new entry
  • upvote entry both of them
  • downvote entry at just one
    vote count disappears from entry, and comes back when you vote again

Confluence export <time> element is now breaking when saving

Here's what's happening:

  • copy report from export section
  • paste into markup on confluence page
  • try to save, get error toast
  • remove element
  • save now works again

probably need to modify the element or remove it entirely and rely on the // to make it pop up manually

Tab order on forms and creation of retro, enhancement request

As a creator of retrospectives I want to save time in my creation and completion of my retrospective. I'd love to be able to only use a keyboard on RetroMatic.

Currently the enter key does nothing in the new retrospective window.
Enhancement: either make the tab order of the Create button before the cancel button or allow the enter button to perform the creation of the new retrospective.

Currently the enter key adds a new line character to the Entry window which is fine, however hitting tab-enter or shift-enter does not work as it highlights the cancel button and then closes the window, on other applications it performs the Add/Save.

Travis CI

Setup Travis CI for auto-deployment.

Favorites on Home page

When I view Home, I only see retro's I have created. I'd like to be able to "favorite" or "like" retromatic pages that I have viewed, even if I didn't start them.

I'm trying to start people in the habit of creating retromatic pages early and dropping notes into them as you go, but that requires someone to create the retro, save the link, and repeatedly post the link so others can find it.

Add thumbs up/thumbs down voting in place of + option

There has been a request from the Tribe to have down voting capability in order to show disagreement with ideas/thoughts. Thumbs up / thumbs down would allow us to see both (how many are in support and how many oppose) without losing the number of votes.

Textarea focus

Give the textarea focus on the add entry modal when it first displays, when you are adding a note to a retroboard.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.