[Bug] 搜索框逻辑优化

Chiusa
#1,624 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
frontend, search

Direzione di ricerca

The payload names no source files, so start by finding the editor's search panel, which is the Editor module on version 0.6.6, and the code that runs file lookup and renders results. Three separate changes are requested: a resizable preview pane, faster first results (caching or indexing, since opening takes four to five seconds), and showing matched line text before the file name. Done means each of the three is handled and the search still returns the same matches.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area:editor bug issue-form:bug P1 platform:macos review: high
Platform / 平台

macOS

Area / 模块

Editor / 编辑器

Lithe version / Lithe 版本

0.6.6

Priority / 优先级

P1 / 尽快处理:使用体验大幅下降,但通常仍可继续使用

OS and architecture / 操作系统与架构

No response

Environment / 环境信息
Image Image
  1. 不支持调节大小,导致有的时候想看全一点需要一直移动预览框
  2. 加载速度有点慢——需要使用缓存或者相关逻辑优化一下,打开要四五秒才搜到有点慢了
  3. 搜索文本应该先展示文本行内容而不是文件名
Image Image
Steps to reproduce / 复现步骤

No response

Expected behavior / 预期行为

No response

Actual behavior / 实际行为

No response

Logs or diagnostic output / 日志或诊断输出

Screenshots or recordings / 截图或录屏

No response

Checklist / 提交前检查
  • I searched existing issues for duplicates. / 我已搜索现有 Issue,确认没有重复报告。
  • I removed secrets and personal data from the report. / 我已从报告中移除敏感信息和个人数据。
Lingua principale
TypeScript
Stelle
1.8k
Fork
151
Merge medio
12h 4m
PR unite (30g)
366

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di 1lck/Lithe-IDEA

Tutte le issue di 1lck/Lithe-IDEA

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.