Skip to content

Foundries Score#173

Merged
jacobrosenthal merged 8 commits intodarkforest-eth:masterfrom
orden-gg:foundries-score
Oct 8, 2021
Merged

Foundries Score#173
jacobrosenthal merged 8 commits intodarkforest-eth:masterfrom
orden-gg:foundries-score

Conversation

@dudendy
Copy link
Copy Markdown
Contributor

@dudendy dudendy commented Oct 5, 2021

Plugin shows total amount of foundries that can be prospected, ready to prospecting and approximate value in score.

Originally there was a plan to make numbers clickable and it should center your view to foundries one by each click but didn't have time to finish it (and that's why they are styled like links). Maybe that's something that I will update in future or someone would be interested to make it...

Screenshot 2021-10-03 at 14 20 59

render(container) {
// Create refresh interval
this.refreshTimer = setInterval(() => {
setTimeout(() => {
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.

Curious on why this setTimout is needed here?

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.

Indeed?

Copy link
Copy Markdown
Contributor Author

@dudendy dudendy Oct 6, 2021

Choose a reason for hiding this comment

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

It's not needed in this place, already removed it.

I'm using this method when I need to trigger some function only after DOM re-render, like here:
https://github.com/darkforest-eth/plugins/pull/173/files#diff-3c980389c28dd9c062a5a9ff0780bece3dd742b6ed985431965f7fa01e232e43R71

Maybe not the best way to do it.

@Bulmenisaurus
Copy link
Copy Markdown
Contributor

Nice! I tested it and worked great 👍

Copy link
Copy Markdown
Contributor

@Stx69 Stx69 left a comment

Choose a reason for hiding this comment

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

Hi, smart and working well. For your idea about list of foundry's feel free to use #170.

@dudendy
Copy link
Copy Markdown
Contributor Author

dudendy commented Oct 6, 2021

Hi, smart and working well. For your idea about list of foundry's feel free to use #170.

Thanks, will take take a look.

Comment thread content/utilities/foundries-score/plugin.js
Comment thread content/utilities/foundries-score/plugin.js Outdated
dudendy and others added 2 commits October 6, 2021 23:56
Co-authored-by: Jacob Rosenthal <jacobrosenthal@gmail.com>
Comment thread content/utilities/foundries-score/index.md Outdated
Co-authored-by: Jacob Rosenthal <jacobrosenthal@gmail.com>
Copy link
Copy Markdown
Contributor

@jacobrosenthal jacobrosenthal left a comment

Choose a reason for hiding this comment

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

Thanks!

@jacobrosenthal jacobrosenthal merged commit 2eb9888 into darkforest-eth:master Oct 8, 2021
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.

4 participants