Skip to content
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

feat: add getter and method to label intent for intent tracking purpose #617

Merged
merged 1 commit into from
Jan 6, 2020

Conversation

chentsulin
Copy link
Collaborator

@chentsulin chentsulin commented Jan 6, 2020

context.intent; // null

context.setIntent('hello-world'); 

context.intent; // 'hello-world'

This may help us build up the integration with chatbase and dashbot.

@codecov-io
Copy link

codecov-io commented Jan 6, 2020

Codecov Report

Merging #617 into release/1.2 will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@              Coverage Diff               @@
##           release/1.2    #617      +/-   ##
==============================================
+ Coverage        80.79%   80.8%   +0.01%     
==============================================
  Files               95      95              
  Lines             4270    4273       +3     
  Branches          1046    1046              
==============================================
+ Hits              3450    3453       +3     
  Misses             779     779              
  Partials            41      41
Impacted Files Coverage Δ
packages/bottender/src/context/Context.ts 95.55% <100%> (+0.31%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0d1a851...a79b894. Read the comment docs.

@chentsulin chentsulin merged commit f8b19ff into release/1.2 Jan 6, 2020
@chentsulin chentsulin deleted the context-intent branch January 6, 2020 05:22
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