suttacentral / bilara

Our Computer Aided Translation software
10 stars 8 forks source link

Bilara: find/replace UI #11

Closed sujato closed 4 years ago

sujato commented 5 years ago

User story

Jill wants to find stuff on Bilara. She also needs to do find/replace, sometimes over a large amount of cases.

This happens a lot when translating, as the segment matching is only useful at a segment scale. Checking terminology and so on requires constant searching, so a very fast and intuitive UI is required.

Feature description

Here i propose a rather radical approach to search, which stems from my experience using Pootle. Usually i would have a separate browser window open just for searching, and be constantly swapping windows. But what if we could build a cool window into the system?

Search is a persistent third column

Create a third column on the page just for search. It can be toggled. (narrow screens will need a different approach, but for now let's leave that.)

At the top of the column are two text fields: Find and Replace. Results are underneath.

Results are displayed in an infinite list that scrolls independently from the text columns.

Each result is linkified. Click and it opens the relevant sutta on the text columns. Same window. Go back using browser. (Sutta text display is not necessary for editing. It is just for checking context.)

Screenshot from 2019-04-17 17-27-41

Search features

Shortcuts

Shortcuts are grouped with the main shortcuts:

https://github.com/suttacentral/bilara/issues/15

sujato commented 4 years ago

This feature is implemented. Future features can be added in new issues.