Skip to content
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

WIP: feat(renderer): share provider #8

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

ulivz
Copy link
Collaborator

@ulivz ulivz commented Jan 21, 2025

Summary

Introducing a configurable Share Provider to handle report sharing via a custom HTTP endpoint.

Snapshots

Success Fail
image image

Example

POST /api/share

Uploads a file and returns its accessible URL

Headers
Content-Type: multipart/form-data

Parameters
file (binary, required) - File to upload

Success Response
200 OK

{
  "url": "string"
}

Type

  • Bug Fix
  • Feature
  • Chore

Changes

  • Add Share Provider Endpoint setting
  • Implement API call to Share Provider when configured
  • Show error notifications for failed uploads
  • Maintain original sharing logic when no provider is configured

Unresolved issue

Server-side authentication.

@ulivz ulivz force-pushed the feat/share-provider branch from af5e029 to 1abb49a Compare January 21, 2025 19:02
@ulivz ulivz changed the title feat(renderer): share provider WIP: feat(renderer): share provider Jan 22, 2025
@ycjcl868 ycjcl868 added the enhancement New feature or request label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants