Skip to content

[ENHANCEMENT] add client package#137

Open
shahrokni wants to merge 1 commit into
mainfrom
feat/create-client
Open

[ENHANCEMENT] add client package#137
shahrokni wants to merge 1 commit into
mainfrom
feat/create-client

Conversation

@shahrokni
Copy link
Copy Markdown
Contributor

@shahrokni shahrokni commented May 20, 2026

Description

Adds the client package and removes the remaining core dependencies.

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.

UI Changes

  • Changes that impact the UI include screenshots and/or screencasts of the relevant changes.
  • Code follows the UI guidelines.
  • E2E tests are stable and unlikely to be flaky.
    See e2e docs for more details. Common issues include:
    • Is the data inconsistent? You need to mock API requests.
    • Does the time change? You need to use consistent time values or mock time utilities.
    • Does it have loading states? You need to wait for loading to complete.

@shahrokni shahrokni force-pushed the feat/create-client branch 4 times, most recently from 39f0887 to b77d72b Compare May 21, 2026 10:03
@shahrokni shahrokni marked this pull request as ready for review May 21, 2026 10:05
@shahrokni shahrokni requested a review from a team as a code owner May 21, 2026 10:05
@shahrokni shahrokni requested review from jgbernalp and removed request for a team May 21, 2026 10:05
Comment thread client/README.md Outdated
Comment thread dashboards/package.json
},
},
// TODO should we add @perses-dev/spec here ?
'@perses-dev/core': {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If we remove this we need to add the client package

@jgbernalp
Copy link
Copy Markdown
Contributor

The plugin system has a duplicated definition of the DatasourceDefinition. Maybe we should search in the code if there are other occurrences of this duplicated interfaces

Comment thread client/tsconfig.json Outdated
@shahrokni
Copy link
Copy Markdown
Contributor Author

shahrokni commented May 22, 2026

The plugin system has a duplicated definition of the DatasourceDefinition. Maybe we should search in the code if there are other occurrences of this duplicated interfaces

I was aware of that blunder and had planned to get rid of it. Thank you for reminding me. I almost forgot!
And, this should be the only one as far as I know.

@shahrokni shahrokni requested a review from jgbernalp May 22, 2026 12:25
@shahrokni shahrokni marked this pull request as draft May 22, 2026 12:30
@shahrokni shahrokni marked this pull request as ready for review May 22, 2026 13:39
@shahrokni shahrokni force-pushed the feat/create-client branch 2 times, most recently from 4df95ba to 8d1d7f0 Compare May 22, 2026 14:03
'@perses-dev/core': {
version: '0.53.1',
lib: () => require('@perses-dev/core'),
'@perses-dev/client': {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This would mean this is a breaking change, because the plugin system no longer exposes the core package. It would be better to mark this PR as BREAKINGCHANGE

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

On second thought maybe it will be better to include both, at least for one version so migration can be done smoothly. WDYT?

@shahrokni shahrokni force-pushed the feat/create-client branch from 8d1d7f0 to 6330c8b Compare May 22, 2026 15:07
@shahrokni shahrokni changed the title [ENHANCEMENT] add client package [BREAKINGCHANGE] add client package May 22, 2026
@shahrokni shahrokni changed the title [BREAKINGCHANGE] add client package [ENHANCEMENT] add client package May 22, 2026
@shahrokni shahrokni force-pushed the feat/create-client branch from 6330c8b to ac55600 Compare May 22, 2026 15:11
Signed-off-by: Seyed Mahmoud SHAHROKNI <seyedmahmoud.shahrokni@amadeus.com>

Signed-off-by: Seyed Mahmoud SHAHROKNI <seyedmahmoud.shahrokni@amadeus.com>

Signed-off-by: Seyed Mahmoud SHAHROKNI <seyedmahmoud.shahrokni@amadeus.com>

Signed-off-by: Seyed Mahmoud SHAHROKNI <seyedmahmoud.shahrokni@amadeus.com>

Signed-off-by: Seyed Mahmoud SHAHROKNI <seyedmahmoud.shahrokni@amadeus.com>

Signed-off-by: Seyed Mahmoud SHAHROKNI <seyedmahmoud.shahrokni@amadeus.com>

Signed-off-by: Seyed Mahmoud SHAHROKNI <seyedmahmoud.shahrokni@amadeus.com>

Signed-off-by: Seyed Mahmoud SHAHROKNI <seyedmahmoud.shahrokni@amadeus.com>

Signed-off-by: Seyed Mahmoud SHAHROKNI <seyedmahmoud.shahrokni@amadeus.com>

Signed-off-by: Seyed Mahmoud SHAHROKNI <seyedmahmoud.shahrokni@amadeus.com>

Signed-off-by: Seyed Mahmoud SHAHROKNI <seyedmahmoud.shahrokni@amadeus.com>

Signed-off-by: Seyed Mahmoud SHAHROKNI <seyedmahmoud.shahrokni@amadeus.com>

Signed-off-by: Seyed Mahmoud SHAHROKNI <seyedmahmoud.shahrokni@amadeus.com>

Signed-off-by: Seyed Mahmoud SHAHROKNI <seyedmahmoud.shahrokni@amadeus.com>

Signed-off-by: Seyed Mahmoud SHAHROKNI <seyedmahmoud.shahrokni@amadeus.com>

Signed-off-by: Seyed Mahmoud SHAHROKNI <seyedmahmoud.shahrokni@amadeus.com>
@shahrokni shahrokni force-pushed the feat/create-client branch from ac55600 to 7577657 Compare May 22, 2026 15:13
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.

2 participants