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: UTIO (UI-TARS Insights and Observation) #8

Closed
wants to merge 5 commits into from

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
@ulivz ulivz force-pushed the feat/share-provider branch from c036849 to f4468fa Compare January 26, 2025 01:25
Copy link

codecov bot commented Jan 26, 2025

Codecov Report

Attention: Patch coverage is 0% with 11 lines in your changes missing coverage. Please review.

Project coverage is 14.13%. Comparing base (68264fe) to head (f4468fa).
Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
src/renderer/src/utils/share.ts 0.00% 10 Missing ⚠️
src/main/window/index.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #8      +/-   ##
==========================================
- Coverage   14.27%   14.13%   -0.14%     
==========================================
  Files          40       41       +1     
  Lines        1037     1047      +10     
  Branches      171      173       +2     
==========================================
  Hits          148      148              
- Misses        865      875      +10     
  Partials       24       24              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@CLAassistant
Copy link

CLAassistant commented Jan 26, 2025

CLA assistant check
All committers have signed the CLA.

@ulivz ulivz force-pushed the feat/share-provider branch 10 times, most recently from 80d5ba4 to 5e58094 Compare January 26, 2025 14:29
@ulivz ulivz changed the title WIP: feat(renderer): share provider WIP: UTIO (UI-TARS Insights and Observation) Jan 26, 2025
@ulivz ulivz force-pushed the feat/share-provider branch 3 times, most recently from 13080e7 to a4a3f3b Compare January 26, 2025 14:54
@ulivz ulivz force-pushed the feat/share-provider branch from a4a3f3b to 9129bee Compare January 26, 2025 14:58
@ulivz ulivz closed this Jan 26, 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.

3 participants