Giter Club home page Giter Club logo

javascript-sdk's Issues

Native ESM not supported

When I write:

import Gleap from 'gleap'

Gleap.initialize('abc123')

I get the error:

Property 'initialize' does not exist on type 'typeof import("<omitted>/node_modules/gleap/index")'.

This seems to happen specifically if I have "type": "module" in package.json and "moduleResolution": "nodenext" in tsconfig.json.

Workaround I'm using for now:

import Gleap from 'gleap'

const Gleap = GleapModule as any as typeof GleapNamespace

Gleap.initialize('abc123')

Feature Request: more characters of the description used for Trello Title

Hi there,

since Trello has almost no limit in regards to title length, it seems pretty harsh to cut the title mid word to 15 char.
See example below.

The way its implemented now, we need to edit each cards title after reporting the bug to get a good overview.
Extending the title limit to either the first Sentence and/or take the first few words could eliminate this "labeling" step.

image

Greetings,

Mark

screenshot capturing does not record modal boxes

Hi there!

First, congrats to the very nice product, we are seeing significant speed up to our bug reporting process!

One issue we recently found is that screenshots from modal boxes are not recorded correctly.
E.g. when a user tried to report the UI bug of the sign in form below, the received screenshot does no show the modal itself.

Actual Screen:
image

Reported Screenshot from Bug Battle:
76DXEAXt9Hp6k75sE690hoDAqhDjX7

Greetings,

Mark

Keep README + documentation up-to-date

Version: "bugbattle": "^3.3.0",

The README + documentation is not up-to-date with the actual available options in the SDK.

Example:

The README still tells you, you can use custom data using the following option:

image

While the actual available option is:

BugBattle.attachCustomData({
    test1: 'Battle',
    data2: 'Unicorn',
});

Network logging not working

Version: "bugbattle": "^3.3.0",

Using the following to enable network logging does not work.
In the Bugbattle dashboard, the the network logging is not captured and tells you to still enable the logging.

BugBattle.enableNetworkLogger();

image

`Gleap.updateContact()` types don't allow `null` to remove data

This should be possible:

Removing data

Update are run incrementally. If you want to remove data, you can do so by adding a key value pair with null as value.

Gleap.updateContact({
  keyToDelete: null
});

โ€” https://docs.gleap.io/javascript/user-identity#removing-data

But the types don't allow null:

JavaScript-SDK/index.d.ts

Lines 120 to 131 in 98804a6

function updateContact(
customerData: {
name?: string;
email?: string;
phone?: string;
value?: number;
companyId?: string;
companyName?: string;
plan?: string;
customData?: object;
}
): void;

Filtering network logs issue

Hello,

I need to filter from the network logs some nested keys, and reading the documentation it looks like I can do that by using Gleap.setNetworkLogPropsToIgnore(["api-key", "user.password", "..."]).

The actual behaviour is that the nested keys are not removed. It seems like only top level keys are filtered.

We are using Graphql and our requests payload are in a format of

"variables": {  "input": {
"key1": "value"  ,
"key2": "value"
}}

Trying to filter only key2 won't work.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.