Skip to content

Add 'shortcuts' module. #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 7, 2015
Merged

Add 'shortcuts' module. #5

merged 3 commits into from
Feb 7, 2015

Conversation

progval
Copy link
Member

@progval progval commented Feb 7, 2015

I noticed this code will be duplicated a lot across plugins, so I moved it to libmodule.

@Tpt
Copy link
Member

Tpt commented Feb 7, 2015

It may be nice to have some tests. The "answer" function name is not very clear.

@progval
Copy link
Member Author

progval commented Feb 7, 2015

any idea for a better name?

@Tpt
Copy link
Member

Tpt commented Feb 7, 2015

build_answer_from_modified_request? But it's a little bit long (but it states exactly what this function does).

@progval
Copy link
Member Author

progval commented Feb 7, 2015

Why not just build_answer?
Since it is in a shortcuts modules, it's quite obvious that it makes it from other provided data

@Tpt
Copy link
Member

Tpt commented Feb 7, 2015

ok for that

@progval
Copy link
Member Author

progval commented Feb 7, 2015

Done

@progval
Copy link
Member Author

progval commented Feb 7, 2015

Oh, but it's still missing the tests

@progval
Copy link
Member Author

progval commented Feb 7, 2015

Done.

Tpt added a commit that referenced this pull request Feb 7, 2015
@Tpt Tpt merged commit 7413dc7 into master Feb 7, 2015
@Tpt Tpt deleted the add-shortcuts branch February 7, 2015 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants