Skip to content

cas-134 Display proposal strategy name instead of icon#139

Merged
germanurrus merged 7 commits intomainfrom
cas-134
Jul 18, 2022
Merged

cas-134 Display proposal strategy name instead of icon#139
germanurrus merged 7 commits intomainfrom
cas-134

Conversation

@CJamesKeller
Copy link
Copy Markdown
Contributor

@CJamesKeller CJamesKeller commented Jul 12, 2022

Changed icon to text
Screen Shot 2022-07-18 at 13 26 43

<div className="pr-2" key={`${st}-${index}`}>
<StrategyIcon className="cursor-pointer" />
{st.name}
</div>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Proposal will be using only one strategy for winner calculation, so maybe instead of using the map we could get the first element and show it instead of mapping

const  [strategy] = strategies ?? [ { name: ''}];

Also use Strategy word instead of Strategies bc for now there will be only one.

Screen Shot 2022-07-13 at 17 37 54

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Waiting confirmation from Jose on requirements.

@dbslone dbslone self-requested a review July 13, 2022 20:54
@germanurrus germanurrus marked this pull request as draft July 15, 2022 22:20
Comment thread frontend/packages/client/src/components/ProposalInformation.js
@germanurrus germanurrus marked this pull request as ready for review July 18, 2022 16:13
@germanurrus germanurrus merged commit ff7be3c into main Jul 18, 2022
@germanurrus germanurrus deleted the cas-134 branch July 18, 2022 16:27
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.

3 participants