Copy paste from another comment:
You can either search for a place or click on it. You'll see various scopes: provinces/territories, countries, intermediate regions, sub regions, continent. You can click also on these to change the scope. What it actually does is send it as a search query into lemmy and you see the search results to it (I built a fancy search page). IN the Fediverse Tab you can select the instances, sort types, and other settings from lemmy. On the Nexus Tab you have a similar behaviour, just for the various modules. You'll see the wiki of whatevery is selected on the map :)
tldr: Attention [Pink]: Select an option [Purple] to reveal selected information [Yellow].
I gave it a quick and dirty integration in Nexus > Misc (Link it externally)
Unfortunately to have deeper integration I'd need to be able to get a json response (or do an iFrame, which I would like to avoid). It's a similar problem I was facing when looking for ways to integrate marxist.org. They use a google search plugin :(
Also it seems like there aren't that many pages in the format: http://bannedthought.net/{country}/index.htm and you often land on a 404 page :/
I was playing around with the same idea but haven't managed to make it work yet:
https://www.npmjs.com/package/react-markdown (what I'm currently using for markdown)
work with
https://www.npmjs.com/package/react-highlight-words
I was helping myself with CTRL+F and "Highlight All" in Firefox as a workaround :)
Not at the moment. It's on netlify, but am looking for ways to move off of it. I reached out to the admin/devs also @chay@lemmygrad.ml made an offer
Thank you for your feedback!
The main map should be smaller or adjustable/collapsible
There's a double arrow that allows you to drag and drop to a size you like. I check how to make it collapse/expand entirely
Ability to show posts and comments together like on the search page
I initially had it set up like this, but was only able to do posts and then comments or the other way around. On the search page the comments and posts are automatically sorted by the selected sort type, but haven't figured out how it's done. I'll check if I can make it available still
Would it be possible to exclude comments with only one upbear?
yes and no. When I do an API call I get back an array of 10 (or less) comments. I could filter them but you'd have to still click "view more" to get a new batch of 10 comments where e.g. 9 could have one vote and you'd only see 1 more. My attempts at implementing an infinite scroller always ended up infinitely looping 😅 Btw the default sorting is "new", try if active or hot works better in the mean time.
Oh and some of the emojis are huge
Right now it's difficult to distinguish between emoji <img> and regular <img>. I'll give it a another look
I'm fairly new to development and haven't done any open source yet. I asked some of the lemmy/hb devs and will make the necessary steps. I like the idea of having to have an hb account a prerequisite from @xj9@hexbear.net
How does a post/comment get associated with a region? Is it a text based analysis of the post that picks out keywords?
When you click on a region, and depending on the regionscope (country, province, contintent, etc.) the string is passed to the lemmy-client-js search function (e.g. west asia, egypt, california). The posts/comments that pop up are just the search results on the string. At the very bottom of the lemmy integration you find the link to the search page and how the query works. I'm afraid it's just a fancy search page that is leveraging all fields you see here https://hexbear.net/search :)
Another thought, would it be feasible to show a timeline view to show which regions are "hot" at the moment and over time? I imagine in 2022 that Ukraine would light up (no pun intended), and in 2024 so would Gaza. That would be kind of cool to see.
That's a great Idea! Not sure how to be able to implement it. Lemmy-client-js would probably need to be able to take fromDate and toDate as a parameter on the search function if I understand your idea correctly.
I am a huge fan of your bulletins! If you're interested we can make them even integrate even better (e.g. the reading list, or if some countries are not showing).
Thank you for doing the bulletin posts!
@hex_atlas
@hexbear.net