Commit graph

42 commits

Author SHA1 Message Date
Griffin Smith
1cd9f9f006 feat: make headline-from-story prompt for story
Rename the previous org-clubhouse-headline-from-story to
org-clubhouse-headline-from-story-*id*, and make -headline-from-story
use prompt-for-story to allow autocompletion of the title of the story
to pull down.
2019-05-02 11:03:08 -04:00
Griffin Smith
01c684396d feat: Write story labels when pulling stories
Whenever we pull stories from clubhouse, write the labels of those
stories as headline tags
2019-05-02 11:00:25 -04:00
Griffin Smith
cfcc346593 feat: Add org-clubhouse-update-labels
Add a command to update the labels of an existing story from the labels
of an org headline
2019-05-02 10:52:07 -04:00
Griffin Smith
f88deb2a33 feat: Allow creating stories with labels
Allow (configurably) creating stories with Clubhouse labels based on Org
tags, either creating all labels or only using labels that already exist
in Clubhouse

Upcoming should be an `org-clubhouse-update-story-labels` command.
2019-04-23 14:32:25 -04:00
Griffin Smith
f8bab5f8df fix: Correct arguments in update-story-description
Dunno what happened here or when, but update-story-at-point doesn't take
this argument and also the variable doesn't even exist
2019-04-11 11:13:00 -04:00
Griffin Smith
7ce8b48fd5 fix: Put task story-ids in a format we can read
Make task headline story-ids links just like the IDs for the story
headlines are, so that they can later be read by
org-clubhouse-extract-story-id - this fixes task status updating, which
was broken.
2019-03-28 11:27:02 -04:00
Griffin Smith
d29c5c0df6 feat: Pull down task lists when pulling stories
When pulling stories from clubhouse by any method (either
headline-from-story or headlines-from-query) also pull down the list of
tasks on the story as children of the headline.

Fixes #15
2019-03-26 12:26:55 -04:00
Griffin Smith
d1f8a1e41f feat: Implement org-clubhouse-sync-status
Implement a command that pulls down the status from clubhouse for a list
of story headlines, and updates the todo keyword accordingly
2019-03-14 16:21:29 -04:00
Griffin Smith
453e6dc36c feat: Add org-clubhouse-claim
Add a standalone org-clubhouse-claim function for claiming the current
story without making any other updates
2019-03-08 10:42:25 -05:00
Griffin Smith
9b92541239 feat: Allow updating story assignee
Add a configuration parameter,
`org-clubhouse-claim-story-on-status-update`, which allows updating the
assignee of stories on status update, either always or for specific todo
keywords
2019-03-06 13:55:55 -05:00
Griffin Smith
3ee1fcc71c fix: Correct clubhouse API for task status
- Use the right URL for updating tasks
- Use the right key and value for marking task status
2019-03-06 11:58:50 -05:00
Griffin Smith
f657a4c7fa feat: Update task list item statuses
Add a clause to org-clubhouse-update-status to update task headline
statuses in addition to story statuses
2019-02-22 16:29:06 -05:00
Griffin Smith
dfc2335edb fix: Repair push-task-list
Make all the commented-out stuff in push-task-list work properly
2019-02-22 16:13:54 -05:00
Griffin Smith
750b547327 fix: Correct variable reference
oops
2019-02-18 16:33:15 -05:00
Griffin Smith
813710f261 feat: Add original clubhouse story name to props
When linking clubhouse stories to headlines, save the name of the
clubhouse story as a property on the headline - useful for reference!
2019-02-18 16:31:05 -05:00
Griffin Smith
910a6af627 feat: Implement org-clubhouse-link
Implement an interactive function for linking existing org headlines
with existing clubhouse stories.
2019-02-18 16:26:49 -05:00
Griffin Smith
205e4fcde6 feat: Allow pulling stories by story ID
Adds org-clubhouse-headline-from-story, which allows passing a single
story ID to make a headline from.

Fixes #14
2019-02-18 14:58:38 -05:00
Griffin Smith
d338b4d304 feat: Use workflow state for todo-keyword
Base the todo-keyword of a created story on its workflow-state in
clubhouse, rather than just hardcoding it to TODO

Fixes #11
2019-02-18 12:25:01 -05:00
Griffin Smith
5682f4bb57 fix: Actually pass description when creating story
Oops!

Fixes #12
2019-02-18 12:06:28 -05:00
Griffin Smith
4b4c0f1f4a fix: Reference to cl-assert
This is required by default in my emacs, but needs to be required here
for people not running Doom
2019-02-18 11:56:43 -05:00
Griffin Smith
514afa33c0 docs: Add docstring to org-clubhouse-mode
flycheck was complaining, plus this is good anyway
2019-02-15 16:13:12 -05:00
Griffin Smith
3fc1a3445b feat: Populate description when creating stories
If a DESCRIPTION drawer exists on headlines being used to create
stories, it is populated as the description of the created story
2019-02-15 16:12:33 -05:00
Griffin Smith
627799d4dc feat: Add org-clubhouse-update-description
Add a command to update the description of the current story with the
contents of a drawer labeled DESCRIPTION, if one exists
2019-02-01 11:58:26 -05:00
Griffin Smith
baeff81f89 docs: Bolster docs on setup, usage and config
Add docs for all config variables and interactive commands, and list
commands in the README
2019-02-01 11:39:14 -05:00
Griffin Smith
0967cbcea6 fix: flow control in story creation
The various prompt-function callbacks get called on another thread,
meaning we can't wait for them to return to set the value. This moves
the flow control for story creation so it actually happens if you don't
have a default story type set
2019-02-01 11:25:39 -05:00
Griffin Smith
a72382a77c feat: Add description to created headlines
This is nice to have, but also stick it in a drawer so it's not obtrusive
2019-02-01 11:22:31 -05:00
Jean-Martin Archer
8ed9c37a7a docs: Add spacemacs setup instructions
Add instructions for installation via Spacemacs
2018-11-14 17:38:59 -05:00
Griffin Smith
1b0b98ec7d feat: Create org-mode headlines from query
Merges in a function which has existed in my local setup for a while now
to run a query to Clubhouse and create all the results as org headlines
at a specified level
2018-09-26 11:41:33 -04:00
Griffin Smith
1ae8ab35b3 feat: Allow creating tickets with a task list
Allow creating stories along with a task list comprised of their child
elements
2018-08-13 12:20:07 -04:00
Alex Dao
1d7734ce32 feat: support updating the story title
Defines an 'org-clubhouse-update-story-title' interactive function. Can
only be invoked if cursor is over the Headline title

fixes string-to-int -> string-to-number (unsupported as of Emacs 26)
2018-06-14 18:09:21 -04:00
Alex Dao
c4096e5dbb feat: support setting a default story type
Expose a `org-clubhouse-default-story-type` variable that can be set to
`feature`, `bug`, `chore` or `prompt`. If set to `prompt`, the
org-clubhouse `Create new story` flow will prompt for the story type
each time. If set to any of the other values, the `Create new story`
flow will use that value for all new stories until that variable is set
otherwise.

This also exposes a new interactive function called
`org-clubhouse-set-default-story-type` that prompts users to set the
default story type value.
2018-06-14 17:59:15 -04:00
Alex Dao
bb97402cbe feat: support setting story type on creation
Adds an interactive menu for selecting story type on story creation.
2018-06-14 17:59:15 -04:00
Griffin Smith
08340c223a refactor: Parametrize org-clubhouse-request
Make org-clubhouse-request a kv-function with an additional :params kv, for
supporting query params in requests
2018-04-11 10:50:38 -04:00
William Carroll
d406682f72 fix: quelpa install docs
I'm not sure `quelpa!` is a function...

```
Debugger entered--Lisp error: (void-function quelpa!)
```

...additionally, is `:files ("*")` necessary? Looks like the `(package! ...)`
was copy-pasted and package -> quelpa. Does this hold up?
2018-03-28 17:58:58 -04:00
Griffin Smith
8134c3011c feat: Allow creating epics
Add an org-clubhouse-create-epic function that prompts for a milestone then
creates a new epic under that milestone from the current org element
2018-03-12 15:04:06 -04:00
Russell Matney
621752ba0e fix: namespace function call to match name
Hotfix - this was not working!
2018-03-02 17:24:59 -05:00
Russell Matney
47c0fe9741 docs: add setup note
Docs the need for auth-token and team-name. The Auth token needs to be
generated per user, and can be done in clubhouse.
2018-03-02 16:24:21 -05:00
Russell Matney
bfc599abe3 docs: installation instructions for quelpa, doom
Adds installation instructions for Quelpa and Doom Emacs.
2018-03-02 16:12:37 -05:00
Russell Matney
2b82785794 feat: create-story region supported
Refactors `org-clubhouse-create-story` to pull stories from a region if
one is selected, and fallback to the headline at point.
2018-03-02 15:52:18 -05:00
Griffin Smith
f2230e30bf docs: MIT License 2018-03-02 10:44:48 -05:00
Griffin Smith
089a5ee2c0 docs: Add one-liner README
When we publish this to MELPA (coming up next) I'll also document installation,
configuration, and usage
2018-03-02 10:22:22 -05:00
Griffin Smith
57008170b3 init: Initial commit of org-clubhouse
As committed, this allows creating Clubhouse tickets from a heading in org-mode,
and then updating the status of those tickets when the Org status updates
2018-03-02 10:12:50 -05:00