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

Instagram Source: Show Story Reply in Inbox UI #2227

Closed
steffh opened this issue Jul 30, 2021 · 2 comments · Fixed by #2367
Closed

Instagram Source: Show Story Reply in Inbox UI #2227

steffh opened this issue Jul 30, 2021 · 2 comments · Fixed by #2367
Assignees

Comments

@steffh
Copy link
Collaborator

steffh commented Jul 30, 2021

Is your feature request related to a problem? Please describe.
As an Airy inbox user I want be able to see that an incoming message is in regards to a Instagram story.

Describe the solution you'd like

When the message.content.message object contains a link to a story

{
"message":{
   "mid":"<MESSAGE_ID>",
   "text":"<MESSAGE_CONTENT>",
   "reply_to":{
          "story":{
          "url":"<CDN_URL>",
          "id":"story_id"
           }
    }
}

then display the relevant story as a status next to the message.

The CDN Link might expire with the story, so we should only display a link with target=_bank for message.sent_at + 24 hours, thereafter only indicate that the message originated from a story, but don't link to it anymore (removing icon, HTML link tag and bold font type).

Design Suggestion (please feel free to adjust):

mock-story-inbox

Resources:
https://icons.getbootstrap.com/icons/play-circle/ (Open Source)

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@chrismatix
Copy link
Contributor

image

Very small design comment. I would move this story reply bit to the top of the text message for two reasons:

  • Code structure: Everything above the time box is concerned with rendering source specific messages. All components outside it are agnostic
  • On Instagram it's also above which suits the natural flow reading flow. I would guess that we would also reference regular message replies like so.

@steffh
Copy link
Collaborator Author

steffh commented Aug 12, 2021

@chrismatix - Happy to follow your suggestion.

@lizhutter lizhutter added this to To do in Engineering WIP via automation Aug 12, 2021
@AudreyKj AudreyKj moved this from To do to In progress in Engineering WIP Sep 1, 2021
@AudreyKj AudreyKj self-assigned this Sep 1, 2021
@AudreyKj AudreyKj moved this from In progress to Done in Engineering WIP Sep 1, 2021
AudreyKj added a commit that referenced this issue Sep 2, 2021
* story replies added

* finished instagram story reply
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

3 participants