Skip to content

feat: add nano-contract transaction actions #530

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

Merged
merged 3 commits into from
Aug 19, 2024

Conversation

alexruzenhack
Copy link
Contributor

@alexruzenhack alexruzenhack commented Aug 13, 2024

Acceptance Criteria

  • It should add actions list to Nano Contract Transaction Screen
  • It should add actions to each nano contract history transaction object
  • It should improve reducer documentation
  • It should restore header capability to shrink

Closes: #518

Actions of each transaction of a Nano Contract

nc-tx-actions-review-1.mp4

Security Checklist

  • Make sure you do not include new dependencies in the project unless strictly necessary and do not include dev-dependencies as production ones. More dependencies increase the possibility of one of them being hijacked and affecting us.

@alexruzenhack alexruzenhack self-assigned this Aug 13, 2024
@alexruzenhack alexruzenhack force-pushed the feat/add-nc-tx-actions branch 7 times, most recently from d1771da to 175389d Compare August 13, 2024 22:12
import { SentIcon } from '../Icons/Sent.icon';

/**
* Retrives token symbol, otherwise returns a shortened token hash.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* Retrives token symbol, otherwise returns a shortened token hash.
* Retrieves token symbol, otherwise returns a shortened token hash.

marginRight: 'auto',
paddingHorizontal: 16,
},
icon: {
Copy link
Contributor

Choose a reason for hiding this comment

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

Unused

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed.

</InfoContainer>
<InfoContainer lastElement>
<TextValue bold>{callerAddr}</TextValue>
{tx.isMine
Copy link
Contributor

Choose a reason for hiding this comment

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

Fix identation here

};

const Wrapper = ({ children }) => (
<TouchableHighlight underlayColor={COLORS.primaryOpacity30}>
Copy link
Member

Choose a reason for hiding this comment

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

Why a TouchableHighlight here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It was used by default. I think it doesn't hurt, but do you think it should be removed?

@alexruzenhack alexruzenhack force-pushed the feat/add-nc-tx-actions branch from 175389d to 99f0703 Compare August 19, 2024 15:46
@alexruzenhack alexruzenhack merged commit 6d7b713 into master Aug 19, 2024
2 checks passed
@tuliomir tuliomir mentioned this pull request Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Show a list of actions in nano contract transaction details screen.
3 participants