Giter Site home page Giter Site logo

anonymous-hunter007 / devbar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from boxed/devbar

0.0 0.0 0.0 7.29 MB

Take control over your workflow by putting it in your macOS menu bar

Home Page: https://apps.apple.com/se/app/devbar/id1462747827?l=en&mt=12

License: BSD 3-Clause "New" or "Revised" License

Swift 100.00%

devbar's Introduction

DevBar

DevBar is a workflow tool for developers. It watches a URL and displays a menu bar so you can easily see actions you can take, like pull requests that needs a review, PRs that have failing tests, etc.

Installation

Install it from the AppStore: https://apps.apple.com/se/app/devbar/id1462747827?l=en&mt=12

Usage

Start DevBar. It will ask you for a URL to watch, and it will append your username to that url (so if you give it https://example.com/foo it will access https://example.com/foo/your-username). The endpoint should reply with a JSON document that looks something like this:

{
    "data": {
        "needs_work": [
            {
                "title": "Trying to fix the gadget widget",
                "url": "https://github.com/example/prs/1",
            }
        ],
        "other_problems": [],
        "waiting_for_review": [
            {
                "title": "Stop the crashing",
                "url": "https://github.com/example/prs/2",
            },
            {
                "title": "Cool new feature",
                "url": "github.com/example/prs/3",
            }
        ],
        "devtest": [],
        "ready_to_merge": [],
        "workflow_problem": [],
        "wip": []
    },
    "metadata": {
        "display": {
            "prod_crash": {
                "priority": 0,
                "symbol": "๐Ÿ’ฅ",
                "title": "๐Ÿ’ฅ Prod crash"
            },
            "other_problems": {
                "priority": 10,
                "symbol": "๐Ÿ˜Ÿ",
                "title": "๐Ÿ˜Ÿ Other problems"
            },
            "waiting_for_review": {
                "priority": 10,
                "symbol": "๐Ÿ•",
                "title": "๐Ÿ• Waiting for review"
            },
            "devtest": {
                "priority": 10,
                "symbol": "๐Ÿงช",
                "title": "๐Ÿงช Can be tested by developers"
            },
            "ready_to_merge": {
                "priority": 10,
                "symbol": "๐ŸŽ‰",
                "title": "๐ŸŽ‰ Ready to merge"
            },
            "workflow_problem": {
                "priority": 10,
                "symbol": "๐Ÿคจ",
                "title": "๐Ÿคจ Workflow problem: should be 4EYE or ready for test"
            },
            "wip": {
                "priority": 11,
                "symbol": "๐Ÿšง",
                "title": "๐Ÿšง Work in progress"
            }
        }
    }
}

metadata.display is a dict of the different workflow types you've got. The symbol is used in the menu bar as a compact representation and the title is the full title displayed in the drop down menu.

You can give it a spin by pointing it to the example.json file: https://raw.githubusercontent.com/boxed/DevBar/master/example.json?

Your server can also respond with 503 to signal it's not ready yet. This is handy for when you have a cache that needs to be warmed up after the server side is restarted. Just return 503 until you're done and DevBar won't show the server as down but will just keep showing the data it had last time.

devbar's People

Contributors

boxed avatar

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.