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

399 pool form touchup #456

Merged
merged 13 commits into from
Oct 10, 2024
Merged

399 pool form touchup #456

merged 13 commits into from
Oct 10, 2024

Commits on Oct 5, 2024

  1. refactor: Improve tooltip handling in multiple components.

    - Refactor the CommunityCard component to include TooltipIfOverflow for efficient tooltip display of the name.
    - Added a tooltip for better overflow handling on the "Switch to" button in the Connect Wallet component.
    - Added a tooltip to display the title in the FormPreview component to handle text overflow.
    - Added a tooltip for overflow text on the proposal title in the ProposalCard component and removed an unused prop.
    - Added a tooltip component to handle overflow text in the proposals component.
    - Added a new TooltipIfOverflow component to display tooltips for overflowing text.
    Corantin committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    1209111 View commit details
    Browse the repository at this point in the history
  2. style: Enhance address input styling with monospace font.

    - Enhanced the styling of the address input by adding text size and font properties.
    - Updated the styling of the input field to include a monospace font and smaller text size.
    - Added a new font family option for monospaced text in the Tailwind configuration.
    Corantin committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    9e41978 View commit details
    Browse the repository at this point in the history
  3. feat: Add inline display prop and refactor voting weight.

    - Added an optional inline display prop to the FormRadioButton component to allow flexible layout options.
    - Refactor the voting weight system selection in the form to use radio buttons with descriptions instead of a select dropdown and integrate the corresponding input conditionally.
    Corantin committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    574e5b0 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2024

  1. refactor: streamline input components and enhance functionality.

    - Updated ESLint configuration to allow avoiding escape for quotes in TypeScript.
    - Refactor form input components to utilize a suffix prop instead of span elements for symbol and percentage display.
    - Refactor the implementation of the address input handling to use a more streamlined input variable instead of a reference.
    - Enhanced the FormCheckBox component by adding optional tooltip support, error handling, and value management.
    - Remove the unused children prop and add a suffix prop to enhance the FormInput component.
    - Refactor the FormSelect component to make the errors prop optional and change the fragment to a div for improved structure.
    - Refactor the PoolEditForm component by replacing span suffix elements with a new suffix prop in the FormInput component for cleaner code.
    - Enhance the PoolForm component by adding ruling time functionality and streamlining user input fields for proposal and dispute collateral.
    - Introduced a utility for parsing time units and conversions.
    Corantin committed Oct 6, 2024
    Configuration menu
    Copy the full SHA
    4e91823 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. Fix build

    Corantin committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    0ef0e15 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. refactor: streamline state management and enhance components

    - Refactor the FormAddressInput component to simplify state management and streamline avatar URL assignment logic.
    - Removed a default value for the `defaultChecked` property in the FormCheckBox component.
    - The changes primarily focus on enhancing the PoolEditForm component by refining input handling, adding new fields for ruling time and tribunal options, and improving the overall structure for better user experience.
    - Refactor the time parsing logic in the PoolForm component to convert days into a more readable format while ensuring the display adapts for singular and plural units.
    - Added a new property for default ruling timeout to the component's props and utilized it within the component logic.
    Corantin committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    8ed48fc View commit details
    Browse the repository at this point in the history
  2. refactor: improve timeout calculation and input settings.

    - Refactor the calculation of default ruling timeout and adjust field properties for improved precision in the pool edit form.
    - Updated the number input configuration in the PoolForm component to simplify the step value for better user input.
    Corantin committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    f9917c6 View commit details
    Browse the repository at this point in the history
  3. feat: Enhance input component for precise step values.

    - Updated the input component to allow for more precise step values in the PoolForm.
    Corantin committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    ca1b578 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a91d0b9 View commit details
    Browse the repository at this point in the history
  5. small upgrade pool form

    Mati0x committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    ac27315 View commit details
    Browse the repository at this point in the history
  6. Merge remote-tracking branch 'origin/dev' into 399-pool-form-touchup

    # Conflicts:
    #	apps/web/components/Forms/PoolEditForm.tsx
    #	apps/web/components/PoolHeader.tsx
    #	pnpm-lock.yaml
    Corantin committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    161966f View commit details
    Browse the repository at this point in the history
  7. Fix

    Corantin committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    bc8ad6c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d531128 View commit details
    Browse the repository at this point in the history