npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

trello-bug-reporter

v1.0.10

Published

https://www.loom.com/share/b8689a7f9f9841778caa91542c9ae903?sid=4aac93bf-f728-4e4d-ba10-c5aa44982c8c

Downloads

55

Readme

Trello Bug Reporter

https://www.loom.com/share/b8689a7f9f9841778caa91542c9ae903?sid=4aac93bf-f728-4e4d-ba10-c5aa44982c8c

A simple bug reporter for Trello which allows you to automatically create bug report cards in Trello.

The bug reporter will automatically attach a screenshot to the card and assign a priority to the card.

Table of Contents

Features

  • [x] Automatically generate a bug report card in Trello
  • [x] Automatically attach a screenshot to the bug report card
  • [x] Assign a priority to the bug report card
  • [] Automatically attach a log file to the bug report card
  • [] Automatically attach a video to the bug report card

Requirements

You will need to generate a Trello API key and secret. You can do so using Trello's New Power-Up or Integration form.

Your API credentials will be specific to your chosen workspace.

Once you have generated your key and secret pair. You will need to manually generate a token which can be done by clicking on the Token link as shown below.

Use the generated token and key to initialise the bug reporter.

Specify a Trello board and list

You will need to specify a board and list to which the bug reports will be sent. You can do so by creating a new board and list in Trello (or by using an existing board).

Board ID

You can then retrieve the board ID by appending .json to the end of the board URL. The board ID will be the value of the id property in the JSON response - this will be the first ID value at the very top-right of an unformatted JSON response.

URL example: https://trello.com/b/123456789/my-board-name.json where https://trello.com/b/123456789/my-board-name would be the typical URL to reach the board.

List ID

You can retrieve the list ID clicking on a card in the list and exporting the card as JSON, steps below:

  1. Open the card
  2. Click Share at the bottom
  3. Click Export JSON
  4. Search that file for "idList"

There may be multiple instances of "idList" in the JSON file - you are looking for the first instance.

Installation

npm i trello-bug-reporter

Usage

Once you have installed the package and you have your API key, token and Trello IDs, you can use the following code to create a bug reporter instance:

import BugTool from "trello-bug-reporter";

BugTool.init({
  token: "",
  key: "",
  boardId: "",
  listId: "",
});

Priority dropdown

The bug reporter will fetch and render a dropdown of Trello labels which are used to prioritise the bug ticket.