feat: Improve spotlight UX

オープン
#6,230 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
react-native, typescript

調査の方向性

RoomsListView とその他の Spotlight 検索実装から始め、diego.mello2 としてログインした状態で Android と iOS の両方で「ninguем」をすばやく入力して、遅延した結果を再現します。debounce とローカルデータベースのフローを確認します。完了条件は、プラットフォームごとに自動修正と大文字化が無効になっており、サーバーリクエストが残りのスペースを埋める前にローカル結果がすぐに表示されることです。

索引モデルが issue の本文から書いたものです。

説明

Spotlight (RoomsListView and others search) takes too long to respond and has some awkward interactions with keyboard.

To be done
  • Disable auto correct and init cap

    • pay attention to test both on Android and iOS. Props are different.
  • Refactor the debounce logic to return results faster

    • Suggestion: create a mechanism to return results immediately (or almost) in case the search hits local db data only

    • Test: log in as diego.mello2 and enter ninguem quickly. It’s going to take a few seconds to show the results.

    • I think it might be requesting data right after realizing there’s not enough data locally.

      • We could instead return the local data first and trigger the server request to fill the empty space later.
主要言語
TypeScript
スター
2.4k
フォーク
1.5k
平均マージ
1日 15時間
マージ済み PR(30日)
29

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

RocketChat/Rocket.Chat.ReactNative のほかの issue

RocketChat/Rocket.Chat.ReactNative の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。