Skip to content

HIGH: [Polish] [$500] Finalize order of LHN in #focus mode #33029

Closed

Description

@quinthar

Problem:
When the LHN is in "focus" mode, its sorting should be:

  1. All pinned reports, alphabetically
  2. Everything else, alphabetically

However, it doesn't seem to be. Here's from @iwiznia:

Image

Solution:
Review the LHN logic for sorting in focus mode to understand what it's currently doing, and verify it's correct. The correct behavior should be:

#focus mode:

  • All pinned chats (alphabetically)
  • Everything else (alphabetically)

most recent mode:

  • All pinned chats (alphabetically)
  • Everything else (most recent sorting)

Additionally:

  • When sorting alphabetically, it should only sort the alphanumeric characters -- other characters should be ignored.
  • "pinned chats" refers to chats that are actually pinned, as well as any chat with a "green/red brick road" (GBR/RBR), which are treated as if they are pinned.

So, for this issue please:

  1. Review the existing sorting code
  2. Update it to match the logic above
  3. Update the sort comparator to ignore non-alphanumeric characters when sorting
  4. Verify that GBR chats are showing as pinned
  5. Verify that RBR chats are showing as pinned

You up to the challenge? Let's see those proposals!!

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01432274cc2b58438c
  • Upwork Job ID: 1744194942807576576
  • Last Price Increase: 2024-01-08
Issue OwnerCurrent Issue Owner: @youssef-lr

Activity

  1. converted this from a draft issue on Dec 13, 2023
  2. moved this from MEDIUM to HIGH in [#whatsnext] #vip-vsbon Dec 19, 2023
  3. moved this from HIGH to MEDIUM in [#whatsnext] #vip-vsbon Dec 19, 2023
  4. moved this from MEDIUM to HIGH in [#whatsnext] #vip-vsbon Dec 28, 2023
  5. changed the title [-]MEDIUM: Finalize order of LHN in #focus mode[/-] [+]HIGH: Finalize order of LHN in #focus mode[/+] on Dec 28, 2023
  6. quinthar commented on Dec 28, 2023

    @quinthar
    ContributorAuthor

    Upgrading to HIGH as it's fundamentally about making it work correctly.

  7. added
    ExternalAdded to denote the issue can be worked on by a contributor
    and removed on Jan 8, 2024
  8. changed the title [-]HIGH: Finalize order of LHN in #focus mode[/-] [+][$500] HIGH: Finalize order of LHN in #focus mode[/+] on Jan 8, 2024
  9. melvin-bot commented on Jan 8, 2024

    @melvin-bot
  10. 154 remaining items

  11. shubham1206agra commented on May 4, 2024

    @shubham1206agra
    Contributor

    @youssef-lr Can we restart discussion on this issue?

  12. youssef-lr commented on May 7, 2024

    @youssef-lr
    Contributor

    Yes I think we should. I'll get back to you this week @shubham1206agra as I'm busying finalizing a new feature.

  13. luacmartins commented on Jun 27, 2024

    @luacmartins
    Contributor

    What's the latest here? I think we merged a fix for this issue and it's done? Are we missing payments?

  14. youssef-lr commented on Jun 27, 2024

    @youssef-lr
    Contributor

    @luacmartins we need to redo the fix, it caused performance issues and we reverted it.

  15. shubham1206agra commented on Aug 13, 2024

    @shubham1206agra
    Contributor

    @youssef-lr Should we redo the fix now? Or is something blocking us now?

  16. youssef-lr commented on Aug 13, 2024

    @youssef-lr
    Contributor

    I think let's redo it and see if reassure-perf complains

  17. melvin-bot commented on Oct 10, 2024

    @melvin-bot

    @JmillsExpensify, @youssef-lr, @luacmartins, @fedirjh, @shubham1206agra, this Monthly task hasn't been acted upon in 6 weeks; closing.

    If you disagree, feel encouraged to reopen it -- but pick your least important issue to close instead.

  18. shubham1206agra commented on Oct 16, 2024

    @shubham1206agra
    Contributor

    @youssef-lr Please repoen this.

  19. JmillsExpensify commented on Nov 26, 2024

    @JmillsExpensify
    Contributor

    Is this being actively worked on? If not, my preference is to close.

  20. luacmartins commented on Nov 26, 2024

    @luacmartins
    Contributor

    I don't think so, but @youssef-lr would be able to confirm

  21. JmillsExpensify commented on Nov 27, 2024

    @JmillsExpensify
    Contributor

    Youssef please open back up if it's being worked on. Otherwise, I think we have more important priorities to focus on.

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

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.EngineeringInternalRequires API changes or must be handled by Expensify staffMonthlyKSv2Not a priorityReviewingHas a PR in reviewTask

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions