Skip to content

feat: web & desktop platform support (Sprint 10)#3

Open
SkyWalker2506 wants to merge 7 commits into
mainfrom
feature/sprint-10-web-desktop-support
Open

feat: web & desktop platform support (Sprint 10)#3
SkyWalker2506 wants to merge 7 commits into
mainfrom
feature/sprint-10-web-desktop-support

Conversation

@SkyWalker2506
Copy link
Copy Markdown
Owner

Summary

  • DevFileBackend, LocalFeedbackBackend, FeedbackDevViewer tümü artık web'de compile oluyor — conditional import pattern (*_io.dart / *_web.dart)
  • macOS example scaffold eklendi (desktop testing için)
  • BREAKING: directory: Directory parametreleri directoryPath: String'e çevrildi

Breaking Changes

Önceki Yeni
LocalFeedbackBackend(directory: dir) LocalFeedbackBackend(directoryPath: dir.path)
FeedbackDevViewer(directory: dir) FeedbackDevViewer(directoryPath: dir.path)

Test

  • flutter analyze — 0 hata
  • flutter test — 62/62 geçti
  • Example app dart:io importu kaldırıldı

Closes FFK-55

SkyWalker2506 and others added 7 commits April 1, 2026 10:23
Replace Overlay-based approach with Stack so FeedbackScope works
regardless of its position in the widget tree (above or below
MaterialApp). Hide FeedbackButton during capture mode. Add
DevFileBackend for local development workflows.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace FloatingActionButton.extended with FloatingActionButton.small
for a more compact, less intrusive default appearance.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Show radial gradient vignette overlay during interactive capture
mode. Shrink capture/cancel buttons to a more compact size.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ev log

- Add _FeedbackScopeInherited so FeedbackButton rebuilds reactively
  when capture state changes (fixes FAB not reappearing)
- Add isRatingRequired, isNpsRequired, isMessageRequired params
  to FeedbackWidget and FeedbackButton with localized error messages
- Add ratingRequired/npsRequired strings to all 8 locales
- Update test for small FAB assertion
- Add docs/dev_feedback_log.md for issue tracking

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove radial gradient overlay. Add _CornerFramePainter with red
L-bracket corners — visible only at edges, center unaffected.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- DevFileBackend, LocalFeedbackBackend and FeedbackDevViewer now compile
  on web by delegating dart:io calls to platform-specific stub files
  (conditional import pattern: *_io.dart / *_web.dart)
- BREAKING: LocalFeedbackBackend(directory: Directory) →
  LocalFeedbackBackend(directoryPath: String)
- BREAKING: FeedbackDevViewer(directory: Directory) →
  FeedbackDevViewer(directoryPath: String)
- Added isSupported static getter on DevFileBackend and LocalFeedbackBackend
- FeedbackDevViewer renders an informational placeholder on web
- Example updated: removes dart:io import, guards LocalFeedbackBackend
  usage with kIsWeb check
- macOS example scaffold added for desktop testing

Refs: FFK-55
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