Skip to content

feat: add Vue component library with modal - #77

Closed
onmax wants to merge 9 commits into
mainfrom
feat/vue-component-library
Closed

feat: add Vue component library with modal#77
onmax wants to merge 9 commits into
mainfrom
feat/vue-component-library

Conversation

@onmax

@onmax onmax commented Oct 7, 2025

Copy link
Copy Markdown
Member

Summary

Refactors the feedback widget into a proper Vue 3 component library with dual distribution formats (ESM/CJS + UMD).

Changes

Component Library

  • New @nimiq/feedback-widget package with proper exports
  • FeedbackModal component (modal wrapper)
  • FeedbackWidget component (base widget)
  • Full TypeScript support

Playground

  • New /playground with Vue 3 + TypeScript
  • E2E tests migrated from backend
  • Component usage examples

Documentation

  • Restructured into /docs folder (6 files)
  • getting-started.md, vue-integration.md, vanilla-js-integration.md
  • api-reference.md, events.md, theming.md

Build

  • Dual build: Library (ESM/CJS) + UMD
  • Updated Vite config
  • Added TypeScript declarations

CI Updates

  • Updated workflow to use playground tests
  • Changed Playwright from backend to playground
  • Added widget build step

Backward Compatible

  • UMD build unchanged
  • Script tag integration still works

Tasks Completed

All 10 tasks from PRD completed ✅

Testing

  • Widget builds successfully
  • Playground runs
  • E2E tests migrated (needs workflow approval)

Note: CI workflow modified - requires approval to run.

@nuxthub-admin

nuxthub-admin Bot commented Oct 7, 2025

Copy link
Copy Markdown
Contributor

✅ Deployed nimiq-feedback

Deployed nimiq-feedback 0f0eddb to preview

🔗 nimiq-feedback-preview.je-cf9.workers.dev
📌 4182a3b5-nimiq-feedback-preview.je-cf9.workers.dev
📱
View QR Code QR code linking to deployment URL.

📋 View deployment logs

- New @nimiq/feedback-widget package with ESM/CJS exports
- FeedbackModal and FeedbackWidget components
- Playground with E2E tests
- Documentation restructured into docs/ folder
- Backend updated to use new component library
- Dual build system (library + UMD for backward compat)
- Full TypeScript support
@onmax
onmax force-pushed the feat/vue-component-library branch from 8247e5c to 12732e7 Compare October 7, 2025 08:37
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.

1 participant