This is a yet-to-be-merged PR if anyone cares to weigh in...
What type of PR is this? (check all applicable)
- [ ] Refactor
- [x] Feature
- [ ] Bug Fix
- [ ] Optimization
- [ ] Documentation Update
This feature allows the extension to detect whether it is on an unlisted forem... or in general rely on whether the page looks and smells like a forem. It is initially based just on the meta tags on the page, but we can expand this functionality such that non-forems can't easily "spoof" this functionality.
It's not the end of the world if that happens so we don't need to go wild prevent non-"forems" in any hardcore way at the moment, but I imagine we can make this more sophisticated in the future. But this allows, for example, a private personal forem to be listed in one's sidebar without having to be public about it and have it added to
The reason here is that if you have a personal forem you don't want existing in the broader world you can still add it to your sidebar....
The forem team itself has a "private" forem and this allows us to list it in our switcher without submitting it to be "listed"...
This is a step in a gradually more sophisticated ecosystem architecture.