Skip to content
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

Open
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

LynxLynxx
Copy link
Contributor

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

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream module

@LynxLynxx LynxLynxx self-assigned this Jan 28, 2025
@LynxLynxx LynxLynxx added the ux/ui UX/UI related issues label Jan 28, 2025
Copy link
Contributor

Test Report | ${\color{lightgreen}Pass: 445/445}$ | ${\color{red}Fail: 0/445}$ |

Copy link
Contributor

Test Report | ${\color{lightgreen}Pass: 445/445}$ | ${\color{red}Fail: 0/445}$ |

Copy link
Contributor

Test Report | ${\color{lightgreen}Pass: 445/445}$ | ${\color{red}Fail: 0/445}$ |

Copy link
Contributor

Test Report | ${\color{lightgreen}Pass: 445/445}$ | ${\color{red}Fail: 0/445}$ |

Copy link
Contributor

Test Report | ${\color{lightgreen}Pass: 445/445}$ | ${\color{red}Fail: 0/445}$ |

Copy link
Contributor

Test Report | ${\color{lightgreen}Pass: 445/445}$ | ${\color{red}Fail: 0/445}$ |

Copy link
Contributor

Test Report | ${\color{lightgreen}Pass: 445/445}$ | ${\color{red}Fail: 0/445}$ |

Copy link
Contributor

Test Report | ${\color{lightgreen}Pass: 445/445}$ | ${\color{red}Fail: 0/445}$ |

Copy link
Contributor

Test Report | ${\color{lightgreen}Pass: 446/446}$ | ${\color{red}Fail: 0/446}$ |

@LynxLynxx LynxLynxx marked this pull request as ready for review January 29, 2025 11:19
@LynxLynxx LynxLynxx requested a review from dtscalac as a code owner January 29, 2025 11:19
Copy link
Contributor

Test Report | ${\color{lightgreen}Pass: 447/447}$ | ${\color{red}Fail: 0/447}$ |

Copy link
Contributor

@damian-molinski damian-molinski left a 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 ← ⋯

Copy link
Contributor

Test Report | ${\color{lightgreen}Pass: 449/449}$ | ${\color{red}Fail: 0/449}$ |

Copy link
Contributor

Test Report | ${\color{lightgreen}Pass: 449/449}$ | ${\color{red}Fail: 0/449}$ |

@damian-molinski damian-molinski added dart Pull requests that update Dart code and removed ux/ui UX/UI related issues labels Jan 30, 2025
LynxLynxx and others added 2 commits January 30, 2025 09:19
…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dart Pull requests that update Dart code
Projects
Status: New
Development

Successfully merging this pull request may close these issues.

Create Mock Data for Homepage
2 participants