Skip to content

[Pay 29/4] [$250] HIGH: [Polish] Combine image attachment with the unsent composed message #35977

Closed

Description

@quinthar

Problem:

Today when you upload an image while a message is drafted in the compose window, it:

  1. Sends whatever is drafted
  2. Sends a 2nd message containing only the image

This means that even if the two are conceptually related (ie, the comment is describing the image), it will be forked into separate reactions, and have separate threads.

Solution

Rather than sending images as a totally separate message, combine the message and the attachment into a single message, such that it gets the same reactions and are part of the same thread.

Issue OwnerCurrent Issue Owner: @bfitzexpensify

Activity

  1. converted this from a draft issue on Feb 7, 2024
  2. roryabraham commented on Feb 7, 2024

    @roryabraham
    Contributor

    Personally I think this issue kind of "beats around the bush" – I would love to see our efforts spent towards building full support for inline images in messages, GitHub-style, with image previews inlined in react-native-live-markdown.

  3. jeremy-croff commented on Feb 7, 2024

    @jeremy-croff
    Contributor

    Personally I think this issue kind of "beats around the bush" – I would love to see our efforts spent towards building full support for inline images in messages, GitHub-style, with image previews inlined in react-native-live-markdown.

    Is this really how our customers would use it?
    Slack for example does not have inline images in messages, cause it's just chat. This allows the full image to be previewed that's attached without it being cumbersome for the content your typing.

    Jira and GitHub have inline messages, where the image is converted with the upload path because it's used for steps and detailed information, it's like a whole mini text editor. I think those use cases are more prosumer, rather than consumer.

  4. roryabraham commented on Feb 7, 2024

    @roryabraham
    Contributor

    My opinion is that the inline image support offered by GitHub and Jira is superior in every way to the way images are handled by Slack, WhatsApp, iMessage, etc...

    Those platforms don't make it any easier to add images to a message. The only advantage over GitHub for example is that you don't have to switch to the Preview tab to see how the image looks in your final message. But that limitation won't apply in New Expensify.

    I believe that the inline image experience I'm proposing would be better than any of the other platforms we've listed here and as such would be a differentiating factor in our chat platform.

  5. changed the title [-]HIGH: Combine image attachment with the unsent composed message[/-] [+][HOLD ON 37246] HIGH: Combine image attachment with the unsent composed message[/+] on Feb 27, 2024
  6. quinthar commented on Feb 27, 2024

    @quinthar
    ContributorAuthor

    I agree with @roryabraham -- this is just a step in that direction. A more complete plan is here: https://expensify.slack.com/archives/C01GTK53T8Q/p1708849229702429?thread_ts=1707270017.261459&cid=C01GTK53T8Q

  7. quinthar commented on Feb 27, 2024

    @quinthar
    ContributorAuthor

    I think we should start with this to fix our current image support, but I agree we should add true inline image support -- and ultimately, large object support as well. But that's a bigger project that probably warrants a design doc, this is more low hanging fruit.

  8. tgolen commented on Feb 27, 2024

    @tgolen
    Contributor

    I confirmed a few things via Slack, and it sounds like this is the detailed path to move forward on this issue:

    • When a comment is made that has both an attachment and a text comment
    • Upload the file as normal
    • Retrieve it's URL
    • Format the URL like the HTML that results from the Markdown code from HIGH: [Polish] Add support for inline image Markdown #37246
    • Add that HTML at the end of the text comment instead of creating a separate report action
  9. quinthar commented on Mar 23, 2024

    @quinthar
    ContributorAuthor

    #37246 is on staging; I'm taking this off hold! @tgolen can you give an ETA for when you can take it up?

  10. changed the title [-][HOLD ON 37246] HIGH: Combine image attachment with the unsent composed message[/-] [+]HIGH: Combine image attachment with the unsent composed message[/+] on Mar 23, 2024
  11. changed the title [-]HIGH: Combine image attachment with the unsent composed message[/-] [+]HIGH: [Polish] Combine image attachment with the unsent composed message[/+] on Mar 25, 2024
  12. 24 remaining items

  13. melvin-bot commented on Apr 11, 2024

    @melvin-bot

    Triggered auto assignment to @bfitzexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

  14. added
    Daily
    and removed
    Weekly
    on Apr 11, 2024
  15. tgolen commented on Apr 11, 2024

    @tgolen
    Contributor

    @bfitzexpensify can you please ensure @rayane-djouah gets paid for a C+ review of the PR?

  16. bfitzexpensify commented on Apr 15, 2024

    @bfitzexpensify
    Contributor

    PR was assigned for review (and the review began) before the price for a PR review was updated, so payment for @rayane-djouah is $500. Offer sent via Upwork.

    Looks like the PR is merged but not yet deployed. I've subscribed and will update the payment date here.

  17. melvin-bot commented on Apr 18, 2024

    @melvin-bot

    ⚠️ Looks like this issue was linked to a Deploy Blocker here

    If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

    If a regression has occurred and you are the assigned CM follow the instructions here.

    If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

  18. melvin-bot commented on Apr 22, 2024

    @melvin-bot

    @tgolen, @bfitzexpensify, @rayane-djouah Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  19. bfitzexpensify commented on Apr 22, 2024

    @bfitzexpensify
    Contributor

    Deployed today, updated title.

  20. changed the title [-]HIGH: [Polish] Combine image attachment with the unsent composed message[/-] [+][Pay 29/4] [$250] HIGH: [Polish] Combine image attachment with the unsent composed message[/+] on Apr 22, 2024
  21. melvin-bot commented on Apr 22, 2024

    @melvin-bot

    ⚠️ Could not update price automatically because there is no linked Upwork Job ID. The BZ team member will need to update the price manually in Upwork.

  22. quinthar commented on Apr 27, 2024

    @quinthar
    ContributorAuthor

    Should this be tagged Awaiting Payment? Why wasn't it automatically?

  23. melvin-bot commented on Apr 30, 2024

    @melvin-bot

    @tgolen, @bfitzexpensify, @rayane-djouah Whoops! This issue is 2 days overdue. Let's get this updated quick!

  24. bfitzexpensify commented on Apr 30, 2024

    @bfitzexpensify
    Contributor

    All done here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugDailyEngineeringImprovementReviewing

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions