Open source packages to work with fogbender.com

Overview

img

Fogbender Open-Source Software

Open source packages to work with https://fogbender.com

What is Fogbender?

Fogbender is a helpdesk product for supporting customer teams (not individuals). Check out our website to learn more.

What is this repository?

This repository contains the source code of Fogbender packages published to npm. Here, you can learn how those packages are built, as well as contribute by filing issues and creating pull requests.

Which packages?

  • fogbender-proto - low-level package that allows you to connect to our real-time WebSocket API (you'll need this if you want to create your own Fogbender chat application or bot).
  • fogbender - vanilla JavaScript module to embed the Fogbender Widget on your website
  • fogbender-react - React wrapper for fogbender to embed the Fogbender Widget on your website
  • fogbender-vue - experimental Vue wrapper for fogbender to embed the Fogbender Widget on your website

Examples

Comments
  • process.env support in qgp

    process.env support in qgp

    improve qgp templates with support for REACT_APP env variables and proper compatibility of process.env

    • improve instructions
    • skipReactAppEnv to disable REACT_APP behavior
    opened by JLarky 2
  • qgp (Quark–gluon plasma): turn SPA into Astro app with Vite powered HMR

    qgp (Quark–gluon plasma): turn SPA into Astro app with Vite powered HMR

    This is a very initial release; no docs or README yet.

    Thanks to Qwik team (BuilderIO) for the code for qwik add (inspired by astro add) that powers qgp add https://github.com/BuilderIO/qwik/tree/main/packages/qwik/src/cli

    Templates are in a very early stage, but here's an example of usage:

    npx create-react-app my-app
    cd my-app
    npm install qgp@latest
    npx qgp add qgp
    mv src/App.js src/App.jsx
    yarn start-qgp
    
    npx qgp add astro
    

    also works but requires you to rename more files from .js to .jsx :)

    opened by JLarky 2
  • feat(fogbender-element): improved simplewidget , fogbender provider and render functions

    feat(fogbender-element): improved simplewidget , fogbender provider and render functions

    1: Improved the fogbender simple widget and removed redundant code. 2: Implemented context and provider of component-register package and removed solid-js context and provider logic. 3: Util files changes , fixed render I frame and cleanup stuff. 4: Version update

    opened by karannakra 2
  • [ci] release

    [ci] release

    This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

    Releases

    [email protected]

    Patch Changes

    • 921fdaf: add npx qgp create
    opened by fogbender-oss-app[bot] 1
  • [ci] release

    [ci] release

    This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

    Releases

    [email protected]

    Patch Changes

    • aabfe59: update instructions
    • d3881dc: update astro template
    opened by fogbender-oss-app[bot] 1
  • [ci] release

    [ci] release

    This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

    Releases

    [email protected]

    Patch Changes

    • c693e7c: support process.env.REACT_APP env variables
    opened by fogbender-oss-app[bot] 1
  • [ci] release

    [ci] release

    This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

    Releases

    [email protected]

    Patch Changes

    • 8c17117: initial and very buggy release of qgp
    opened by fogbender-oss-app[bot] 1
  • [ci] release

    [ci] release

    This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

    Releases

    [email protected]

    Patch Changes

    • ba3692d: Add ability to associate an existing room with a) new issue b) existing issues
    • 0bf682f: Add shared_channel_helpdesk_associations to Integration type
    • ab0e64f: proto: add thumbnailDataUrl in Attachment schema
    • bb368cb: proto: Add support for Roster.GetRooms in schema
    • c2e1d73: fogbender proto: add search customer type in schema and modify event customer type to support additional fields
    • 28afb97: Return issueTag in Integration.Ok response to Integration.CreateIssue
    • e916761: use AuthorType in MentionIn; fix EventMessage schema to add missing fields
    • a9dc5d0: server can send badge that is null in a roster section element
    • 272555c: improvements to roster sections (experimental api)
    • f6ab857: update type of Integration
    • 00e334f: remove unused roomByName, orderWeight
    • acc9393: add isLoading to useIssues
    • 8c808e1: proto: update to typescript 4.8.4
    • 2eaa0d3: fix lastIncomingMessage (and a lot of things that depend on it) in React 18
    • a358690: proto: show room creator
    • c6e4871: Message.Update now supports updating fileIds
    • 081d075: convert fromNameOverride from null to undefined
    • bcb606a: add fileExpirationTs to Attachment to mark client when S3 url is going to expire
    • 2ba7804: proto add Message.RefreshFiles RPC
    • 86234c3: proto: improve types; remove implicit anys
    • 8e31c5f: refactor: mark type imports
    • 26103a0: useHelpdeskUsers - enables an agent to work with a roster limited to a single helpdesk
    • bdade2c: specify exact integrations for integration type
    • b2c84e5: use stricter but not strictest tsconfig
    • 974b249: proto: add resolveRoom, unresolveRoom
    • 638c969: proto: add useHelpdeskRooms
    • a958576: proto: add resolved and resolvedCount
    • 4506254: proto: add name to Event.Agent; add name, email, createdTs to users in Event.User
    • 86fe242: oops, forgot to use useMemo here
    • 031b392: Switch room resolver to Roster.GetRooms from Search.Room
    • 37c4349: rename type File to Attachment so that it doesn't conflict with browser's global File type
    • 5a5d31a: Unify 'author type' into actual type, add support for fromName and fromAvatarUrl overrides; use AuthorType in Reaction schema
    • 992ceb4: proto: lastMessage lives on room intead of badge now
    • 245e317: update types for react to 17 (it will not with 18 yet)
    • 51c253a: start using Customer type from proto

    [email protected]

    Patch Changes

    • 245e317: update types for react to 17 (it will not with 18 yet)
    opened by fogbender-oss-app[bot] 1
  • [ci] release

    [ci] release

    This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

    Releases

    [email protected]

    Patch Changes

    • 8fdf54d: update npm install instructions in readme

    [email protected]

    Patch Changes

    • 8fdf54d: update npm install instructions in readme
    • 4a91aee: implement <fogbender-unread-badge />
    • Updated dependencies [8fdf54d]

    [email protected]

    Patch Changes

    • 8fdf54d: update npm install instructions in readme

    [email protected]

    Patch Changes

    • 8fdf54d: update npm install instructions in readme
    • Updated dependencies [8fdf54d]

    [email protected]

    Patch Changes

    • 8fdf54d: update npm install instructions in readme
    • 9e6e47b: implement FogbenderUnreadBadge
    • Updated dependencies [8fdf54d]
    opened by fogbender-oss-app[bot] 1
  • feat(fogbender-element): improved fogbender simplewidget and its utilites

    feat(fogbender-element): improved fogbender simplewidget and its utilites

    Package Name Fogbender Element

    Changes Implemented

    1: Improved simple widget 2: Implemented provider component and render I frame logic 3: integerated simplewidget and provider in index.html file

    opened by karannakra 1
  • add separate entry point for node/server to fogbender-element

    add separate entry point for node/server to fogbender-element

    https://stackblitz.com/edit/node-sdykxj?file=index.js

    running "node index.js" crashes server because this package is incompatible with server environments

    image

    we need to have separate server/browser entries for fogbender-element similar to how we do it for fobbender:

    image
    opened by JLarky 1
  • update fognbeder-element README

    update fognbeder-element README

    Let's use https://www.npmjs.com/package/fogbender as the templates. Add https://codepen.io/jlarky/pen/vYjVYxM?editors=1010 as an example. Also we need to add fogbender-element to main README

    opened by JLarky 1
  • add tubro support

    add tubro support

    we use https://turborepo.org/ in our main project, and we can reuse something like https://github.com/withastro/astro/blob/main/turbo.json as a template

    opened by JLarky 0
  • it should be possible to set custom logic when resizing support iframe

    it should be possible to set custom logic when resizing support iframe

    In fogbender package adaptIFrame function is called to change iframe size when window is resizing.

    We already have disableFit option in renderIframe. So we might want to support that prop in fogbender-react or add a new one that can do custom resizing logic:

        const onResize = (el: HTMLIFrameElement) => {
          el.style.height = `${window.innerHeight - 60}px`;
        };
    

    so to override resizing logic, we can simply add something like this in adaptIFrame:

        if (onResize) {
          return onResize(iFrame);
        }
    
    opened by JLarky 0
Owner
null
A JavaScript Library To Make Your Work Work Easier/Faster

Functionality.js (beta) About ✍️ This Is A JavaScript Library To Make Your Work Easier/Faster, You Can See Functionalty.js Website From Here Project C

Ali-Eldeba 9 May 25, 2022
A JavaScript Library To Make Your Work Work Easier/Faster

Functionality.js About ✍️ This Is A JavaScript Library To Make Your Work Easier/Faster, You Can See Functionalty.js Website From Here Project Created

functionality 16 Jun 23, 2022
🏆Open source, free project management/issue tracking software to manage your work and projects

WorkClever ?? Open source, free project management/issue tracking software to manage your work and projects Features General Free to use, open source

WorkClever 11 Dec 27, 2022
an open-source package to make it easy and simple to work with RabbitMQ's RPC ( Remote Procedure Call )

RabbitMQ Easy RPC (Remote Procedure Call ) The Node.js's RabbitMQ Easy RPC Library rabbitmq-easy-RPC is an easy to use npm package for rabbitMQ's RPC

Ali Amjad 4 Sep 22, 2022
Reference for How to Write an Open Source JavaScript Library - https://egghead.io/series/how-to-write-an-open-source-javascript-library

Reference for How to Write an Open Source JavaScript Library The purpose of this document is to serve as a reference for: How to Write an Open Source

Sarbbottam Bandyopadhyay 175 Dec 24, 2022
An Open-Source Platform to certify open-source projects.

OC-Frontend This includes the frontend for Open-Certs. ?? After seeing so many open-source projects being monetized ?? without giving any recognition

Open Certs 15 Oct 23, 2022
Shikhar 4 Oct 9, 2022
This is a project for open source enthusiast who want to contribute to open source in this hacktoberfest 2022. 💻 🎯🚀

HACKTOBERFEST-2022-GDSC-IET-LUCKNOW Beginner-Hacktoberfest Need Your first pr for hacktoberfest 2k22 ? come on in About Participate in Hacktoberfest b

null 8 Oct 29, 2022
An users NodeJS API without packages libs or frameworks!

NodeJS Users API - Without Frameworks And Packages ?? Table of Contents About Getting Started Usage Built Using Authors ?? About Purpose of this proje

Nathan Cotrim Lemos 31 Feb 7, 2022
Demonstration of how you build full-stack, typed, NPM packages, the right way

NPM Packages - The Right way This repository aims to demonstrate how to build NPM packages the right way. my-package should import the shared code, bu

VulcanJS 61 Nov 27, 2022
Detect npm packages by author name in your package-lock.json or yarn.lock.

detect-package-by-author Detect npm packages by author name in your package-lock.json or yarn.lock. Install Install with npm: # Not Yet Publish # npm

azu 2 Jan 11, 2022
A set of javascript packages that generates fake data for you.

Faker A set of javascript packages that generates fake data for you. Install $ npm install --save @fakerjs/faker Usage import faker from '@fakerjs/fa

The New Faker for JavaScript 33 Apr 18, 2022
Semantic Release plugin to create and publish NuGet packages.

semantic-release-nuget semantic-release plugin to create and publish a NuGet package. Step Description verifyConditions Verify the presence of the NUG

DroidSolutions 6 Jan 2, 2023
Solidex is a list of SolidJS ecosystem resources and packages.

Solidex The following is a list of articles, packages and other resources that focus on the SolidJS ecosystem. Solidex is a platform for listing and m

Solid 7 Dec 18, 2022
Package fetcher is a bot messenger which gather npm packages by uploading either a json file (package.json) or a picture representing package.json. To continue...

package-fetcher Ce projet contient un boilerplate pour un bot messenger et l'executable Windows ngrok qui va permettre de créer un tunnel https pour c

AILI Fida Aliotti Christino 2 Mar 29, 2022
Unified-myst is a monorepo containing packages for using MyST

unified-myst (IN-DEVELOPMENT) unified-myst is a monorepo containing packages for using MyST (Markedly Structured Text), within the unified ecosystem.

Executable Books 5 Apr 14, 2022
A little CLI for making TypeScript packages, cleanly and effortlessly.

TSEX A little CLI for making TypeScript packages, cleanly and effortlessly. Install npm install -g tsex Usage Usage: tsex [options] [command] A littl

Fabio Spampinato 6 Nov 15, 2022
Get packages from a monorepo (pnpm, yarn, npm, lerna)

?? You can help the author become a full-time open-source maintainer by sponsoring him on GitHub. @egoist/get-packages Get packages from a monorepo (p

EGOIST 45 Jun 1, 2022
🪵 Aggressively find a packages changelog (or releases) between versions.

?? changelogd Aggressively find a packages changelog (or releases) between versions. Status: Early Access Please report any issues ?? Made possible by

Harlan Wilton 8 May 10, 2022