Skip to content

[Due for payment 2025-03-21] [$500] Feature request : Upgrade task titles with markdown rendering #53175

Closed

Description

@m-natarajan

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number:
Reproducible in staging?: New Feature
Reproducible in production?: New Feature
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @quinthar
Slack conversation (hyperlinked to channel name): ts_external_expensify_convert

Background: The primary use of tasks today is Concierge assigning a specific set of onboarding task to the user. Each task currently has a numbered list of steps, generally ending with a link we want them to click. However, we see that some users don't realize the task can be clicked, meaning they don't see the instructions, meaning they don't click the link.

Problem: When new users don't realize the task title is clickable, they don't see the instructions, and thus don't do the call to action.

Solution: Please render task names using the same markdown>html processing as we do normal comments, to allow hyperlinks to be put into titles, in order to shorten the path to the CTA to one click. In other words, make task titles work like task descriptions:

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021863958075863531330
  • Upwork Job ID: 1863958075863531330
  • Last Price Increase: 2024-12-07
  • Automatic offers:
    • Krishna2323 | Contributor | 105277373
Issue OwnerCurrent Issue Owner: @JmillsExpensify

Activity

  1. added
    Weekly
    NewFeature
    on Nov 26, 2024
  2. melvin-bot commented on Nov 26, 2024

    @melvin-bot

    Triggered auto assignment to @muttmuure (NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero%20process%20steps%20for%20feature%20requests for more details. Please add this Feature request to a GH project, as outlined in the SO.

  3. added
    Daily
    and removed
    Weekly
    on Nov 27, 2024
  4. melvin-bot commented on Dec 2, 2024

    @melvin-bot

    @muttmuure Eep! 4 days overdue now. Issues have feelings too...

  5. added
    External
    on Dec 3, 2024
  6. melvin-bot commented on Dec 3, 2024

    @melvin-bot
  7. changed the title [-]Feature request : Upgrade task titles with markdown rendering[/-] [+][$250] Feature request : Upgrade task titles with markdown rendering[/+] on Dec 3, 2024
  8. added
    Help Wanted
    on Dec 3, 2024
  9. melvin-bot commented on Dec 3, 2024

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav (External)

  10. 191 remaining items

  11. mananjadhav commented on Apr 29, 2025

    @mananjadhav
    Collaborator

    Yes. I'll need some time to build the regression tests. Quick question, do we have any set of regression tests for markdown fields? Ideally we would need the same tests here as well.

  12. JmillsExpensify commented on Apr 29, 2025

    @JmillsExpensify
    Contributor

    Thanks @mallenexpensify for the quick assist!

  13. mallenexpensify commented on May 1, 2025

    @mallenexpensify
    Contributor

    do we have any set of regression tests for markdown fields?

    These are the tests I see when I search Markdown

    Image

    Can you access TestRail? Looks like you have read-only access @mananjadhav

    do we have any set of regression tests for markdown fields?

  14. mananjadhav commented on May 2, 2025

    @mananjadhav
    Collaborator

    Looks like you have read-only access

    Ohh I forgot. I'll have to check. I'll check this on the weekend and try to build the test cases.

  15. garrettmknight commented on May 2, 2025

    @garrettmknight
    Contributor

    $1500 approved for @mananjadhav

  16. melvin-bot commented on May 5, 2025

    @melvin-bot

    @JmillsExpensify Eep! 4 days overdue now. Issues have feelings too...

  17. melvin-bot commented on May 7, 2025

    @melvin-bot

    @JmillsExpensify Still overdue 6 days?! Let's take care of this!

  18. mananjadhav commented on May 8, 2025

    @mananjadhav
    Collaborator

    I am copying the tests from individual PRs. Should have them ready by today/tomorrow.

  19. melvin-bot commented on May 9, 2025

    @melvin-bot

    @JmillsExpensify 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it!

  20. mananjadhav commented on May 11, 2025

    @mananjadhav
    Collaborator

    ✅ Regression Test Proposal

    1. Basic Markdown Rendering in Task Title

      • Go to any chat.
      • Click/tap on + > Assign task.
      • Paste the following in the title and description fields:
        This is a sentence without any markdown styling.
        Simple sentence with a [link](https://github.com/Expensify/App/issues) , `inline code` and ~line-through~ text.
        # heading with a [link](https://github.com/Expensify/App/issues) and `inline code`.
        > Blockquote with a [link](https://github.com/Expensify/App/issues) and `inline code`.
        A simple text with a ~line-through~ and _italic_ word.
        # A heading with a line-through and italic word.
        *This sentence is bolded using "**"*
        > We should also check emojis 😅
        # And emojis in a heading 😅
        > Whats missing🤔? Please test the missing ones🥶.
        
      • Click "Next" and confirm:
        • Markdown is correctly rendered in title input and matches description.
      • Click "Confirm Task".
      • Validate:
        • Task preview renders markdown properly.
        • Task detail page displays rendered markdown correctly.
        • Text after # and between ** is not incorrectly bolded.
    2. Copy Task Title and Validate Markdown Copy Behavior

      • Create a task with markdown in the title.
      • Right click on the task preview > Copy to clipboard.
      • Paste the content.
      • Ensure the pasted title retains proper markdown formatting.
    3. Blockquote Hover and Rendering Validation

      • Create a task with blockquote (> block text) in the title.
      • Hover on the task preview in chat.
      • Validate:
        • Blockquote line is visible on hover.
        • Clicking task shows the blockquote rendered as normal text in the task view.
    4. Multiline Markdown and Edge Case Formatting

      • Use multiline markdown in title: > > hey, then update to just hey.
      • Confirm:
        • Title renders as normal text.
        • No layout issues or excess spacing in task report header.
    5. Image Markdown Handling

      • Create a task with an inline image markdown in title:
        [![300](https://picsum.photos/id/1067/200/300)](https://example.com)
        
      • Validate:
        • Confirmation page does not show image.
        • Task preview shows link instead of image.
        • Task detail view also renders link (no image shown).
    6. Search Router Single-line Enforcement

      • Create a task with a multiline title.
      • Open the search router (top right).
      • Confirm:
        • Title is rendered as a single line.
    7. Code Block and Link Overlap

      • Create task with title:
        [long link name](https://github.com/Expensify/App/issues/google.com)
        inline code
        
      • Verify:
        • Inline code does not overlap with the link visually.
    8. Onboarding Flow Consistency

      • Go through onboarding:
        • Choose “Manage my team’s expenses”
        • Select “1–10 employees”
        • Choose “None”
      • Login using magic link after onboarding.
      • Log in on Android app with same account.
      • Open Concierge chat.
      • Tap any task and verify:
        • Task name remains consistent across navigation.
    9. Strikethrough Style for Completed Tasks

      • Open a report and create a task.
      • Complete the task.
      • Confirm:
        • Strikethrough is applied in preview for completed task.

    @mallenexpensify Can you please add this to the Task title regression test suite?

    Once added we're good to close this one.

  21. JmillsExpensify commented on May 12, 2025

    @JmillsExpensify
    Contributor

    Regression tests created so closing this one out.

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

Metadata

Metadata

Labels

Awaiting PaymentBugDailyExternalNewFeature

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions