Skip to content

Feature/share link embed#38

Merged
mosshello merged 5 commits intomasterfrom
feature/share-link-embed
Apr 2, 2026
Merged

Feature/share link embed#38
mosshello merged 5 commits intomasterfrom
feature/share-link-embed

Conversation

@zjhong
Copy link
Copy Markdown
Contributor

@zjhong zjhong commented Apr 2, 2026

Summary

Describe the change in one or two paragraphs. Include the motivation and any linked issue.

Fixes #

Change Type

  • Bug fix
  • Feature
  • Documentation
  • Refactor
  • Build / tooling
  • Maintenance

Affected Areas

  • Studio
  • Embed
  • Data source
  • Widget SDK
  • CLI
  • Built-in widgets
  • Docs

Validation

List the commands you ran and the result.

# example
pnpm typecheck
pnpm test

Screenshots or Recordings

Add screenshots, recordings, or before/after notes for UI, embed, or docs UX changes.

Checklist

  • My PR title follows Conventional Commits
  • I kept the change scoped to the task
  • I updated docs for user-facing changes
  • I added screenshots or recordings when the change affects UI or embed flows
  • I ran the relevant checks for this change

zjhong and others added 5 commits April 2, 2026 18:32
- Add shareToken, shareExpiry, shareEnabled fields to Dashboard schema
- Implement share link CRUD APIs:
  - POST /api/v1/dashboards/:id/share - create share link
  - GET /api/v1/dashboards/:id/share - get share info (masked)
  - DELETE /api/v1/dashboards/:id/share - revoke share link
  - GET /api/v1/dashboards/:id/validate-share - validate share link (no auth)
- Update API client to support skipAuth option
- Add createShareLink, validateShareLink, revokeShareLink, getShareInfo functions
- Update EmbedPage to support shareToken parameter
- Maintain backward compatibility with SSO token flow

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Comprehensive API documentation
- Frontend integration examples
- ThingsPanel integration guide
- Security best practices
- Migration guide from SSO Token
- FAQ and troubleshooting

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Dialog for creating and managing share links
- Support for setting expiration time (1/7/30 days or never)
- Copy share URL to clipboard
- Revoke share link functionality
- Show expiration status
- Responsive UI with loading states

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Summary of completed tasks and implementation details for share link feature.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mosshello mosshello merged commit 2ae7ff6 into master Apr 2, 2026
1 check failed
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