Skip to content

chore: release v1.1003.0#11776

Merged
gomesalexandre merged 16 commits intomainfrom
release
Jan 28, 2026
Merged

chore: release v1.1003.0#11776
gomesalexandre merged 16 commits intomainfrom
release

Conversation

@kaladinlight
Copy link
Contributor

feat: rfox v3 (#11668)
feat: enable butter for TRON (#11769)
feat: partial yield.xyz toggle (#11704)
chore(deps): bump lodash from 4.17.21 to 4.17.23 (#11762)
chore(deps): bump lodash-es from 4.17.22 to 4.17.23 (#11764)
feat: regenerate asset data 01/22/2026 (#11765)
fix: relay quotes (#11771)
fix: widget railway delivery (#11767)
Merge branch 'main' into develop
fix: starknet swaps (#11770)
chore: update app translations (#11760)
feat: gridplus on mobile web (#11757)

gomesalexandre and others added 12 commits January 22, 2026 12:58
* fix: widget railway delivery

* fix: fix again

* fix: fck

* fix: lint
Bumps [lodash-es](https://github.com/lodash/lodash) from 4.17.22 to 4.17.23.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits/4.17.23)

---
updated-dependencies:
- dependency-name: lodash-es
  dependency-version: 4.17.23
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.21 to 4.17.23.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.21...4.17.23)

---
updated-dependencies:
- dependency-name: lodash
  dependency-version: 4.17.23
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: display strategy names instead of asset symbols in yield cards

Remove titleOverride props so single yields show their metadata.name
(e.g., "Aave v3 USDC Lending") instead of just the asset symbol.

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* feat: add maintenance and deprecated warnings for yield opportunities

Display warning badges on yield cards and alerts on detail pages when
yields are marked as underMaintenance or deprecated in the API.

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* chore: add temporary monkey patch for testing maintenance/deprecated badges

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* chore: remove temporary monkey patch for maintenance/deprecated badges

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* feat: add YieldExplainers component for consistent staking info

Create reusable YieldExplainers component that shows reward schedule,
unbonding periods, and other yield-specific info based on mechanics type.
Add it to YieldEnterModal and EarnConfirm for consistent user education
across all enter flows.

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* feat: add documentation link to yield detail page

Show a "Learn more" link with external icon when a yield has
metadata.documentation available. Appears below the description
text on the yield detail page.

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* feat: add yield explainers to YieldForm and improve docs link

- Add YieldExplainers component to YieldForm.tsx (yield page enter modal)
- Update ProviderDto to include website and references fields
- Use provider.references[0] for documentation link (protocol website)
- Fix docs link styling: inline icon next to description
- Prefer provider documentation over yield metadata documentation

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* feat: add Available to Earn tab and improve yield page navigation

- Add 3-tab structure: All | Available to Earn | My Positions
- Auto-navigate to "Available to Earn" tab when wallet connects
- Each tab has explicit URL param for proper navigation
- Keep recommended strip visible in all tabs
- Add YieldTab enum for type safety
- Rename Earn button action to navigate to Available tab

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* feat: improve yield page UX with filter fixes and code cleanup

- Fix filters not working on My Positions tab (use unfiltered data)
- Fix filters affecting Recommended For You (should be independent)
- Fix "Show all" button navigating to All tab when on Available tab
- Show full metadata.name on yield detail page below provider pill
- Hide Withdraw button when user has no balance (instead of disabled)
- Add YieldProviderInfo component with provider descriptions
- Add YieldRelatedMarkets component showing other yields for same token
- Make Yields first tab in Earn menu when feature flag enabled
- Code simplification: remove unnecessary useMemo wrappers

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* feat: swap fiat/crypto display on yield detail page

Show fiat value as primary (large text) and crypto as secondary.
This matches user expectations where fiat is the more relevant metric.

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* feat: improve yield detail page desktop layout with two-column design

Add a professional two-column layout for desktop screens with info on the
left and actions on the right. Create YieldInfoCard and YieldAvailableToDeposit
components. Mobile layout remains unchanged.

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* feat: fix validator mismatch bug and add New badge to Yields menu

- Fix validator mismatch on yield detail page by passing selectedValidatorAddress
  from YieldDetail to YieldPositionCard (ensures Cosmos uses ShapeShift DAO)
- Add "New" badge support to NavigationDropdown component
- Mark Yields menu item with New badge
- Apply react-best-practices cleanup to yield components

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* feat: add getYieldDisplayName utility for clean yield names

- Create getYieldDisplayName that returns curator name for Morpho/Yearn
  vaults (e.g., "Steakhouse High Yield") and symbol for simple yields
- Integrate into YieldItem, YieldDetail, YieldInfoCard, YieldHero
- Remove useless secondary row on mobile showing ugly metadata name
- Fix Visit Website alignment in YieldProviderInfo
- Fix Lending badge from UPPERCASE to Capitalize
- Simplify components by removing unnecessary useMemo calls

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* feat: improve asset/chain/protocol display with icon + label format

- Replace cramped pill with clean icon + label pairs
- Show Asset (icon + symbol), Chain (icon + name), Protocol (icon + name)
- Apply same pattern to both desktop (YieldInfoCard) and mobile (YieldHero)
- Remove redundant subtitle section
- Clean up unused code

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* refactor: use named functions in memo() for better debugging

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* feat: commit best practices skill

* chore: add project-specific style preferences to react-best-practices skill

- Prefer arrow functions over function keyword in memo components
- Prefer useMemo over IIFE in TSX
- Prefer implicit returns in useMemo/useCallback
- Document avoidance of nested ternaries

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* refactor: improve yields code quality and patterns

- Fix dangerous fallback to 18 decimals in YieldAvailableToDeposit
- Remove unnecessary Box wrapper in YieldEnterModal
- Simplify nested ternary in YieldDetail using useMemo
- Refactor YieldExplainers with memoized translations
- Convert function keywords to arrow functions in memo components
- Use implicit returns in useMemo/useCallback
- Simplify enum mappings in YieldsList using array pattern
- Remove NEAR_IMPROVEMENTS.md

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* fix: add null coalescing to prevent runtime error in sort comparator

Fixes potential runtime error when allBalances[id] is undefined,
which would cause .minus() to throw or produce NaN.

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* fix: guard claimable section against zero-amount balances

Check aggregatedAmount > 0 for hasClaimable, consistent with
hasWithdrawable check, to avoid showing empty claimable UI.

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* feat: enable partial yield feature for production

- Add separate /yield/:yieldId route requiring only YIELD_XYZ flag
- Create YieldDetailPage wrapper for standalone yield detail access
- Update Header nav to check YieldsPage flag for yields link visibility
- Update all yield detail navigation links to use /yield/ (singular)
- Enable VITE_FEATURE_YIELD_XYZ in production

This allows yield functionality on asset pages and defi drawer while
keeping the /yields list page, yields nav link, and earn tab disabled.

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* fix: conditional back navigation based on YieldsPage flag

- Back button uses history.back() when YieldsPage disabled, /yields when enabled
- Enable VITE_FEATURE_YIELD_MULTI_ACCOUNT in production

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* fix: Earn dropdown defaults to /tcy when YieldsPage disabled

Co-Authored-By: Claude Opus 4.5 <[email protected]>

---------

Co-authored-by: Claude Opus 4.5 <[email protected]>
Co-authored-by: Jibles <[email protected]>
* auto-claude: subtask-1-1 - Add TRON chain ID mapping (728126428 ↔ tronChainId)

Add TRON chain ID mapping to ButterSwap helpers.ts for the Butter API.
This maps the Butter API chain ID 728126428 to KnownChainIds.TronMainnet.

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* auto-claude: subtask-1-2 - Add TRON native token address constant and handling

- Import tronChainId from @shapeshiftoss/caip
- Add TRON_NATIVE_ADDRESS constant (T9yD14Nj9j7xAB4dbGeiX9h8unkKHxuWwb)
- Handle TRON native token in sellAssetAddress resolution
- Handle TRON native token in buyAssetAddress resolution

This follows the same pattern as the existing Solana native address handling.

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* auto-claude: subtask-2-1 - Add tronChainId to chain validation in getTradeQuote

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* auto-claude: subtask-2-2 - Add tronChainId to chain validation in getTradeRate

* auto-claude: subtask-3-1 - Update getUnsignedTronTransaction.ts to handle butterSwapTransactionMetadata

Add butterSwapTransactionMetadata to the destructuring from the trade step and
include butterSwapTransactionMetadata.to in the fallback chain for determining
the transaction destination address. This enables the existing tron-utils to
work with ButterSwap quotes.

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* auto-claude: subtask-3-2 - Add getTronTransactionFees and getUnsignedTronTransaction to ButterSwap endpoints

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* fix: execution

* fix: trade status

---------

Co-authored-by: Minimoi <[email protected]>
Co-authored-by: Claude Opus 4.5 <[email protected]>
Co-authored-by: Jibles <[email protected]>
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 26, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch release

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@gomesalexandre gomesalexandre merged commit 2537893 into main Jan 28, 2026
8 checks passed
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.

5 participants