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

[28] [Backend] Add fetch survey detail #91

Conversation

markgravity
Copy link
Owner

@markgravity markgravity commented Jun 29, 2021

#28

What happened

Add fetch survey detail

Insight

  • Add fetch survey detail from server
  • Update model mapping with new paths

Proof Of Work

flutter: *** Request ***
flutter: uri: https://nimble-survey-web-staging.herokuapp.com/api/v1/surveys/d5de6a8f8f5f1cfe51bc
flutter: method: GET
flutter: responseType: ResponseType.json
flutter: followRedirects: true
flutter: connectTimeout: 0
flutter: sendTimeout: 0
flutter: receiveTimeout: 0
flutter: receiveDataWhenStatusError: true
flutter: extra: {}
flutter: headers:
flutter:  authorization: Bearer kAuOdd92mpj7bHDGnlZTsxkcxis2Uzq6VaNO3DVRqoo
flutter: data:
flutter: null
flutter:
flutter: *** Response ***
flutter: uri: https://nimble-survey-web-staging.herokuapp.com/api/v1/surveys/d5de6a8f8f5f1cfe51bc
flutter: statusCode: 200
flutter: headers:
flutter:  connection: keep-alive
flutter:  cache-control: max-age=0, private, must-revalidate
flutter:  transfer-encoding: chunked
flutter:  date: Tue, 29 Jun 2021 02:35:19 GMT
flutter:  vary: Accept-Encoding, Origin
flutter:  content-encoding: gzip
flutter:  strict-transport-security: max-age=31536000; includeSubDomains
flutter:  referrer-policy: strict-origin-when-cross-origin
flutter:  x-permitted-cross-domain-policies: none
flutter:  content-type: application/json; charset=utf-8
flutter:  x-xss-protection: 1; mode=block
flutter:  server: Cowboy
flutter:  x-request-id: d79518ca-d498-4349-9934-0af3d2c958f6
flutter:  x-download-options: noopen
flutter:  x-runtime: 0.061493
flutter:  etag: W/"c6bc87c41882d70464464c0282d70af4"
flutter:  via: 1.1 vegur
flutter:  x-frame-options: SAMEORIGIN
flutter:  x-content-type-options: nosniff
flutter: Response Text:
flutter: {"data":{"id":"d5de6a8f8f5f1cfe51bc","type":"survey","attributes":{"title":"Scarlett Bangkok","description":"We'd love ot hear from you!","thank_email_above_threshold":"<span style=\"font-family:arial,helvetica,sans-serif\"><span style=\"font-size:14px\">Dear {name},<br /><br />Thank you for visiting Scarlett Wine Bar &amp; Restaurant at Pullman Bangkok Hotel G &nbsp;and for taking the time to complete our guest feedback survey!<br /><br />Your feedback is very important to us and each survey is read individually by the management and owners shortly after it is sent. We discuss comments and suggestions at our daily meetings and use them to constantly improve our services.<br /><br />We would very much appreciate it if you could take a few more moments and review us on TripAdvisor regarding your recent visit. By <a href=\"https://www.tripadvisor.com/Restaurant_Review-g293916-d2629404-Reviews-Scarlett_Wine_Bar_Restaurant-Bangkok.html\">clicking here</a> you will be directed to our page.&<…>

@markgravity markgravity added this to the 0.7.0 milestone Jun 29, 2021
@markgravity markgravity self-assigned this Jun 29, 2021
@markgravity markgravity force-pushed the chore/28-backend-add-fetch-survey-detail branch 2 times, most recently from 0167ddf to 2ff25e8 Compare June 29, 2021 02:46
@markgravity markgravity force-pushed the chore/28-backend-add-fetch-survey-detail branch from 2ff25e8 to 8c281fa Compare June 29, 2021 03:53
@markgravity markgravity force-pushed the feature/27-ui-survey-detail-screen branch 2 times, most recently from 0817499 to 62fe9aa Compare June 30, 2021 02:48
@markgravity markgravity force-pushed the chore/28-backend-add-fetch-survey-detail branch from 8c281fa to 89d7e8b Compare June 30, 2021 02:50
@markgravity markgravity closed this Jul 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant