Cloudkibo / KiboPush

0 stars 1 forks source link

SSA Reporting Requirement #4790

Closed jekram closed 5 years ago

jekram commented 5 years ago

We need to build a Bot based on the attached SSA Reporting Requirement. Please review this and we will talk tomorrow.

FYI @ImranBinShoukat SSA Reporting Requirements.docx

sojharo commented 5 years ago

I am already working on demossa bot in https://github.com/Cloudkibo/KiboPush/issues/4572 Also we have one other duplicate issue https://github.com/Cloudkibo/KiboPush/issues/4786

In this issue, do we have same work that we are doing in #4752 or different work? Will it be a separate bot.

jekram commented 5 years ago

@sojharo I am not sure if we should build two bots or one bot. For now, let's assume it is one bot and we can defer this one we understand the solution better.

jekram commented 5 years ago

@sojharo Let's move with two bots and we can merge if we need to much later.

I know we have a daily meeting but let's documented action items and progress here.

sojharo commented 5 years ago

Ok Sir. I was previously using other issue for occasional updates. I would use this one

sojharo commented 5 years ago

I worked on this today. Task Update

For replacing quick replies with Lists

I worked on this and tried doing it from payload option in dialogflow messenger response. However, it wasn't working from there. It seems that the payload the dialogflow is using is old version of fb api. I created a payload of list and then inserted it in payloads option of messenger response in dialogflow. When this didn't work, then only option I had to connect the demossa2 bot to server as well. I used our current server and did the settings in such a way that it now handles both demossa 1 and demossa 2 bot. Now, the integrating of list is remaining here. This is under construction.

Redirect to SSA web pages in web view for other links

I tried more on this and this time I found that it is restriction from SSA website that it doesn't allow itself to be opened in an iframe (web view). It gave the error when I tried redirecting to them. I would also show the error in meeting tomorrow.

screenshot 2018-12-26 at 6 05 46 pm

I have uploaded the ssa requirement document to drive and shared the link on messenger with both you and sir adnan.

jekram commented 5 years ago

Thanks for the update.

Looks like Webview for SSA would be an issue.

jekram commented 5 years ago

Please read this:

https://android-developers.googleblog.com/2017/06/whats-new-in-webview-security.html

sojharo commented 5 years ago

I have gone through the article. Web view is doing quite a progress on android side. I think chrome browser also has the same web view.

sojharo commented 5 years ago

Actions items from previous meeting

Action items for today after meeting

sojharo commented 5 years ago

Action Items from Thursdays Meeting - Work done on Thursday

Action items for Friday - Work to do on Friday

sojharo commented 5 years ago

Action items for Monday Meeting - Work done Monday

Action items for Today after Meeting - Work to do on Tuesday

sojharo commented 5 years ago

Action items for Wednesday - Work done Wednesday

Action items for Today after Meeting - Work to do on Thursday

sojharo commented 5 years ago

Action items for Today after Meeting - Work to do on Thursday

This task is complete. We can work to make both bots more intelligent. I think we should give it to someone who has not developed it i.e. adnan. so that we can see on which questions bot is not responding correctly.

DemoSSA 2

https://www.messenger.com/t/350372502408394

DemoSSA

https://www.messenger.com/t/382154169188869

sojharo commented 5 years ago

As final work, Imran and I complete the following items on this issue before our meeeting with SSA people on Monday.

All my Social Security should be highlighted. (done) Change list subtitles (done) Upload Video in last question (done) https://www.ssa.gov/framework/images/icons/svg/logo-red.svg replace images (done) I moved flow should be correct (done) Both the button and card should open webview (done) Button name should be replaced to “Visit my Social Security account” (done) Replace all chat bot name to “SSA AI ChatBot” (done) Redirect to right url (docs) of SSA in Q4 DemoSSA1 (done) Show only two links in Q4 DemoSSA1 (done) Make “I have moved” same as “I moved” in DemoSSA2 (done) Test the whole flow and make sure everything is right (done)

sojharo commented 5 years ago

Items from the recent email

Changes needed for Demossa

Q2 - Skip the last question 
Add a question to Demmossa to report status changes

Changes to Demossa2

After Hello:
         Change the message  "Thank you for visiting SSA AI ChatBot. Please click on “Read More” below for further information."
        Skip Read More
        Show all the three options 
        THere should not be any View More
Can we have a "Restart Button" t go back to the Top ?
Can we have a "Back Button" to go back to last Menu
jekram commented 5 years ago

@sojharo After our meeting the SSA today we would come up with next steps

jekram commented 5 years ago

Reporting Review Document Jan 23 2019.docx

ImranBinShoukat commented 5 years ago

Action Items:

  1. For first three items we will show list with a header
  2. For second one we will show quick replies
  3. The final answer should be as per document
  4. We need show back and restart button
  5. Create webview for address link
sojharo commented 5 years ago

Imran worked on first 3 items and I have done work on last two items.

Webview is being shown now. And I have added the Restart button to all the options. The back button is working for Income Status for now. I am figuring out on how to do it without adding conditions and with keeping the code generic.

sojharo commented 5 years ago

Action Items from Today's meeting:

sojharo commented 5 years ago

I worked on this today and did following two action items:

  1. Fix how to report in "change in account" (this is correct now)
  2. Restart button should be everywhere (as discussed in meeting, it is now on other screens as well when user goes deeper in the flow)

I am working on back button and hopefully back button would work by tomorrow. I have understood how the context in Dialogflow API is working. I have tried few calls as well. I would complete it tomorrow. I have understood the context API. However, I also thought another way to doing through the json but it doesn't remember the context though.

jekram commented 5 years ago

@sojharo @ImranBinShoukat

Great job with this - we have made good progress.

  1. Please make Demossa, Demossa2 and Askkibo public. we need to give other people access besides us.
  2. For Demossa2 let's make second from smart replies to List option.
  3. Let's discuss "procedure" in the meeting
  4. Let's discuss "Address Mail/Visit" and combine the click
sojharo commented 5 years ago

Action Items

ImranBinShoukat commented 5 years ago

I have completed the following action items:

jekram commented 5 years ago

@sojharo @ImranBinShoukat Great job on DemoSSA and DemoSSA2. As most of the work is complete and we are waiting on SSA to give us direction. I am lowering the priority from High to Medium.

sojharo commented 5 years ago

Should we close this task?

jekram commented 5 years ago

Yes