-
-
Notifications
You must be signed in to change notification settings - Fork 474
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
[WIP] Inline reply for Windows notifications #670
base: main
Are you sure you want to change the base?
Conversation
@Swapnilr1 thanks for working on this! I was struggling with similar options for this particular npm module, and raised an issue after digging around. Check out this issue (a helpful place to start would be checking your Visual Studio Tools version). I haven't gotten around to that yet. |
@kanishk98 My VS versions are right, actually the problem is even after I configure I am waiting for a response to https://stackoverflow.com/questions/54923137/how-to-install-node-win-shortcut-by-using-npm |
Hi @Swapnilr1 I was also struggling with the same problem (could not find a declaration file for module) but i was working with an another module though i was able to use its function does this apply same for you? by the way you can fix this check fail by writing code according to rules. |
@rrhythmsharma Yes, actually while doing
Sorry, but I didn't really get what you meant here. You mean you were able to execute functions from the module despite the |
@Swapnilr1 yes, i was able to execute function from the module despite the |
@rrhythmsharma That's interesting. Which module were you working with? In my case, it was not working, I put a |
@Swapnilr1 module was screencapture |
@kanishk98 @rrhythmsharma OK it turns out that installing Also, yes the missing type declaration was not an issue. Turns, out the error log for why I could not get any function to run was in Developer Tools for the active tab, and not in Developer Tools for the main app. I finally got a toast notification to get displayed: except that it displays 4 notifications at once. And I need to fill the content for notifications. Still some time to go before inline replies are supported, but I am optimistic that now that the modules are working, I should be able to finish this by March end. |
I think electron-builder does handle this problem (building the native modules). |
@akashnimare Yes, probably when an installable version is made by electron-builder it won't be an issue, but for the development version which is run by Also, is it just me or is it a known issue that the development version of Windows crashes on file changes (it tries to restart the app upon file changes but crashes?) |
I want to implement this, but I am not able to find the time right now. I will be able to continue working on this after a week. Both |
@Swapnilr1 cool. Let me know if you need any help. |
@akashnimare I would really like to work on this, but I won't be able to find time till selected students for Google Summer of Code are announced because I am busy contributing to projects I am applying to. If this is a high priority feature, I will leave it to someone else and can offer assistance in resolving issues with VS Build Tools etc. |
If Akash agree than I would like to work on this |
@rrhythmsharma feel free to claim. |
@akashnimare Is somebody else working on this? Or can I continue working on this? |
you can continue working on this |
@priyank-p @akashnimare I finally got inline replies working - although I am using a work-around which leads to display of two notifications. This PR is not ready to merge yet, so I need some help to fix issues. Let me know if you need any help in installing the packages on your machines. Hope to get it merged soon. |
Cool, I'll check it out on Windows. |
Heads up @Swapnilr1, we just merged some commits that conflict with the changes your made in this pull request! You can review this repository's recent commits to see where the conflicts occur. Please rebase your feature branch against the |
What's this PR do?
This is a work-in-progress. Closes #392
Any background context you want to provide?
Screenshots?
You have tested this PR on:
This is starting work to first display WinRT notifications using the
electron-windows-notifications
package. This is not at all fit for review.At the moment I am not able to get a toast notification or be able to get the code to run (I tried by using logger and seeing the log files). VS Code gives the following message:
Could not find a declaration file for module 'electron-windows-notifications'
, even though I have successfully installed the package with npm.I have based
winrt-notifications.js
ondarwin-notifications.js
. From what I understand,helpers.js
is platform-independent module which I can get data from to display notification and as well as for inline reply.Despite many attempts, I have not been able to install
electron-windows-interactive-notifications
on my system, so I have not added that part.Any help is much appreciated. I will try to complete this feature in incremental commits.