Details
- Run web app
- Create subchannel with some threads (sidebars)
- Check if threads are searchable
- Delete subchannel and check if threads are still searchable
Diff Detail
- Repository
- rCOMM Comm
- Branch
- patryk/child-sidebar-bug
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
Great work! Mostly nits inline
keyserver/src/deleters/thread-deleters.js | ||
---|---|---|
60 | Let's delete this line | |
65 | serverThreadInfo is an array. We typically try to use plurals for arrays. The English word "information" is technically both singular and plural, but to disambiguate in the code we generally try to use the suffix "Infos" | |
93 | The convention in the codebase is to omit semicolons at the end of SQL statements unless using multipleStatements: true It's best to try to match conventions as much as possible, rather than changing things to match your preference. Please try to identify conventions on your own, and try to match the style in the codebase as much as possible! | |
98 | Nit: convention in the code is to use capital letter for the second letter of ID | |
keyserver/src/fetchers/thread-fetchers.js | ||
312 | Nit | |
313 | I don't think we need this condition here, as it doesn't appear to be used in your use case. It's best to keep things as simple as possible, and avoid "overengineering" for potential future use cases. If we need this in the future, it should be really easy to reintroduce it | |
332 |