Change index on roles from thread to thread_special_role. Re-requesting review since I'd like another pass on this.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Nov 27 2023
In D9981#291960, @tomek wrote:Is the default_role column nullable at this point?
Indent query
Add indent, drop table alias, and drop the join on threads
Use ?? over ||
Nov 24 2023
Nov 23 2023
Nov 22 2023
Rebase
Fix persist version after rebase
Rebase
Rebase
Rebase
Rebase
Rebase
Rebase
Rebase
Rebase
Rebase
Rebase
Nov 21 2023
Address feedback (use NEXT_CODE_VERSION and use threadTypeIsAnnouncementThread)
Rebase
Rebase
Address feedback.
Did some investigating and it seems like we mainly have rolePermissions as null when a user is a former member and is now a ghost member of a thread (-1 role)
Nov 20 2023
Update approach (planning changes until I can update diff description/test plan)
Abandoning this for now since we're reconsidering the Voiced approach
Abandoning this for now since we're reconsidering the Voiced approach
Abandoning this for now since we're reconsidering the Voiced approach
Rebase
Merge diffs (for now)
Update
This is getting merged into D9897
This is getting merged into D9897
Update tests
- Updated the RegEx to match any character except newline to match all unicode characters (like ö) but also to match emojis (🎃)
- Changed the order of isValidENSName to match the regex first. This is to prevent converting an invalid parameter like ö.eth toAscii, which would then meet the length requirements of the regex statement.
- Updated the unit tests, used this post to identify the valid one-char emojis that can be registered as ENS names. Cross checked this manually on https://app.ens.domains/
Nov 17 2023
Rebase on the stack so
- hacky checks in role-creator are removed
- community validation is done
Address feedback (extract query to a function and fix formatting).