-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat(cat-voices): Mock data for Discovery Page #1713
base: main
Are you sure you want to change the base?
Conversation
✅ Test Report | |
catalyst_voices/apps/voices/lib/pages/discovery/discovery_page.dart
Outdated
Show resolved
Hide resolved
.../internal/catalyst_voices_view_models/lib/src/campaign/current_campaign_info_view_model.dart
Show resolved
Hide resolved
✅ Test Report | |
✅ Test Report | |
✅ Test Report | |
✅ Test Report | |
✅ Test Report | |
✅ Test Report | |
✅ Test Report | |
✅ Test Report | |
✅ Test Report | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
im getting this error when building discovery
══╡ EXCEPTION CAUGHT BY FLUTTER ╞═══════════════════════════════════════════════════════════════════
The following _Exception was thrown while applying parent data.
:
Exception: Incorrect use of ParentDataWidget.
The ParentDataWidget Expanded(flex: 2) wants to apply ParentData of type FlexParentData to a
RenderObject, which has been set up to accept ParentData of incompatible type WrapParentData.
Usually, this means that the Expanded widget has the wrong ancestor RenderObjectWidget. Typically,
Expanded widgets are placed directly inside Flex widgets.
The offending Expanded is currently placed inside a Wrap widget.
The ownership chain for the RenderObject that received the incompatible parent data was:
Column ← Expanded ← _CampaignFundsDetail ← Wrap ← SizedBox ← Column ← Padding ← DecoratedBox ←
Container ← _CurrentCampaignDetails ← ⋯
catalyst_voices/apps/voices/lib/pages/discovery/sections/most_recent_proposals.dart
Outdated
Show resolved
Hide resolved
...ices/apps/voices/lib/pages/discovery/state_selectors/campaign_categories_state_selector.dart
Outdated
Show resolved
Hide resolved
...ices/apps/voices/lib/pages/discovery/state_selectors/campaign_categories_state_selector.dart
Show resolved
Hide resolved
catalyst_voices/apps/voices/lib/widgets/buttons/voices_outlined_button.dart
Outdated
Show resolved
Hide resolved
✅ Test Report | |
… for campaign and proposals sections
✅ Test Report | |
…tion * feat: add style prop to VoicesOutlinedButton Allows to pass custom style to this button. * feat: apply VoicesOutlinedButton style to hero section Applies `backgroundColor` to myProposals button.
Description
Creating bloc and mock data for discovery page that handles loading state and error states.
Related Issue(s)
Closes #1552
Description of Changes
Screenshots
If applicable, add screenshots to help explain your changes.
Please confirm the following checks