feat: web & desktop platform support (Sprint 10)#3
Open
SkyWalker2506 wants to merge 7 commits into
Open
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
DevFileBackend,LocalFeedbackBackend,FeedbackDevViewertümü artık web'de compile oluyor — conditional import pattern (*_io.dart/*_web.dart)directory: DirectoryparametreleridirectoryPath: String'e çevrildiBreaking Changes
LocalFeedbackBackend(directory: dir)LocalFeedbackBackend(directoryPath: dir.path)FeedbackDevViewer(directory: dir)FeedbackDevViewer(directoryPath: dir.path)Test
flutter analyze— 0 hataflutter test— 62/62 geçtidart:ioimportu kaldırıldıCloses FFK-55