Skip to content
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

feat: async dismiss #693

Merged
merged 6 commits into from
Nov 18, 2024
Merged

feat: async dismiss #693

merged 6 commits into from
Nov 18, 2024

Conversation

kirillzyusko
Copy link
Owner

@kirillzyusko kirillzyusko commented Nov 15, 2024

📜 Description

Make dismiss method async to get rid off boilerplate/utilities functions in main project.

💡 Motivation and Context

Originally this idea was suggested by @terrysahaidak. Before many projects had its own implementation of this method. But @terrysahaidak suggested and I agreed that it would be better to keep this method directly inside the library.

📢 Changelog

Docs

  • include methods signature in methods description;

JS

  • changed mock implementation;
  • make dismiss method async;
  • create module file;
  • set global listeners for KeyboardEvents inside module file;

🤔 How Has This Been Tested?

Tested on CI.

📝 Checklist

  • CI successfully passed
  • I added new mocks and corresponding unit-tests if library API was changed

@kirillzyusko kirillzyusko added documentation Improvements or additions to documentation enhancement New feature or request 🚨 requires API changes 🚨 Changes that requires changes in library API labels Nov 15, 2024
@kirillzyusko kirillzyusko self-assigned this Nov 15, 2024
Copy link
Contributor

github-actions bot commented Nov 15, 2024

PR Preview Action v1.4.8
Preview removed because the pull request was closed.
2024-11-18 13:22 UTC

Copy link
Contributor

github-actions bot commented Nov 15, 2024

📊 Package size report

Current size Target Size Difference
160875 bytes 159557 bytes 1318 bytes 📈

Copy link

argos-ci bot commented Nov 15, 2024

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) ✅ No changes detected - Nov 18, 2024, 12:27 PM

@kirillzyusko kirillzyusko added the example Anything related to example project label Nov 16, 2024
@kirillzyusko kirillzyusko marked this pull request as ready for review November 18, 2024 12:19
@kirillzyusko kirillzyusko merged commit 80d8972 into main Nov 18, 2024
17 checks passed
@kirillzyusko kirillzyusko deleted the feat/async-dismiss branch November 18, 2024 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request example Anything related to example project 🚨 requires API changes 🚨 Changes that requires changes in library API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant