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

Incorrect display of comments in a proposal #3236

Closed
1 task
adovrodion opened this issue Jun 14, 2022 · 5 comments · Fixed by #3758
Closed
1 task

Incorrect display of comments in a proposal #3236

adovrodion opened this issue Jun 14, 2022 · 5 comments · Fixed by #3758
Labels
bounty-backlog bug Something isn't working community-dev issue suitable for community-dev pipeline qa-task qa-tested-ready-for-prod release:mainnet scope:proposals The "Proposals" page and related features SP:2

Comments

@adovrodion
Copy link

adovrodion commented Jun 14, 2022

Scope

  • Use block count for sorting

⚠️ if this fails then the issue is with Hydra - post the results of attempt to comments


During the discussion it was possible to find out that the proposal does not correctly display more than 15 comments - https://dao.joystream.org/#/proposals/preview/274

The 16th comment moved up the discussion. You can see from the time in the screenshot that it is located incorrectly
image

@adovrodion adovrodion added the bug Something isn't working label Jun 14, 2022
@dmtrjsg dmtrjsg added to-triage scope:forum The "Forum" page and related features scope:proposals The "Proposals" page and related features community-dev issue suitable for community-dev pipeline SP:2 and removed to-triage scope:forum The "Forum" page and related features labels Jun 17, 2022
traumschule pushed a commit to traumschule/pioneer that referenced this issue Oct 25, 2022
thesan pushed a commit that referenced this issue Dec 6, 2022
* Sort proposal discussion by block (#3236)

* fixup

Co-authored-by: Joystream Stats <dev@joystreamstats.live>
@thesan thesan reopened this Dec 6, 2022
@ivanturlakov
Copy link

ivanturlakov commented Dec 8, 2022

Tested on https://pioneer-2-git-mainnet-joystream.vercel.app/#/proposals/preview/41
wss://34.230.5.182.nip.io/ws-rpc

Got an error while adding 2nd comment (after transaction execution)
This error also appears when opening a proposal page
Снимок экрана 2022-12-08 в 12 32 25

@thesan
Copy link
Collaborator

thesan commented Dec 9, 2022

@ivanturlakov this should be fixed by #3965

@ivanturlakov
Copy link

✅ Tested on https://pioneer-2-git-mainnet-joystream.vercel.app/#/proposals/preview/47
wss://34.230.5.182.nip.io/ws-rpc

For sorting used a blocks counter
⚠️ The latest comments are on top of the list

Снимок экрана 2022-12-10 в 12 59 22

@traumschule
Copy link
Collaborator

The latest comments are on top of the list

Do you think that should be changed?

@ivanturlakov
Copy link

Do you think that should be changed?

No, just noticed that the display chronology was changed. I think this is a subjective thing and the community will let us know if anything needs to be changed 👍

@thesan thesan closed this as completed Dec 16, 2022
XxFlameCatxX pushed a commit to XxFlameCatxX/pioneer that referenced this issue Dec 27, 2022
* Sort proposal discussion by block (Joystream#3236)

* fixup

Co-authored-by: Joystream Stats <dev@joystreamstats.live>
XxFlameCatxX pushed a commit to XxFlameCatxX/pioneer that referenced this issue Jan 14, 2023
* Sort proposal discussion by block (Joystream#3236)

* fixup

Co-authored-by: Joystream Stats <dev@joystreamstats.live>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bounty-backlog bug Something isn't working community-dev issue suitable for community-dev pipeline qa-task qa-tested-ready-for-prod release:mainnet scope:proposals The "Proposals" page and related features SP:2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants