Comments (8)
Hi, i also think that a search feature could be useful, this commit d7b4a0c includes a draft.
I want to improve the search UI, but for now let me know your impressions.
Thanks, regards.
from cotp.
This 7702bd6 is quite better.
from cotp.
Yeah you are right. 0f8fa30 this could be the final step. Let me know.
Thank you, regards
from cotp.
Nice, I like that esc
lets me exit out of the find without exiting out of the whole program.
So my nitpicks would be:
- I don't like that when you use find the whole screen gets taken up. If possible, I think it would be nice to put it in a margin/overlay, maybe over the
cotp v0.2.0
text, or below the progress bar.
For example, this is how bottom does it:
https://i.nuuls.com/xgp3h.png
- This is probably more annoying to do, but while using find, it should instead of only grabbing item on enter, track to closest item you're typing, with like a contains/similarity, and highlight them accordingly as you type. While only actually copying the item on enter. Since
esc
is already an exit for find, double enter seems unnecessary (as long as there is an overlay/margin like I mentioned in1.
).
from cotp.
Nice, much better. Now there's really only this nitpick:
2. This is probably more annoying to do, but while using find, it should instead of only grabbing item on enter, track to closest item you're typing, with like a contains/similarity, and highlight them accordingly as you type. While only actually copying the item on enter. Since
esc
is already an exit for find, double enter seems unnecessary.
from cotp.
Perfect!
The only minor nitpick I could have is that the search box should support either, ctrl + w
and/or ctrl + backspace
, for deleting the whole word
from cotp.
The only minor nitpick I could have is that the search box should support either, ctrl + w and/or ctrl + backspace, for deleting the whole word
Done with CTRL-W. Thank you for your advices.
from cotp.
ctrl w/backspace is typically for single word deletion, but this is close enough, Ty for being so receptive ❤️
from cotp.
Related Issues (20)
- Error editing entry HOT 4
- Use color-eyre crate for error handling
- Configure Cache in CI/CD
- Use once_cell crate for lazy initialization
- Export to widely know format HOT 3
- Migrate to ratatui as tui-rs is unmainteined
- [Feature request] Is it possible to add URI string format support for both import and export HOT 13
- [Feature request] Is it possible to support some kind(s) portable mode? HOT 11
- [Feature request] Is it possible to add a Page Up/Down page navigation feature for the UI HOT 1
- Consider using the xdg specification HOT 6
- Chromium 117 freezes for several seconds when attempting to paste the token
- Minor typo s/chages/changes HOT 1
- convert export.cotp HOT 7
- The automated release is failing 🚨
- How can I use Cotp with Microsoft Teams? HOT 1
- Should downstream packaging include importers? HOT 4
- Feature Request: A way to share HOTP/TOTP URI outside of QR encoding HOT 2
- No way to import OTP URIs as strings (from stdin or arguments) without files HOT 4
- `cotp import --otp-uri --path [file]` doesn't seem to work HOT 2
- Feature request: add subcomannd `list` to list entries HOT 3
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 cotp.