Skip to content

Commit

Permalink
Add new store screenshots and popup. Add preview page (for use in dev…
Browse files Browse the repository at this point in the history
…elopment for generating said screenshots). Update README.
  • Loading branch information
tbrockman committed May 27, 2024
1 parent 33933e5 commit ba86866
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
A [Plasmo](https://docs.plasmo.com/) browser extension that automatically instruments webpages with [OpenTelemetry](https://opentelemetry.io/docs/what-is-opentelemetry/).

[Download it](https://chromewebstore.google.com/detail/opentelemetry-browser-ext/bgjeoaohfhbfabbfhbafjihbobjgniag), refresh your pages, and start sending OTLP logs and traces.
[Download it](https://chromewebstore.google.com/detail/opentelemetry-browser-ext/bgjeoaohfhbfabbfhbafjihbobjgniag), refresh your pages, and start recording OTLP logs and traces in your browser.

## Preview

Expand Down
4 changes: 2 additions & 2 deletions assets/store/overview.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
An extension for instrumenting webpages using OpenTelemetry

Generate trace and capture logs to piece together your frontend and backend problems, without writing all the boilerplate and making your users download more Javascript.
Generate traces and capture logs to piece together your frontend and backend problems, all without adding any dependencies and making your users download more Javascript.

Free and open-source: https://github.com/tbrockman/opentelemetry-browser-extension

In very early development, if you notice anything is broken please make an issue!
In early development, if you notice anything is broken please make an issue!
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/store/popup-configuration-screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/store/popup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/tabs/preview.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.popup-container {
width: 640px;
}
7 changes: 7 additions & 0 deletions src/tabs/preview.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import IndexPopup from "~popup"

import '~tabs/preview.css'

export default function PreviewPage() {
return process.env.NODE_ENV === 'development' ? <IndexPopup /> : null
}
1 change: 1 addition & 0 deletions src/utils/app-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { getWithDefaults } from "./storage"

import type { Storage } from "@plasmohq/storage"

// TODO: decide what we're going to store as app data for diagnosing telemetry export issues
export type AppData = {
lastExportError?: string
lastExportErrorTimestamp?: number
Expand Down

0 comments on commit ba86866

Please sign in to comment.