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

feat: select bloom filter level #3004

Merged
merged 1 commit into from
Jul 21, 2021
Merged

Conversation

richard-ramos
Copy link
Member

Fixes #2927

@status-im-auto
Copy link
Member

status-im-auto commented Jul 21, 2021

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 97bba2c #1 2021-07-21 13:23:41 ~10 min macos 📦dmg
✔️ 97bba2c #1 2021-07-21 13:26:33 ~13 min linux 📦pkg
✔️ 97bba2c #2 2021-07-21 19:11:16 ~7 min macos 📦dmg
✔️ 97bba2c #2 2021-07-21 19:18:15 ~14 min linux 📦pkg

var FullNode = false
var BloomFilterMode = false
case level:
of "light":
Copy link
Member

Choose a reason for hiding this comment

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

We could put those in constants?

switch(nodeModel.bloomLevel){
case "light": btnBloomLight.click(); break;
case "normal": btnBloomNormal.click(); break;
case "full": btnBloomFull.click(); break;
Copy link
Member

Choose a reason for hiding this comment

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

Again could be put in Constants.

BloomSelectorButton {
id: btnBloomLight
buttonGroup: bloomGroup
checkedByDefault: nodeModel.bloomLevel == "light"
Copy link
Member

Choose a reason for hiding this comment

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

Could you put triple equals for all the ones below as well, please.

Suggested change
checkedByDefault: nodeModel.bloomLevel == "light"
checkedByDefault: nodeModel.bloomLevel === "light"


Rectangle {
property var buttonGroup
property string btnText: qsTr("TODO")
Copy link
Member

Choose a reason for hiding this comment

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

Do we still need that TODO?

Base automatically changed from refactor/node-config to go-waku-store July 21, 2021 19:03
@iurimatias iurimatias merged commit e57e3ea into go-waku-store Jul 21, 2021
@iurimatias iurimatias deleted the feat/bloom-selector branch July 21, 2021 19:08
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