Commit graph

61 commits

Author SHA1 Message Date
Griffin Smith
750f0fd82d Add docs for org-clubhouse-username config value
This is crummy but it's how it has to be right now
2020-03-19 15:30:20 -04:00
Griffin Smith
9d792b8c6e Don't pass owner_ids if we're not claiming
If we're not claiming a story, don't pass owner_ids to the API at all,
rather than passing it as null, which causes the API to return an error.
2020-03-19 15:16:38 -04:00
Griffin Smith
1722eac5f8 Add binding for missing variable in set-title
oops
2020-03-18 15:18:19 -04:00
Griffin Smith
24c36b781b Add org-clubhouse-clocked-in-story-id
Add an org-clubhouse-clocked-in-story-id function, for programmatically
querying the currently clocked-in clubhouse story ID
2020-03-18 15:18:17 -04:00
Griffin Smith
c033b9161c Add org-clubhouse-set-epic
Add an org-clubhouse-set-epic command, to change the clubhouse epic of
the story at point
2020-03-09 10:50:28 -04:00
Jean-Martin Archer
b53b641306 story, allow to create story without an epic
While it's probably a good idea to assign epics to new stories,
depending on the methodology used by the team not everything may
warrant being attached to an epic. E.g. one off task and what
not.
2020-01-23 16:17:01 -05:00
Jean-Martin Archer
39bb14987f git, ignore files created by spacemacs 2020-01-23 16:17:01 -05:00
Jean-Martin Archer
16cda5b42b find header if not currently at point
Creating a single story would fail if the point was not on a
header. Now the code tries to find the header for the element at
point.
2020-01-23 10:54:59 -05:00
Jean-Martin Archer
489b37d17d workflow, handle missing state name
For some reason, some of my stories do not appear to have state
name. This is most likely a bug (either with this mode or the
API), regardless the missing name should be handled gracefully.
2020-01-07 16:17:19 -07:00
Jean-Martin Archer
ae8d046491 api, switch to v3
v1 and v2 will be deprecated on 2020-03-01. It is unclear if v2
will still be available afterward. According to
https://clubhouse.io/blog/api-v3/ it **should** be a drop in
replacement.
2020-01-07 16:16:49 -07:00
Jean-Martin Archer
f6a1dc071d add ivy as as requirement
Arguably, helm should be supported too, but hey!
2020-01-07 16:15:32 -07:00
Griffin Smith
30c340c902 Update repo owner in all three install instructions 2019-09-05 16:45:44 -04:00
Griffin Smith
fe52639a3a Expand documentation for org-clubhouse-mode
Expand the documentation for the automatic updating of story statuses to
include explicit documentation for org-clubhouse-state-alist.

Ref #18
2019-09-05 16:42:35 -04:00
Griffin Smith
6b701daaa5 Separate Usage documentation into read and write
Separate the Usage documentation section into reading from and writing
to clubhouse, and add documentation for a few previously-undocumented
commands.
2019-09-05 15:43:29 -04:00
Griffin Smith
7167932309 Add code of conduct. 2019-09-05 15:40:37 -04:00
Griffin Smith
0a130d7ca7 Add note about move and philosophy to README
This is mostly so I have something to point people at for feature
requests, etc.
2019-09-05 15:39:54 -04:00
Griffin Smith
96a3e08ff0 Don't output colons without labels
If we pull down a story without labels, don't format the :: for those
labels
2019-06-19 10:34:06 -04:00
Griffin Smith
9d83cb22a1 fix: Infinite loop for last element in file
org-element-and-children-at-point was comparing the current point <=
end, but should've been <.

Fixes #17
2019-05-20 10:49:24 -04:00
Griffin Smith
603f614c35 fix: Undefined function inc
elisp calls this 1+, I had it sitting in my utils

Fixes #16
2019-05-20 10:44:22 -04:00
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