Comments (11)
The implementation of shortcuts is done. Now we need create a window to show to the user shortcuts available
from pixelated-user-agent.
I did QA on this issue.
Most of the shortcuts works fine, except for the previous and next emails.
Another thing to point is that the send shortcut only works with control and doesn't support command. This may not be so intuitive for mac users.
ps: there's no unit tests for this feature :(
from pixelated-user-agent.
I also tested here and found one not expected behavior:
when I press "ctrl + enter" to send an email, one more line is added on the email.
from pixelated-user-agent.
I reverted it, because the focus logic broke the all the functional tests, I'll move this back to the backlog for now
from pixelated-user-agent.
Another bug: it is not possible to copy any text because it triggers the compose shortcut
from pixelated-user-agent.
I implemented that feature using linux, it means that I didn't test using "command" just implemented for "Shift", "Ctrl" and "Alt" on shortcuts, that I guess is the issue.
from pixelated-user-agent.
i started working on this in a fork https://github.com/treppo/pixelated-user-agent/tree/keyboard-shortcuts.
does it make sense to merge this in pieces, say a piece for opening and closing the compose box with the and keys or do a big pull request once the feature is completely implemented?
i wonder if this should be tested by a feature test. i wrote one for it (treppo@1b6d8b2) but can't get it to work – the screenshots tell me it doesn't open the compose box when i send a . i'm not very familiar with python-selenium and not too sure if calling #send_keys on the body tag is the problem.
from pixelated-user-agent.
so far implemented:
- Previous mail on the list/move up: Up or "k"
- Next mail on the list/move down: Down or "j"
- Check current email's checkbox: x
- Close open email: Esc
- Send: Command/Control + Enter
- Compose: c
- Focus on search input: / or "s"
- Tag email (open "new tag" input): t
- Open keyboard shortcuts map: ?
- Reply: r
- Reply to all: a
- Forward: f
- Delete: #
from pixelated-user-agent.
hello!
I would suggest you open a PR from that branch, even if it is not ready, so we can follow you on the solution and help seeing the code.
from pixelated-user-agent.
@treppo A good thing would be to create a pull request with the base implementation (the base for using and creating shortcuts) and then implement them on your pace, with pull requests for the changes.
from pixelated-user-agent.
@bwagnerr I opened the PR to track the progress. I don't quite know how I should make a base for shortcuts as I think they work just as any other flightjs component.
So far I've implemented all the shortcuts that don't change the state of the mail list (as I think that will be the most complicated part).
from pixelated-user-agent.
Related Issues (20)
- Retrieve webapp admins HOT 1
- Mailboxes created from within Pixelated are not compatible with Bitmask IMAP HOT 1
- Error: Attachment with 'None' id HOT 1
- Disable action buttons right after a request
- declare missing dependencies HOT 2
- use treq instead of requests HOT 1
- display inline attachments if they are of a recognized image type
- Plan postmorten @ face2face
- Logout is not present after login
- UnicodeEncodeError HOT 4
- deprecate the usage of requests HOT 2
- Change config path from ~/.leap/pixleated to ~/.config/leap/pixelated
- Long startup, only mails from before start
- Generated packages fail with leap.soledad.client._crypto.InvalidBlob HOT 4
- Error when running `vagrant up` HOT 17
- Tests fail with "ImportError: No module named multibackend" HOT 4
- Cannot generate GPG keys when using GPG 2.1 HOT 1
- Split node modules into production and development groups HOT 6
- Vagrant doesn't allow symlinks on shared folders HOT 1
- AttributeError: 'NoneType' object has no attribute 'checkcache'
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 pixelated-user-agent.