Skip to content

Instantly share code, notes, and snippets.

10 Ways to improve Github Issues

I love the new GitHub issues, here are some ideas to make it perfect, ordered by priority:

1. I should be able to pick the assignee and milestone via keyboard when creating a new ticket

2. Keyboard shortcuts should work everywhere. For example when viewing an existing issue, 'c' will not create a new one.

3. After creating an issue, the assigned user / milestone should be pre-filled when creating the next issue.

4. When commenting, I should also be able to assign a different user. Right now this deletes my half-typed comment.

5. When typing the @ symbol to mention somebody, it should auto-complete the name.

6. This might just be me, but things feel a little sluggish right now, any improvements would be very welcome.

(defn deterpolate [s]
(loop [tokens (interpolate s)
out-str (StringBuffer.)
out-args []]
(if (seq tokens)
(let [token (first tokens)]
(cond (string? token)
(recur (rest tokens)
(doto out-str (.append token))
out-args)
@martinklepsch
martinklepsch / cljs-js-analysis-cache-usage.md
Last active August 29, 2015 14:26 — forked from mhuebert/cljs-js-analysis-cache-usage.md
Using existing namespaces from cljs.js

Let's say you want to use the new cljs.js bootstrapped compiler to eval code in your project. Using cljs.js/eval looks like this:

(ns foo.try-eval
  (:require [cljs.js :as cljs]))

(let [c-state (cljs/empty-state)]
  (cljs/eval c-state                       ;compiler state
             `(+ 1 1)`                     ;form to eval
 {:eval cljs/js-eval ;options