Skip to content

feat: Townhall #1350

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

Draft
wants to merge 58 commits into
base: master
Choose a base branch
from
Draft

feat: Townhall #1350

wants to merge 58 commits into from

Conversation

bonustrack
Copy link
Member

No description provided.

@bonustrack bonustrack marked this pull request as draft April 18, 2025 12:12
@Sekhmet
Copy link
Member

Sekhmet commented Apr 24, 2025

Pushed two fixes there as the PR was broken for me (circular dependency and broken route.name check, other changes I will create in other PR.

Sekhmet and others added 2 commits April 25, 2025 18:44
* feat: add initial HighlightEthereumSig client

* chore: store salt and chainId in domain

* feat: encapsulate in eip-712 message

* feat: use Highlight for Townhall actions

* feat: add WS support

* feat: add await for creating discussion

* fix: pad salt

* feat: wait for Discussion on API

* feat: use aliases for townhall

* feat: use primaryType instead of entrypoint

* feat: use uint64 for number types

* fix: do not cache highlight graphql queries

* chore: set default Highlight config vars to production endpoint

* chore: remove mention of Pulse

---------

Co-authored-by: less <[email protected]>
Sekhmet and others added 11 commits May 6, 2025 22:56
* feat: add endpoint to collect results

* feat: add role filtering for results

* feat: optimistically update results from WS
* refactor: remove websockets for pin/hide/close discussion

* refactor: remove websockets for townhall votes

* chore: remove websocket clients on UI

* fix: do not retry user roles if user doesn't exist

* fix: add default staleTime of 5 seconds for townhall queries

This addresses issue that going back from wallet (like in fullscreen
chrome) triggers queryFn which is not updated yet at the API.

* chore: remove websocket supprot from highlight
* ux(townhall): update to common layout

* ux: improve role view

* fix: resolve space based on route param

* fix: links with space id

* fix: townhall nav on whitelabel

* ux(townhall): update to common layout

* ux: improve role view

* fix: resolve space based on route param

* fix: links with space id

* fix: townhall nav on whitelabel

* feat: add useSpaceType composable

* feat: create space entity on Highlight

* feat: update SpaceOverview to include discussion count

* feat: show role indicator color in role filter

* feat: add infinite scroll to topics list

* feat: show latest topics on overview page

* ux: various ux improvements

---------

Co-authored-by: Wiktor Tkaczyński <[email protected]>
* feat: add AI chatbot assistant

* fix: typecheck
* refactor: rename Discussion -> Topic, Statement -> Post

* fix: update optimistic role format

* feat: add unpin post support

* fix: prevent crashes on results_by_role endpoint
Right now if we switch Role filter entire page turns into loading state.
We can avoid that by having separate loading indicator just for the
results.
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