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

add price arrows #184

Merged
merged 21 commits into from
Feb 13, 2023
Merged

add price arrows #184

merged 21 commits into from
Feb 13, 2023

Conversation

rickstaa
Copy link
Contributor

@rickstaa rickstaa commented Nov 29, 2022

This PR adds the arrows option to the floor ticker. This option can be used to display price direction arrows with the price. Follows up on #183.

image

@rssnyder
Copy link
Owner

If you could extract just the price arrows portion of this pr we could get it tested and merged while we wait for the discordgo pr.

go.mod Outdated Show resolved Hide resolved
Copy link
Owner

@rssnyder rssnyder left a comment

Choose a reason for hiding this comment

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

You need to update all database references to account for the new attribute.

You can see all those references in this file: https://github.com/rssnyder/discord-stock-ticker/blob/master/floor_request.go

You also need to account for creating the new row when a user uses a database from a previous version that does not have this feature: https://github.com/rssnyder/discord-stock-ticker/blob/master/manager.go#L396-L420

@rickstaa
Copy link
Contributor Author

If you could extract just the price arrows portion of this pr we could get it tested and merged while we wait for the discordgo pr.

I will. Do you want me to merge each new feature individually PRs or do you want me to bundle them as one big PR?

@rickstaa
Copy link
Contributor Author

rickstaa commented Dec 2, 2022

@rssnyder Will update this one when we merge #183.

README.md Outdated Show resolved Hide resolved
This commit adds the `color` argument to the floor ticker.
This commit uses the new UpdateWatchStatus of
bwmarrin/discordgo#1291 to set the activity to
watching instead of streaming.
This commit adds the `activity` argument to the floor ticker.
This commit adds the `colors` argument to the floor ticker.
@rickstaa rickstaa force-pushed the add_price_arrows branch 10 times, most recently from d468491 to c6047dc Compare December 5, 2022 11:02
This commit adds the `decorator` argument to the floor ticker.
This commit makes sure people can disable the price arrows by setting
the `decorator` argument to `" "`.
@rickstaa
Copy link
Contributor Author

rickstaa commented Dec 5, 2022

@rssnyder also finished can be merged after #183.

@stale
Copy link

stale bot commented Jan 4, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Jan 4, 2023
@rickstaa
Copy link
Contributor Author

rickstaa commented Jan 4, 2023

Also not stale.

@stale stale bot removed the wontfix This will not be worked on label Jan 4, 2023
@rssnyder rssnyder added the pinned label Jan 8, 2023
@rickstaa
Copy link
Contributor Author

@rssnyder can be merged after #183.

@rickstaa
Copy link
Contributor Author

@rssnyder Updated to the latest master! Think we are good to go now 👍🏻.

@rssnyder
Copy link
Owner

@rickstaa wana rebase and ill check this out?

@rickstaa
Copy link
Contributor Author

@rickstaa wana rebase and ill check this out?

Amazing! I merged instead since rebase gave me to many conflicts. Let me know what you think.

@rickstaa
Copy link
Contributor Author

@rssnyder, no pressure, but I was wondering if the PR is good to go or if I still need to change something. 🫡

marketcap.go Outdated Show resolved Hide resolved
ticker.go Outdated Show resolved Hide resolved
token.go Outdated Show resolved Hide resolved
rickstaa and others added 3 commits February 13, 2023 18:39
Co-authored-by: Riley Snyder <[email protected]>
Co-authored-by: Riley Snyder <[email protected]>
Co-authored-by: Riley Snyder <[email protected]>
@rssnyder rssnyder merged commit 04546a5 into rssnyder:master Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants