Open tdan opened 1 year ago
That would be fantastic. Have you experience with Wordpress and javascript?
I have been working with Wordpress for about 5 years: customizing sites, themes and plugins, and has written a plugin for a customer before. I learned about Javascript through working with Wordpress, mostly in jQuery and some vanilla JS scripts. Absolute love Typescript though, it makes coding in JS much more pleasant.
That's great. How would like to proceed?
What's the best way to create a plugin?
I have already developed the base Javascript functions, the @feelback/js
package contains the main function sendFeedback
which does most of the job.
There's a these scenaro to start with:
How do plug custom HTML in an wordpress page layout?
I'll create a repo for the plugin here or on Gitlab if you want privacy.
I think we don't need to use any JS functions, the API you have is good enough. We can use Wordpress widget to plug this HTML code to the website:
<div class="feelback-container" data-feelback-set="id-from-panel">
<span>Do you like this page?</span>
<button data-feelback-value="y">Yes</button>
<button data-feelback-value="n">No</button>
</div>
data-feelback-set
value can be pull from API.
I didn’t fully understand what you mean, but let’s go for it and show me what you have in mind.
You can start with the Like button or the Upvote question. Let me know if you need support.
From: Trung An (An Đức Trung) @.> Sent: Tuesday, July 18, 2023 4:34:10 AM To: giuseppelt/feelback-integrations @.> Cc: Giuseppe La Torre @.>; Comment @.> Subject: Re: [giuseppelt/feelback-integrations] Wordpress Plugin (Issue #1)
I'll create a repo for the plugin here or on Gitlab if you want privacy.
I think we don't need to use any JS functions, the API you have is good enough. We can use Wordpress widget to plug this HTML code to the website:
`
Do you like this page? Yes No ` data-feelback-set value can be pull from API.
— Reply to this email directly, view it on GitHubhttps://github.com/giuseppelt/feelback-integrations/issues/1#issuecomment-1639188239, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABWQ6GYIKTBWS44RYS2ZAEDXQXY2FANCNFSM6AAAAAA2MAQNLM. You are receiving this because you commented.Message ID: @.***>
Hi,
I stumbled up on Feelback through your blog post "Architecture of an early stage SAAS". I think this is a very cool and niche app. I'm wondering if you are currently working on any Wordpress plugin. If not, I'd like to attempt it and get it done as soon as possible.
Thank you.