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

token logo #477

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

token logo #477

wants to merge 26 commits into from

Conversation

Mati0x
Copy link
Collaborator

@Mati0x Mati0x commented Oct 23, 2024

Corantin and others added 25 commits October 17, 2024 20:44
♻️ 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
- 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.
- Removed unused import `abiWithErrors` from multiple files
- Changed default value of `showToolTip` in Button.tsx to false
- Commented out line fetching element with id "dialog" in EthAddress.tsx
- Adjusted TooltipIfOverflow usage in GardenCard.tsx for better readability
- Simplified calculation of allocatedInProposal in ProposalCard.tsx
- Added console.debug for proposal differences array in Proposals.tsx
- Enhanced error logging in useContractWriteWithConfirmations hook by including error message
- Added Sentry.extraErrorDataIntegration configuration to sentry.client.config.ts
@Mati0x Mati0x linked an issue Oct 23, 2024 that may be closed by this pull request
4 tasks
Copy link

vercel bot commented Oct 23, 2024

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

Name Status Preview Comments Updated (UTC)
gardens-v2 ❌ Failed (Inspect) Oct 23, 2024 11:30pm

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.

Token logo
3 participants