Skip to content

[Feature] Allow users to use the keyboard to get access to the main features of the LFD. #427

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 10, 2020

Conversation

YaroslavOvdii
Copy link
Contributor

@YaroslavOvdii YaroslavOvdii commented Aug 27, 2020

@sofiiakvasnevska

Issue

https://github.com/Fliplet/fliplet-studio/issues/6423

Description

Allow users to use the keyboard to get access to the main features of the LFD.

Screenshots/screencasts

https://share.getcloudapp.com/z8u82qKx

Backward compatibility

This change is fully backward compatible.

Reviewers

@upplabs-alex-levchenko

Notes

This PR should be merged before we merge this one

@sofiiakvasnevska sofiiakvasnevska self-assigned this Aug 27, 2020
@@ -247,7 +256,11 @@ DynamicList.prototype.attachObservers = function() {
}
});
})
.on('click', '.news-feed-detail-overlay-close, .news-feed-detail-overlay-screen', function(event) {
.on('click keydown', '.news-feed-detail-overlay-close, .news-feed-detail-overlay-screen', function(event) {
if (event.type !== 'click' && event.keyCode !== 32 && event.keyCode !== 13) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why isn't this updated too?

Suggested change
if (event.type !== 'click' && event.keyCode !== 32 && event.keyCode !== 13) {
if (!_this.Utils.Event.isExecute(event)) {

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tonytlwu removed

Copy link
Contributor

@tonytlwu tonytlwu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sofiiakvasnevska This is ready for testing

Risk: High
Affected: All click-able features in LFD
Verify: Verify all click-able features in LFD work as usual

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants