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(swap): display order hooks details #4925

Merged
merged 105 commits into from
Oct 4, 2024

Conversation

shoom3301
Copy link
Collaborator

@shoom3301 shoom3301 commented Sep 30, 2024

Summary

Displaying of order hook details.
UI is not ready yet and will be implemented in another PR!

image image image image

To Test

No need to test (please test all recent changes all together when design for hook details is ready)

shoom3301 and others added 30 commits September 12, 2024 14:14
… feat/hooks-iframe-app

# Conflicts:
#	apps/cowswap-frontend/src/modules/hooksStore/hooks/usePostHooksRecipientOverride.ts
#	apps/cowswap-frontend/src/modules/hooksStore/hooks/useSetRecipientOverride.ts
#	apps/cowswap-frontend/src/modules/hooksStore/types/hooks.ts
#	apps/cowswap-frontend/src/modules/trade/hooks/useResetRecipient.ts
…l/cowswap into feat/hooks-iframe-app-1

# Conflicts:
#	apps/cowswap-frontend/src/modules/trade/hooks/useNotifyWidgetTrade.ts
@shoom3301 shoom3301 requested a review from a team September 30, 2024 15:12
@shoom3301 shoom3301 marked this pull request as ready for review September 30, 2024 15:12
…otocol/cowswap into feat/hook-to-dapp-matching-explorer

# Conflicts:
#	libs/hook-dapp-lib/package.json
…4928)

* feat(hooks-store): update custom hook-dapps manifests periodically

* chore: fix memo isDarkMode

* chore: fix code style
Comment on lines +154 to +158
{(children) => (
<ConfirmDetailsItem label="Hooks" tooltip="Hooks are interactions before/after order execution.">
{children}
</ConfirmDetailsItem>
)}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar comment to the explorer changes: fn children instead of flat JSX

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But we need it here in order to wrap the content into ConfirmDetailsItem.
Also, Michel changed it a bit in his PR

libs/hook-dapp-lib/src/utils.ts Show resolved Hide resolved
… feat/hook-to-dapp-matching-cowswap

# Conflicts:
#	apps/cowswap-frontend/src/modules/hooksStore/pure/AddCustomHookForm/CustomDappLoader/index.tsx
#	libs/hook-dapp-lib/src/utils.ts
@shoom3301 shoom3301 merged commit 1e776fc into develop Oct 4, 2024
11 of 12 checks passed
@shoom3301 shoom3301 deleted the feat/hook-to-dapp-matching-cowswap branch October 4, 2024 08:02
@github-actions github-actions bot locked and limited conversation to collaborators Oct 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants