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

Dev #471

Draft
wants to merge 142 commits into
base: main
Choose a base branch
from
Draft

Dev #471

wants to merge 142 commits into from

Conversation

Corantin
Copy link
Contributor

No description provided.

kafann and others added 7 commits October 17, 2024 17:53
♻️ Refactored subgraph URL generation

- Introduced a new function to generate subgraph URLs
- Added error handling for fetching data from published subgraphs, with fallback to hosted ones
- Updated the use of this function across multiple files
- Included the ability to specify a publishedSubgraphUrl in chain configuration
- Bumped up the production version of the subgraph in config file
- Replaced the direct environment variable access for fetching the Subgraph URL with a function call to `getConfigByChain`.
- This change enhances code maintainability and readability by centralizing configuration data retrieval.
- Defaulted className and tooltipClassName to empty string in Button component
- Added duplicate condition check for cooldown in DisputeButton
- Changed some method from 'some' to 'find' for better performance
- Adjusted tooltip message source and added tooltipSide property
- Updated ProposalTimeline with dynamic ruling timeout display
- Fixed styling issues across multiple components
Copy link

vercel bot commented Oct 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
gardens-v2 ✅ Ready (Inspect) Visit Preview 💬 10 unresolved
✅ 74 resolved
Dec 2, 2024 11:22pm

@Corantin Corantin marked this pull request as draft October 18, 2024 03:48
- Imported `shortenAddress` utility to enhance readability of addresses
- Updated the message for tribunal safe and council safe connection buttons to include shortened addresses
- Adjusted conditions for displaying dispute status, ensuring correct evaluation of boolean values
- Changed error color class in InfoWrapper from 'text-error' to 'text-danger-content' for better visibility
- Enhanced the UI of the dispute button component by adding new icons, tooltips, and additional information.
- Improved the EthAddress component to support more customization options.
- Updated PoolEditForm and PoolForm components to reflect changes in sybil resistance preview text.
- Added size property to Modal component for better control over modal sizes.
- Removed specific margin-top class from header in garden page
- Reduced gap size in GardenCard component layout
- Added height to the name field in GardenCard component
- Added a new `lineClamp` prop to the TooltipIfOverflow component, allowing for more control over text truncation.
- Updated GardenCard to use the enhanced TooltipIfOverflow, improving readability of long names.
- The `lineClamp` prop supports multiple values for different levels of line clamping.
- Adjusted overflow detection logic in TooltipIfOverflow based on the value of `lineClamp`.
…mpty add list

- Upgrade and verify new contract implementation
- Fix tooltip undefined
- Remove shortened address redundant information in Connect with Council and tribunal safe
- Add reset to totalVoterStakePct when withdraw
- Add a auto-repair UI (deactivating -> reactivation -> retry allocate)
This update enhances the user interface's responsiveness across different components.

- Adjusted CSS classes for better handling of element widths on smaller screens
- Modified flex properties to improve layout wrapping and growth behavior
- Added overflow-x-hidden to page-layout class to prevent horizontal scrolling
- Reorganized HTML structure in ProposalCard component for better visual hierarchy
- Improved the readability of Ethereum addresses in both community and pool sections by adding labels.
- The EthAddress component now includes a label prop to provide context for the displayed address.
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.

4 participants