This PR adds the ability to hide information from the Yalies.io website, using a new profile editor page. Also, you can add your Instagram/Snapchat handle which will be displayed when someone searches you up.
TODO
This code reduces performance of people queries. Since the persistent data is stored in another table, for each person result, the secondary table has to be queried. There might be a way to optimize this.
You can't see the performance impact on the yalies website because pagination keeps it to a limited number of people per query, but if you use the API to query all people in the directory, it takes significantly longer than before.
Checklist
[x] I have thoroughly tested my code
[x] I have considered security and privacy implications of my changes
[x] I have added one other developer, @ErikBoesen, and the Yalies Team Lead as Reviewers
Description
Fixes #232 Fixes #206 Fixes #231
This PR adds the ability to hide information from the Yalies.io website, using a new profile editor page. Also, you can add your Instagram/Snapchat handle which will be displayed when someone searches you up.
TODO
This code reduces performance of people queries. Since the persistent data is stored in another table, for each person result, the secondary table has to be queried. There might be a way to optimize this.
You can't see the performance impact on the yalies website because pagination keeps it to a limited number of people per query, but if you use the API to query all people in the directory, it takes significantly longer than before.
Checklist