Comments (5)
I think it could look similar to the one used in settings dialogs:
But with question - answer instead of label - path.
from memorize.
The search function is implemented here:
It currently checks whether there is each letter in the string in the right order, and hides a flashcard if this is not the case. So if I search for "hello", both "hello" and "hysterical elephants like loud oboes" will be visible while "world" won't.
In order to make this feature more useful, we could:
- Sort the results by a matching score. This would be confusing done the way searching currently works, so it would be better to create a separate search view similar to the ones in settings dialogs. Selecting a search result would close the search view and focus the flashcard in the edit view.
- Hide flashcards with a low score compared to the best results that technically match the search string as well.
I prefer the first option. What do you think, do you have another suggestion?
from memorize.
I think hiding results that might be relevant is indeed a bad idea, so my preference also goes to the first option. I can't really represent myself how this separate view would look like though…
from memorize.
That would be neat indeed!
from memorize.
I implemented the new search view and a new algorithm based on FuzzyFind in 1efab42.
from memorize.
Related Issues (20)
- Making the app fully adaptive HOT 1
- Replacing the view switcher in sets with "Study" and "Test" buttons HOT 2
- Jumping straight into editing mode when creating a new set HOT 3
- Using an adaptive dialog for set editing HOT 1
- Reorganizing header bar buttons in "main" flash card view HOT 3
- Making the metainfo file translatable HOT 2
- 'Export' action causes crash when Set is empty HOT 1
- Move from OverlaySplitView to NavigationSplitView HOT 1
- Move sets and flashcards to SQLite HOT 1
- CSV import and export HOT 2
- Cannot edit flashcard contents HOT 1
- Esc key should close search bar HOT 1
- Ability to import and export CSV with tags included HOT 2
- The Set is created even if the user cancels the operation
- Ability to apply tags to multiple flashcards at once HOT 3
- Typing 'Del' on keyboard asks to delete the set HOT 1
- Integrate with AnkiWeb HOT 1
- Add a dropdown menu to create and import sets
- Feature Request: Allow reordering flashcards in Edit Set modal dialog
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from memorize.