question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add GSD mode to reprioritize Sidebar results

See original GitHub issue

If you haven’t already, check out our contributing guidelines for onboarding!


Deliverables:

  • Add a new user preference in SettingsPage that will allow the user to set a priority preferences for the “Chats” screen (a.k.a. sidebar) it will have two different modes: “GSD” (value gsd) and “Most Recent” (value default).
Screen Shot 2021-02-10 at 10 48 51 AM
  • This will require implementing the react-native-picker library and testing that it works on all platforms: https://github.com/react-native-picker/picker

  • We must also modify this method so that the logic changes as following when someone has selected gsd mode:

    • Pinned reports still display but they are no longer prioritized in any particular order (e.g. moved to the top)
    • Reports that have been read will no longer display in the list and should drop out of the list once they are read (and not the active report)
    • Results will be sorted in alphabetical order

Note: This should only affect the sidebar and not other methods using the getOptions() method here.

  • Changing this mode should result in an immediate refresh of the sidebar and will also be persisted in the server so making an API call will be necessary.

Upwork Job

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:22 (22 by maintainers)

github_iconTop GitHub Comments

2reactions
marcaaroncommented, Feb 22, 2021

Ok cool thanks. I believe the second one is what we want to go with so let’s use react-native-picker-select.

1reaction
Jag96commented, Mar 2, 2021

Added a comment on the linked PR regarding a bug, reopening this

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues - GitHub
Keep 8.0.4 version and install @react-native-picker/picker and that's it ... Add GSD mode to reprioritize Sidebar results Expensify/App#1452.
Read more >
the 2 of 3 and 4 0 5 to 6 a 7 in 8 1 9 for 10 image 11 2 12 is 13
... 100 198 would 199 current 200 result 201 04 202 there 203 administration 204 standard 205 last 206 development 207 education 208...
Read more >
The Most Trusted Dating Site
Find a one-night stand or a hookup you can also hang out with. Which dating site is best for serious relationships? What is...
Read more >
[Dctrl-tools-devel] [SCM] Debian control file query tools branch ...
The result is a set of BibTeX entries that matches the query. ... + Some features of admesh are: Fill holes in the...
Read more >
LFC Annual FY210 Policy.indd - New Mexico Legislature
junior appropriation bill results in a decrease of $8.5 million from the. FY09 recurring base. The section below is a high-level reconciliation,.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found