-
Notifications
You must be signed in to change notification settings - Fork 33
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
bonustrack
wants to merge
58
commits into
master
Choose a base branch
from
pulse
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
feat: Townhall #1350
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Conflicts: # apps/ui/src/views/Pulse.vue # yarn.lock
Pushed two fixes there as the PR was broken for me (circular dependency and broken |
* 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]>
* 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.