holium / ballot

An Urbit app for voting on proposals and polls.
MIT License
2 stars 0 forks source link

ui: blank /proposals page after adding group to groups app #34

Closed subnet-arts closed 2 years ago

subnet-arts commented 2 years ago

To recreate (make sure starting with clean store (aka nuke ship)):

1) Open Groups under ~zod in a tab 2) Open Ballot under ~zod in a tab 3) In Ballot, select ~zod booth 4) In Groups, create a new group 5) In Ballot, select the new group in the menu

The /proposals page for the new group booth is rendered blank.

I was able to verify that the following reaction was sent to ~zod in Ballot after the group was created in Groups:

{
    "json": {
        "context": {
            "booth": "~bus-groups-bus-group"
        },
        "action": "group-added-reaction",
        "effects": [
            {
                "data": {
                    "status": "active",
                    "policy": "invite-only",
                    "name": "bus-group",
                    "image": null,
                    "key": "~bus-groups-bus-group",
                    "created": 1649269894109,
                    "type": "group",
                    "owner": "~bus",
                    "meta": {
                        "tag": null
                    },
                    "slug": "~bus/groups/bus-group"
                },
                "effect": "add",
                "resource": "booth"
            },
            {
                "data": {
                    "role": "owner",
                    "status": "active",
                    "name": "~bus",
                    "key": "~bus",
                    "created": 1649269894109
                },
                "effect": "add",
                "resource": "participant"
            }
        ]
    },
    "id": 2,
    "response": "diff"
}