npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

awesome-feedbacky

v1.0.3

Published

## Contents

Downloads

1

Readme

Feedbacky

Contents

Feedbacky: A Feedback is a product integrable with web applications.

What Is Feedbacky?

  • Feedbacky is a product developed to gather comments and feedbacks of customers about their user experiences. It is integrable with web applications. You can follow the steps to easily use it.

Demo

  • Feedbacky Demo https://feedbacky-demo.netlify.app/

  • A button with icon and modal exists at demo. It can be integrated to other projects following the steps below. The development of background at homepage or wherever Feedbacky is used up to the user.

Usages

Feedbacky can be integrated to web projects through 2 different ways.

  • By NPM Package
  • By CDN

Usage Via NPM

  • You can follow to steps to install the NPM package, import the Feedbacky component and use it.

Install

npm i awesome-feedbacky

Import Component

import { Feedbacky } from "awesome-feedbacky";

Use The Component

export const App = () => {
  return (
    <>
      <Feedbacky
        googleSheetId="95a57d16-dcc3-4f57-8e24-dfbba8e9e786"
        modalSuccessTitle="Thanks for sharing your feedback!"
        sendButtonText="Send Feedback"
        nameInputPlaceholder="Name"
        surnameInputPlaceholder="Surname"
        feedbackInputPlaceholder="Feedback?"
        modalSuccessIconSize={100}
        modalSuccessIconColor="green"
        feedbackyButtonIconSize={45}
        modalTitle="Share what you think with us..."
      />
    </>
  );
};
  • Important Note:

    The props except googleSheetId are optional. If they are not sent, the default values will be used.

Usage Via CDN

  • Feedbacky can be integrated also by CDN with script tags.

  • Go to main HTML file. (index.html)

feedbacky-container

  • Add a div element with the ID of feedbacky-container.
<div id="feedbacky-container"></div>

CDN

  • Add CDN using script tag.
<script src="https://cdn.jsdelivr.net/npm/[email protected]/index.js"></script>
Add New Script Tag For Props
<script>
    feedbacky.run({
        googleSheetId: "95a57d16-dcc3-4f57-8e24-dfbba8e9e786",
        modalSuccessTitle: "Thanks for sharing your feedback!",
        sendButtonText: "Send Feedback",
        nameInputPlaceholder: "Your Name",
        surnameInputPlaceholder: "Your Surname",
        feedbackInputPlaceholder: "Your Feedback",
        modalSuccessIconSize: 100,
        modalSuccessIconColor: "green",
        feedbackyButtonIconSize: 45,
        modalTitle: "Share what you think with us...",
    });
</script>
  • Important Note:

    Remember that the props except googleSheetId are optional. If they are not sent, the default values will be used.

Prop Types Table

| Prop Name | Prop Type | Value (E.G.) | | :------------------------- | :-------- | :------------------------------------- | | googleSheetId | string | "95a57d16-dcc3-4f57-8e24-dfbba8e9e786" | | modalSuccessTitle | string | "Thanks for sharing your feedback!" | | sendButtonText | string | "Send Feedback" | | nameInputPlaceholder | string | "Your Name..." | | surnameInputPlaceholder | string | "Your Surname..." | | feedbackInputPlaceholder | string | "Your Feedback..." | | modalSuccessIconSize | number | 100 | | modalSuccessIconColor | string | green | | feedbackyButtonIconSize | number | 45 | | modalTitle | string | "Share what you think with us..." |

How To Get A Google Sheet Id?

  • The data is saved in a Google Sheet file for Feedbacky App. You need to send a value for googleSheetId prop to use it.

  • Go to Google Sheets to create a blank sheet or use an existing one. https://www.google.com/sheets/about/

  • Open an online table and rename it.

  • Change settings for your share options. (Private or Public etc.)

  • Copy your link for your Google Sheet table.

  • Go to sheet.best.

  • Sheet.best turns spreadsheets into REST APIs. Connect a gsheet or a csv to anything.

  • Sign In with your Google account.

  • Click on "Add your first connection to start".

  • Connection Name: FeedbackData,

  • Connection URL: Paste here your Google Sheet File link,

  • Click connect (connection created successfully).

  • Go to the admin panel for sheet.best. https://sheet.best/admin

  • Go to details for your connection. (FeedbackData)

  • Get Connection URL: E.g: https://sheet.best/api/sheets/e4dbe27a-31e1-4578-a692-9b85b15dc39e googleSheetId: e4dbe27a-31e1-4578-a692-9b85b15dc39e

  • Use this URL for the post request API. (E.g: axios.post())

  • Use this ID as your googleSheetId value.

Additional Notes

Notes: Here is the additional part for the development notes.

  • I used console.log() at main.tsx to add the feedbacky.run() method to the bundle.