microsoft / microsoft/ApplicationInsights-JS

[Offline Support] offline support plugin can't be added to extensions of core config now, it can only be added through addPlugin

Open
#2,292 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
685
Forks
261
Avg merge
21h 33m
Merged PRs (30d)
5

Description

Current way of adding offline support plugin: [here](https://github.com/microsoft/ApplicationInsights-JS/tree/main/channels/offline-channel-js#basic-usage
)

Offline support depends on Sender Channel to get request details, so sender channel has to be initialized before offline support plugin.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the offline support plugin's Basic Usage documentation in channels/offline-channel-js and trace how core configuration and addPlugin initialize extensions. Check how the Sender Channel provides request details and how initialization order is enforced. Done means offline support can be configured as a core extension while still receiving the required Sender Channel details.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.