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 support for referrer IDs at offers and trades #1590

Merged
merged 1 commit into from
Jun 27, 2018
Merged

Add support for referrer IDs at offers and trades #1590

merged 1 commit into from
Jun 27, 2018

Conversation

ManfredKarrer
Copy link
Contributor

Copy link
Member

@sqrrm sqrrm left a comment

Choose a reason for hiding this comment

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

utACK

@@ -298,6 +299,13 @@ public BaseCurrencyNetwork fromString(String string) {
preferences.setIgnoreTradersList(Arrays.asList(StringUtils.deleteWhitespace(newValue)
.replace(":9999", "").replace(".onion", "")
.split(",")));

// referralId
referralIdInputTextField = addLabelInputTextField(root, ++gridRow, Res.get("setting.preferences.refererId")).second;
Copy link
Member

Choose a reason for hiding this comment

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

Perhaps this field could get a grayed out text that disappears when focusing saying something like "optional referral code" to make it clear it's just optional and generate less confusion.

Copy link

Choose a reason for hiding this comment

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

I think also it would be good to make it clear that it's just optional.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, good point. I also though it might require some extra info. I will add a prompt text when not filled.

@ManfredKarrer ManfredKarrer merged commit 5f0f921 into bisq-network:master Jun 27, 2018
@ManfredKarrer ManfredKarrer deleted the referer branch June 27, 2018 05:21
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.

2 participants