Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

LIVE-1625 Add hide NFT collection feature #2333

Closed
wants to merge 196 commits into from

Conversation

grsoares21
Copy link
Contributor

@grsoares21 grsoares21 commented Mar 24, 2022

This PR adds the possibility of hiding NFT collections from both the account page and the NFT Gallery page.
The hidden collections are visible in the account settings page and can be unhidden there.

Screen_Recording_20220324-171322_LL.DEV.mp4

Type

Feature

Context

LIVE-1625

Parts of the app affected / Test plan

Account page, NFT Gallery and Setting page.
On an account page, long-press an NFT collection to show the hide menu.
On the NFT Gallery, click the 3 dots beside the collection title to show the hide menu.
Go to settings -> accounts -> hidden NFT collections to unhide the collections.
Hidden collections should not be visible in the account page nor the NFT gallery.

LFBarreto and others added 30 commits October 20, 2021 09:15
* Remove useless dependency to hw-app-btc

* Also remove hw-app-eth and hw-app-xrp
* Use design system for Checkbox and Swich components

* Removed useless @flow marker on checkbox file
* Rebrand footer navigation

* remove log
@grsoares21 grsoares21 requested a review from a team as a code owner March 24, 2022 15:29
@grsoares21 grsoares21 changed the title Feat/live 1625 hide nft collection v3 LIVE-1625 Add hide NFT collection feature Mar 24, 2022
);
};

const styles = StyleSheet.create({
Copy link
Contributor

Choose a reason for hiding this comment

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

No need to use StyleSheet if you use native-ui components they implement all of these styles as styled-component props

<View style={styles.menuItem}>
->
<Flex flexDirection="row" alignItems="center" >

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

);
};

const styles = StyleSheet.create({
Copy link
Contributor

Choose a reason for hiding this comment

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

same here you dont need StyleSheet anymore if you need to use styles you cant target via props use styled and extend on it

import styled from "styled-components/native";

const StyledNFTImage = styled(NFTImage)`
    borderRadius: 4,
    width: 36,
    aspectRatio: 1,
    overflow: "hidden",
`

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Contributor

@LFBarreto LFBarreto left a comment

Choose a reason for hiding this comment

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

some changes to be made if you use new styling tools 👍

@ghost ghost requested a review from LFBarreto March 25, 2022 11:55
Base automatically changed from LL-7742 to release/v3.0.x March 29, 2022 12:28
@LFBarreto LFBarreto requested review from a team as code owners March 29, 2022 12:28
Base automatically changed from release/v3.0.x to develop April 22, 2022 10:24
@lambertkevin
Copy link
Contributor

Closed for the rebased version here: #2452

@lambertkevin lambertkevin deleted the feat/LIVE-1625-hide-nft-collection-v3 branch May 6, 2022 13:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.