8000 [DOC] Update embedding panels guide with latest recommendations by sjcobb · Pull Request #2899 · perses/perses · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[DOC] Update embedding panels guide with latest recommendations #2899

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 6, 2025

Conversation

sjcobb
Copy link
Member
@sjcobb sjcobb commented May 5, 2025

Description

Update guide with breaking changes, latest recommendations now that perses/plugins packages are published: https://perses.dev/perses/docs/embedding-panels/

I tested this in repo here:

See Slack thread.

Checklist

  • Pull request has a descriptive title and context useful to a reviewer.
  • Pull request title follows the [<catalog_entry>] <commit message> naming convention using one of the
    following catalog_entry values: FEATURE, ENHANCEMENT, BUGFIX, BREAKINGCHANGE, DOC,IGNORE.
  • All commits have DCO signoffs.

Signed-off-by: Steven Cobb <steven@chronosphere.io>
@sjcobb sjcobb marked this pull request as ready for review May 5, 2025 17:00
@sjcobb sjcobb requested a review from Nexucis May 5, 2025 17:03
@jgbernalp
Copy link
Contributor

I think the react-create-app part does not apply anymore as is not supported anymore.

@sjcobb
Copy link
Member Author
sjcobb commented May 5, 2025

I think the react-create-app part does not apply anymore as is not supported anymore.

Oh yeah good call, I used this command to setup my example (https://github.com/sjcobb/perses-embed-panel):

npm create vite@latest perses-embed-panel -- --template react-ts

But not sure this guide even needs to be that opinionated, I might just remove that line and assume the user knows how to bootstrap a React app 🤔

@celian-garcia
Copy link
Member

Hi @sjcobb thank you for updating it! Yeah I put that example command as I was myself beginner enough in React to not now how to spawn a project at this time 😄 So I thought it could be useful. But if you think this is something too obvious to be mentioned, you can remove it.

FYI I'm testing it today to update our little embedded code, so I will be a tester for that PR 🙂

@celian-garcia
Copy link
Member

Dummy reaction. I have this blindly following what you told.

~/IdeaProjects
cd perses-embed-panel/
~/IdeaProjects/perses-embed-panel
npm i --save @perses-dev/components \
  @perses-dev/plugin-system @perses-dev/timeseries-chart-plugin \
  @perses-dev/prometheus-plugin @perses-dev/dashboards \
  @tanstack/react-query \
  @mui/material \
  @emotion/styled @hookform/resolvers
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: perses-embed-panel@0.0.0
npm error Found: react@19.1.0
npm error node_modules/react
npm error   react@"^19.1.0" from the root project
npm error   peer react@"^17.0.0 || ^18.0.0 || ^19.0.0" from @mui/material@6.4.11
npm error   node_modules/@mui/material
npm error     @mui/material@"*" from the root project
npm error     peer @mui/material@"^6.1.10" from @perses-dev/components@0.51.0-beta.1
npm error     node_modules/@perses-dev/components
npm error       @perses-dev/components@"*" from the root project
npm error   4 more (@emotion/react, @emotion/styled, @pigment-css/react, react-dom)
npm error
npm error Could not resolve dependency:
npm error peer react@"^17.0.2 || ^18.0.0" from @perses-dev/components@0.51.0-beta.1
npm error node_modules/@perses-dev/components
npm error   @perses-dev/components@"*" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /Users/cegarcia/.npm/_logs/2025-05-06T10_15_04_213Z-eresolve-report.txt
npm error A complete log of this run can be found in: /Users/cegarcia/.npm/_logs/2025-05-06T10_15_04_213Z-debug-0.log

I guess it's because perses doesn't support yet react 19. Worth to mention it probably?

@celian-garcia
Copy link
Member

Apart from that, I followed the diff and succeeded to upgrade my Perses dep 🙂. Work like a charm!

Signed-off-by: Steven Cobb <steven@chronosphere.io>
@sjcobb
Copy link
Member Author
sjcobb commented May 6, 2025

I guess it's because perses doesn't support yet react 19. Worth to mention it probably?

Oh good catch, I adjusted the commands to ensure react 18 is used and added a note about not supporting react 19 yet (wonder how much work that will be in the future)

@sjcobb
Copy link
Member Author
sjcobb commented May 6, 2025

Hi @sjcobb thank you for updating it! Yeah I put that example command as I was myself beginner enough in React to not now how to spawn a project at this time 😄 So I thought it could be useful. But if you think this is something too obvious to be mentioned, you can remove it.

Ended up linking to the official React docs since they are pretty thorough / go over pros and cons of different approaches

Copy link
Member
@celian-garcia celian-garcia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great that's pretty neat to me, thanks!

@sjcobb sjcobb added this pull request to the merge queue May 6, 2025
Merged via the queue into main with commit 7657b2f May 6, 2025
34 of 36 checks passed
@sjcobb sjcobb deleted the steven/docs-embed-panels branch May 6, 2025 16:54
AdityaPimpalkar pushed a commit to AdityaPimpalkar/perses that referenced this pull request May 9, 2025
…es#2899)

* [DOC] Update embedding panels guide with latest recommendations

Signed-off-by: Steven Cobb <steven@chronosphere.io>

* add note about react 19, adjust install cmd

Signed-off-by: Steven Cobb <steven@chronosphere.io>

---------

Signed-off-by: Steven Cobb <steven@chronosphere.io>
Signed-off-by: Aditya Pimpalkar <adipimpalkar@gmail.com>
vicmiletsky pushed a commit to logzio/perses that referenced this pull request May 20, 2025
* [ENHANCEMENT] make proxy authorization optional (perses#2802)

Signed-off-by: Gabriel Bernal <gbernal@redhat.com>

* [ENHANCEMENT] CLI/PLUGIN: build includes the version in the archive name (perses#2804)

Signed-off-by: Augustin Husson <husson.augustin@gmail.com>

* [ENHANCEMENT] CLI/DAC: ignore a list of pre-defined folder when building dashboard (perses#2800)

Signed-off-by: Augustin Husson <husson.augustin@gmail.com>

* [ENHANCEMENT] allow insecureSkipVerify to be optional defaulting to false (perses#2803)

Signed-off-by: Gabriel Bernal <gbernal@redhat.com>

* [BREAKINGCHANGE] Plugin: when extracting plugin archive, perses includes the archivename as at top folder (perses#2806)

Signed-off-by: Augustin Husson <husson.augustin@gmail.com>

* [DOC] Mention plugin builders in CUE SDK doc (perses#2769)

Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>

* [ENHANCEMENT] adding extra args support dac build (perses#2801)

* [ENHANCEMENT] adding extra args support dac build

Signed-off-by: Nicolas Takashi <nicolas.tcs@hotmail.com>

* [CHORE] adding args to cue

Signed-off-by: Nicolas Takashi <nicolas.tcs@hotmail.com>

* [CHORE] adding args to cue

Signed-off-by: Nicolas Takashi <nicolas.tcs@hotmail.com>

---------

Signed-off-by: Nicolas Takashi <nicolas.tcs@hotmail.com>

* [BUGFIX] CUE SDK: fix "cannot reference optional field" error (perses#2812)

Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>

* Release v0.51.0-beta.1 (perses#2809)

Signed-off-by: Augustin Husson <husson.augustin@gmail.com>

* [ignore] update goreleaser config (perses#2805)

Signed-off-by: Augustin Husson <husson.augustin@gmail.com>

* [ignore] fix release condition for  cue sdk (perses#2816)

Signed-off-by: Augustin Husson <husson.augustin@gmail.com>

* Bump github.com/perses/plugins/timeserieschart (perses#2826)

Bumps [github.com/
8000
perses/plugins/timeserieschart](https://github.com/perses/plugins) from 0.0.0-20250211161353-0a08d3cdcbd5 to 0.5.0.
- [Release notes](https://github.com/perses/plugins/releases)
- [Commits](https://github.com/perses/plugins/commits/table/v0.5.0)

---
updated-dependencies:
- dependency-name: github.com/perses/plugins/timeserieschart
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github.com/huandu/go-sqlbuilder from 1.34.0 to 1.35.0 (perses#2820)

Bumps [github.com/huandu/go-sqlbuilder](https://github.com/huandu/go-sqlbuilder) from 1.34.0 to 1.35.0.
- [Release notes](https://github.com/huandu/go-sqlbuilder/releases)
- [Commits](huandu/go-sqlbuilder@v1.34.0...v1.35.0)

---
updated-dependencies:
- dependency-name: github.com/huandu/go-sqlbuilder
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github.com/go-sql-driver/mysql from 1.9.0 to 1.9.1 (perses#2819)

Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/go-sql-driver/mysql/releases)
- [Changelog](https://github.com/go-sql-driver/mysql/blob/master/CHANGELOG.md)
- [Commits](go-sql-driver/mysql@v1.9.0...v1.9.1)

---
updated-dependencies:
- dependency-name: github.com/go-sql-driver/mysql
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* [BUGFIX] `dac preview`: fix nil pointer error for brand new dashboards (perses#2817)

Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>

* [IGNORE] Add new schemas in common lib (perses#2830)

* [IGNORE] Add new schemas in common lib

Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>

* ignore youtube links in doc validation

Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>

---------

Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>

* [FEATURE] Table: add optional pagination (perses#2811)

* [FEATURE] Table: add optional pagination

Signed-off-by: Andreas Gerstmayr <agerstmayr@redhat.com>

* set getPaginationRowModel only when pagination is enabled

Signed-off-by: Andreas Gerstmayr <agerstmayr@redhat.com>

* fix bug when switching from paginated to unpaginated

Signed-off-by: Andreas Gerstmayr <agerstmayr@redhat.com>

---------

Signed-off-by: Andreas Gerstmayr <agerstmayr@redhat.com>

* [ENHANCEMENT] use singleton and lazy initialization for plugin runtime (perses#2833)

Signed-off-by: Gabriel Bernal <gbernal@redhat.com>

* [DOC] Add top key 'security' required for the oidc/oauth2 config (perses#2815)

Signed-off-by: Augustin Husson <husson.augustin@gmail.com>

* Bump github.com/perses/plugins/timeserieschart in /go-sdk/test (perses#2824)

Bumps [github.com/perses/plugins/timeserieschart](https://github.com/perses/plugins) from 0.0.0-20250211164300-9fe475c5d750 to 0.5.0.
- [Release notes](https://github.com/perses/plugins/releases)
- [Commits](https://github.com/perses/plugins/commits/table/v0.5.0)

---
updated-dependencies:
- dependency-name: github.com/perses/plugins/timeserieschart
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github.com/perses/plugins/table in /go-sdk/test (perses#2822)

Bumps [github.com/perses/plugins/table](https://github.com/perses/plugins) from 0.0.0-20250211164300-9fe475c5d750 to 0.5.0.
- [Release notes](https://github.com/perses/plugins/releases)
- [Commits](https://github.com/perses/plugins/commits/table/v0.5.0)

---
updated-dependencies:
- dependency-name: github.com/perses/plugins/table
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* [ignore] update go deps (perses#2836)

Signed-off-by: Augustin Husson <husson.augustin@gmail.com>

* [DOC] Remove duplicated section (perses#2837)

Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>

* [ENHANCEMENT] Add OAuth auth type to Secret UI (perses#2838)

* [[ENHANCEMENT] Add OAuth auth type to Secret UI

Signed-off-by: Douglass Kirkley <doug.kirkley@gmail.com>

* [IGNORE] fix secret oauth validation

Signed-off-by: Gabriel Bernal <gbernal@redhat.com>

---------

Signed-off-by: Douglass Kirkley <doug.kirkley@gmail.com>
Signed-off-by: Gabriel Bernal <gbernal@redhat.com>
Co-authored-by: Douglass Kirkley <dkirkley@eitccorp.com>

* [BREAKINGCHANGE] CLI/PLUGIN: implement start command and deep review of how to load a dev plugin (perses#2831)

* [BREAKINGCHANGE] CLI/PLUGIN: implement start command and deep review of how to load a dev plugin

Signed-off-by: Augustin Husson <husson.augustin@gmail.com>

* add a stream to prefix the output for each plugin

Signed-off-by: Augustin Husson <husson.augustin@gmail.com>

* use color to differentiate the plugins log

Signed-off-by: Augustin Husson <husson.augustin@gmail.com>

* use sygterm to ensure all process are killed properly

Signed-off-by: Augustin Husson <husson.augustin@gmail.com>

* move struct pluginInDev to v1

Signed-off-by: Augustin Husson <husson.augustin@gmail.com>

* add command description and examples

Signed-off-by: Augustin Husson <husson.augustin@gmail.com>

---------

Signed-off-by: Augustin Husson <husson.augustin@gmail.com>

* Fix the markdown syntax in docs/configuration/configuration.md (perses#2847)

This leftover line
 ```bash
starts a not existing verbatim block that is not closed
and hence mixes up the markdown syntax.

This line was introduced in this commit:
perses@a0707f1#diff-17f1012e0c2fbd9bcd8dff3c23b18ff4b6676eef3beca6f8a3e72e6a36633334R69

Signed-off-by: Istvan Zoltan Ballok <istvan.zoltan.ballok@sap.com>

* Bump github.com/prometheus/promu from 0.17.0 to 0.18.0 (perses#2848)

Bumps [github.com/prometheus/promu](https://github.com/prometheus/promu) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/prometheus/promu/releases)
- [Changelog](https://github.com/prometheus/promu/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prometheus/promu/commits)

---
updated-dependencies:
- dependency-name: github.com/prometheus/promu
  dependency-version: 0.18.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github.com/go-sql-driver/mysql from 1.9.1 to 1.9.2 (perses#2849)

Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) from 1.9.1 to 1.9.2.
- [Release notes](https://github.com/go-sql-driver/mysql/releases)
- [Changelog](https://github.com/go-sql-driver/mysql/blob/master/CHANGELOG.md)
- [Commits](go-sql-driver/mysql@v1.9.1...v1.9.2)

---
updated-dependencies:
- dependency-name: github.com/go-sql-driver/mysql
  dependency-version: 1.9.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump cuelang.org/go from 0.12.0 to 0.12.1 (perses#2853)

Bumps cuelang.org/go from 0.12.0 to 0.12.1.

---
updated-dependencies:
- dependency-name: cuelang.org/go
  dependency-version: 0.12.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github.com/mholt/archives from 0.1.0 to 0.1.1 (perses#2854)

Bumps [github.com/mholt/archives](https://github.com/mholt/archives) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/mholt/archives/releases)
- [Commits](mholt/archives@v0.1.0...v0.1.1)

---
updated-dependencies:
- dependency-name: github.com/mholt/archives
  dependency-version: 0.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* [IGNORE] Add avalanche in dev env (perses#2857)

Signed-off-by: Guillaume LADORME <Gladorme@users.noreply.github.com>

* [BUGFIX] StatChart: remove unneccessary scrollbars due to rounding (perses#2839)

* [BUGFIX] StatChart: remove unneccessary scrollbars due to rounding

ECharts rounds the height to the nearest integer by default.
This can cause unneccessary scrollbars when the total height of this chart exceeds the 'height' prop.

For example:
height = 74px
font height = 18.5px
computed chart height = 55.5px

55.5 is rounded up to 56px in ECharts (or MUI?), and then 56px (chart) + 18.5px (font) > 74px,
causing the rendering of scrollbars.

Signed-off-by: Andreas Gerstmayr <agerstmayr@redhat.com>

* support style prop in <EChart> component

Signed-off-by: Andreas Gerstmayr <agerstmayr@redhat.com>

---------

Signed-off-by: Andreas Gerstmayr <agerstmayr@redhat.com>

* [ENHANCEMENT] Add histograns typing (perses#2858)

Signed-off-by: Guillaume LADORME <Gladorme@users.noreply.github.com>

* [BUGFIX] Fix OAuth struct parse errors + typo in json (perses#2862)

* [BUGFIX] Fix OAuth struct parse errors + typo in json

Signed-off-by: Célian Garcia <celian.garcia@amadeus.com>

* [BUGFIX] Fix validation conditions in OAuth struct

Signed-off-by: Célian Garcia <celian.garcia@amadeus.com>

---------

Signed-off-by: Célian Garcia <celian.garcia@amadeus.com>

* [BUGFIX] Read clientSecretFile when configuring rest client with oauth (perses#2863)

Signed-off-by: Célian Garcia <celian.garcia@amadeus.com>

* [BUGFIX] Fix improper state update in `GridLayout` useMemo (perses#2846)

* Fix GridLayout improper state

Signed-off-by: OrReuben <orreuven1243@gmail.com>

* Comments

Signed-off-by: OrReuben <orreuven1243@gmail.com>

---------

Signed-off-by: OrReuben <orreuven1243@gmail.com>

* [IGNORE] Implement workaround for timeseriestable plugin (perses#2865)

Signed-off-by: Guillaume LADORME <Gladorme@users.noreply.github.com>

* [ENHANCEMENT] Remove the `cue login` step (perses#2867)

Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>

* [FEATURE] Implement plugin list display page (perses#2842)

* feat(router): add Plugins route and view ✨

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* feat(plugins): add PluginsList component to display plugins ✨

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* feat(plugins): fetch and display plugins in PluginsList component ✨

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* feat(plugins): handle errors with snackbar notification ✨

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* feat(plugins): list of plugins

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* feat(plugins): enhance PluginsList with plugin details display ✨

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* feat(plugins): add plugin details dialog and view button ✨

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* feat(plugins): add view button for multiple plugins in card actions ✨

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* style(plugins): adjust grid size and hover effects for cards 🎨

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* refactor(plugins): simplify plugin details rendering and remove CardActions 🔄

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* style(plugins): change button color to info for plugin details 🎨

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* refactor(plugins): improve layout and styling for plugin list 🔄

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* feat(plugins): add PluginDetailsDialog for viewing plugin details ✨

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* refactor(plugins): enhance PluginDetailsDialog layout and styling 🔄

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* feat(plugins): add loading indicator to PluginsList component ✨

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* fix(plugins): handle error display in PluginsList component 🐛

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* fix(plugins): integrate snackbar for error handling in PluginsList 🐛

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* chore(plugins): add license comments to PluginDetailsDialog and PluginsList 🔄

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* feat(config): add accordion layout for server and plugin configuration ✨

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* refactor(plugins): remove Plugins route and update routing 🔄

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* style(Header): remove unnecessary padding and margin 🎨

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* chore(Header): remove unused import for cleaner code 🔄

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* refactor(ConfigView): replace Accordion with Tabs as suggested

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* refactor(ConfigView):
incorporate review comments

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* review comment fix

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* use tanstack

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* style(PluginsList): remove unnecessary component prop from Typography 🎨

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* chore(plugin-client): update copyright and license information 🔄

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* refactor(PluginDetailsDialog): use perses Dialog 🎨

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* revert

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

---------

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* [BREAKING] core: switch the trace data model to OpenTelemetry (OTLP) (perses#2873)

Previously, the Tempo plugin received traces in OTLP format, transformed
it into a custom Perses data model (a span tree), and passed it to the
TracingGanttChart plugin.

Retrospectively, I think this wasn't ideal, and the data model transformation
should be moved from the data source (Tempo) to the panel plugin
(e.g. TracingGanttChart), because:

* using a standard input format like OTLP is better for adoption by other
  panel plugins
* some plugins might not need a span tree, i.e. computing the span tree
  is a waste of compute resources
* some edge cases (partial traces) are better handled at the panel plugin
  (e.g. TracingGanttChart)

This is the change for the core data model, I already prepared the
change for the Tempo and TracingGanttChart plugins in a separate PR.

It is a breaking change for plugins which use the trace data model,
not for end users, if the respective plugins are updated at the same time.

Signed-off-by: Andreas Gerstmayr <agerstmayr@redhat.com>

* [DOC] Add kubecon pres to the list of materials (perses#2872)

Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>

* Bump github.com/prometheus/client_model from 0.6.1 to 0.6.2 (perses#2870)

* Bump github.com/prometheus/client_model from 0.6.1 to 0.6.2

Bumps [github.com/prometheus/client_model](https://github.com/prometheus/client_model) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/prometheus/client_model/releases)
- [Commits](prometheus/client_model@v0.6.1...v0.6.2)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_model
  dependency-version: 0.6.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* go mod tidy in test files

Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>

* [IGNORE] Update README (perses#2880)

Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>

* [DOC] Document some of the not-resource-related API endpoints (perses#2874)

* [DOC] Document some of the not-resource-related API endpoints

Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>

* fix typo

Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>

---------

Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>

* [BUGFIX] Dashboard import: fix wrong form reset + UX improvements (perses#2881)

* fix import json

Signed-off-by: trouaux <t.rouaux@gmail.com>

* npm lint

Signed-off-by: trouaux <t.rouaux@gmail.com>

* npm lint

Signed-off-by: trouaux <t.rouaux@gmail.com>

---------

Signed-off-by: trouaux <t.rouaux@gmail.com>

* [BUGFIX] timeseries tooltip: new assembleTransform logic for tooltip position (perses#2878)

* new assembleTransform logic

Signed-off-by: trouaux <t.rouaux@gmail.com>

* update dev test dashboard

Signed-of
67E6
f-by: trouaux <t.rouaux@gmail.com>

* npm lint

Signed-off-by: trouaux <t.rouaux@gmail.com>

* npm lint

Signed-off-by: trouaux <t.rouaux@gmail.com>

---------

Signed-off-by: trouaux <t.rouaux@gmail.com>

* Bump github.com/google/cel-go from 0.24.1 to 0.25.0 (perses#2883)

Bumps [github.com/google/cel-go](https://github.com/google/cel-go) from 0.24.1 to 0.25.0.
- [Release notes](https://github.com/google/cel-go/releases)
- [Commits](google/cel-go@v0.24.1...v0.25.0)

---
updated-dependencies:
- dependency-name: github.com/google/cel-go
  dependency-version: 0.25.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* [FEATURE] Allow to configure CORS (perses#2861)

* [FEATURE] Allow to configure CORS

CORS is needed in order to host the frontend independently from the backend.

Signed-off-by: Vincent Primault <vincent.primault@gmail.com>

* add test

Signed-off-by: Vincent <vincent.primault@gmail.com>

* move

Signed-off-by: Vincent Primault <vincent.primault@gmail.com>

* fix

Signed-off-by: Vincent Primault <vincent.primault@gmail.com>

---------

Signed-off-by: Vincent Primault <vincent.primault@gmail.com>
Signed-off-by: Vincent <vincent.primault@gmail.com>

* [ENHANCEMENT] Enable Datasource Variables (perses#2876)

* [ENHANCEMENT] Refactor plugin metadata handling to use PluginType and add utility functions for variable state management

Signed-off-by: OrReuben <orreuven1243@gmail.com>

* license

Signed-off-by: OrReuben <orreuven1243@gmail.com>

* Up

Signed-off-by: OrReuben <orreuven1243@gmail.com>

* Fixes

Signed-off-by: OrReuben <orreuven1243@gmail.com>

---------

Signed-off-by: OrReuben <orreuven1243@gmail.com>

* [BUGFIX] Adjust mousemove listener to fix navigator undef error (perses#2886)

Signed-off-by: Steven Cobb <steven@chronosphere.io>

* [BUGFIX] Config: hide secret in the datasource discovery (perses#2888)

Signed-off-by: Augustin Husson <husson.augustin@gmail.com>

* Add kubebuilder annotation to common.URL (perses#2891)

Signed-off-by: Douglass Kirkley <doug.kirkley@gmail.com>

* [ENHANCEMENT] Plugin: add a status to know if the plugin is loaded and in dev (perses#2898)

Signed-off-by: Augustin Husson <husson.augustin@gmail.com>

* [FEATURE] CLI: list the plugins (perses#2889)

Signed-off-by: Augustin Husson <husson.augustin@gmail.com>

* Bump golangci/golangci-lint-action from 6.5.1 to 8.0.0 (perses#2828)

* [ignore] bump go deps (perses#2900)

Signed-off-by: Augustin Husson <husson.augustin@gmail.com>

* [DOC] Update embedding panels guide with latest recommendations (perses#2899)

* [DOC] Update embedding panels guide with latest recommendations

Signed-off-by: Steven Cobb <steven@chronosphere.io>

* add note about react 19, adjust install cmd

Signed-off-by: Steven Cobb <steven@chronosphere.io>

---------

Signed-off-by: Steven Cobb <steven@chronosphere.io>

* Bump golang.org/x/crypto from 0.36.0 to 0.38.0 (perses#2851)

* Bump golang.org/x/crypto from 0.36.0 to 0.37.0

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.36.0 to 0.37.0.
- [Commits](golang/crypto@v0.36.0...v0.37.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.37.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix go mod for tests

Signed-off-by: Augustin Husson <husson.augustin@gmail.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Augustin Husson <husson.augustin@gmail.com>

* Bump golang.org/x/oauth2 from 0.28.0 to 0.30.0 (perses#2894)

* Bump golang.org/x/oauth2 from 0.28.0 to 0.30.0

Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.28.0 to 0.30.0.
- [Commits](golang/oauth2@v0.28.0...v0.30.0)

---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
  dependency-version: 0.30.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix go mod for tests

Signed-off-by: Augustin Husson <husson.augustin@gmail.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Augustin Husson <husson.augustin@gmail.com>

* Bump github.com/perses/plugins/table from 0.5.0 to 0.6.0 in /go-sdk/test (perses#2896)

Bumps [github.com/perses/plugins/table](https://github.com/perses/plugins) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/perses/plugins/releases)
- [Commits](perses/plugins@table/v0.5.0...table/v0.6.0)

---
updated-dependencies:
- dependency-name: github.com/perses/plugins/table
  dependency-version: 0.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github.com/perses/plugins/timeserieschart (perses#2897)

Bumps [github.com/perses/plugins/timeserieschart](https://github.com/perses/plugins) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/perses/plugins/releases)
- [Commits](perses/plugins@table/v0.5.0...table/v0.6.0)

---
updated-dependencies:
- dependency-name: github.com/perses/plugins/timeserieschart
  dependency-version: 0.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github.com/perses/plugins/timeserieschart in /go-sdk/test (perses#2895)

Bumps [github.com/perses/plugins/timeserieschart](https://github.com/perses/plugins) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/perses/plugins/releases)
- [Commits](perses/plugins@table/v0.5.0...table/v0.6.0)

---
updated-dependencies:
- dependency-name: github.com/perses/plugins/timeserieschart
  dependency-version: 0.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* [ignore] add @ibakshay as a team member (perses#2902)

Signed-off-by: Augustin Husson <husson.augustin@gmail.com>

* [FEATURE] Add zoom in/zoom out buttons (perses#2810)

* [FEATURE] Add zoom in/zoom out buttons

Signed-off-by: Lucio Crusca <lucio@sulweb.org>

* [IGNORE] fix go format

---------

Signed-off-by: Lucio Crusca <lucio@sulweb.org>
Co-authored-by: Gabriel Bernal <gbernal@redhat.com>

* [IGNORE] update plugin deps in test cue modules (perses#2903)

* [IGNORE] update plugin deps in test cue modules

Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>

* update unit test

Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>

---------

Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>

* [ignore] upgrade all plugins (perses#2907)

Signed-off-by: Augustin Husson <husson.augustin@gmail.com>

* Release v0.51.0-rc.0 (perses#2908)

Signed-off-by: Augustin Husson <husson.augustin@gmail.com>

---------

Signed-off-by: Gabriel Bernal <gbernal@redhat.com>
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>
Signed-off-by: Nicolas Takashi <nicolas.tcs@hotmail.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Andreas Gerstmayr <agerstmayr@redhat.com>
Signed-off-by: Douglass Kirkley <doug.kirkley@gmail.com>
Signed-off-by: Istvan Zoltan Ballok <istvan.zoltan.ballok@sap.com>
Signed-off-by: Guillaume LADORME <Gladorme@users.noreply.github.com>
Signed-off-by: Célian Garcia <celian.garcia@amadeus.com>
Signed-off-by: OrReuben <orreuven1243@gmail.com>
Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>
Signed-off-by: trouaux <t.rouaux@gmail.com>
Signed-off-by: Vincent Primault <vincent.primault@gmail.com>
Signed-off-by: Vincent <vincent.primault@gmail.com>
Signed-off-by: Steven Cobb <steven@chronosphere.io>
Signed-off-by: Lucio Crusca <lucio@sulweb.org>
Co-authored-by: Gabriel Bernal <gbernal@redhat.com>
Co-authored-by: Augustin Husson <husson.augustin@gmail.com>
Co-authored-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>
Co-authored-by: Nicolas Takashi <nicolas.tcs@hotmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andreas Gerstmayr <agerstmayr@redhat.com>
Co-authored-by: Douglass Kirkley <dkirkley@eitccorp.com>
Co-authored-by: Istvan Ballok <istvan.zoltan.ballok@sap.com>
Co-authored-by: Guillaume LADORME <Gladorme@users.noreply.github.com>
Co-authored-by: Célian GARCIA <celian.garcia@amadeus.com>
Co-authored-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>
Co-authored-by: Thomas Rouaux <33913696+trouaux@users.noreply.github.com>
Co-authored-by: Vincent Primault <vincent.primault@gmail.com>
Co-authored-by: Steven Cobb <sjcobb.dev@gmail.com>
Co-authored-by: Douglass Kirkley <doug.kirkley@gmail.com>
Co-authored-by: Lucio Crusca <lucio@sulweb.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0