Commit Graph
3659 Commits
Author SHA1 Message Date
Tommaso CasaburiandGitHub 804c14fc35 Improve P2P stats peer locations and Kubo display (#1139)
* feat(p2p stats): plot peers by ip location

* fix(p2p stats): show own node map marker

* feat(p2p stats): support full node peers

* fix(p2p stats): clean up kubo stats

* fix(p2p stats): address review feedback
2026-05-24 17:32:05 +07:00
Tommaso Casaburi a6a1320381 fix(feed): clarify loading states 2026-05-24 16:25:02 +07:00
Tommaso Casaburi 0df81b598e fix(board header): replace loading icon with spinner 2026-05-23 23:30:51 +07:00
Tommaso CasaburiandGitHub f5039285a7 fix(p2p stats): improve own-IP geolocation and world map accuracy (#1138)
* fix(p2p stats): improve own-IP geolocation and world map accuracy

Resolve the user's public endpoint when libp2p only advertises private listen addresses, look up an accurate country flag for "Your IP", snap peer markers to country centroids, and add leeching seeder link plus panel layout tweaks.

* fix(p2p stats): skip caching own-IP lookups cancelled by abort

When the P2P stats panel unmounts mid-request, its AbortSignal cancels
the in-flight fetchOwnPublicEndpoint / fetchOwnIpCountryCode calls. Those
empty results were still cached for 30-60s, so reopening the panel within
that window showed "Your IP" as unavailable or without a country flag even
though nothing had actually failed. Skip caching when the signal aborted so
a later open retries. Addresses Cursor Bugbot finding.
2026-05-23 22:47:41 +07:00
Tommaso Casaburi 9c4bb28940 Merge branch 'codex/feature/prettier-peer-list' 2026-05-23 18:34:05 +07:00
Tommaso Casaburi 782a1f466f feat(p2p stats): redesign connected peers with world map and country flags
Restyle the connected-peers list in the classic square, flat imageboard style,
move it to the end of the panel, and open it by default. Add an offline
approximate world map and per-peer country flags (sprite order taken from the
original 4chan flags.css), plus codify the old-school design rules in DESIGN.md
and point agents to them from AGENTS.md.
2026-05-23 18:33:00 +07:00
Tommaso Casaburi 1a09c7e891 Merge branch 'codex/fix/pending-escape-board-redirect'
# Conflicts:
#	src/components/post-form/post-form.tsx
2026-05-23 17:26:47 +07:00
Tommaso Casaburi e95dcb8af5 fix(pending-post): return to board after abandoned challenge 2026-05-23 17:24:22 +07:00
Tommaso Casaburi 739da79964 Merge branch 'codex/fix/hide-empty-advanced-settings-fields' 2026-05-23 17:23:23 +07:00
Tommaso Casaburi b849f7c376 fix(advanced settings): hide gateway fields in pure p2p mode and align inputs
When pure browser P2P is enabled, the IPFS gateway and pubsub provider
fields no longer apply, so hide them and toggle their visibility reactively
from the now-controlled pure P2P checkbox. Rename "Node RPC" to "Full node
WebSocket RPC", add a placeholder, and drop the old info toggle.

Give the WebSocket RPC text input the same content-box width, border, and
padding as the textareas above it so all field right edges align.
2026-05-23 17:23:05 +07:00
Tommaso Casaburi fb1dbb3917 Merge branch 'master' of github.com:bitsocialnet/5chan 2026-05-23 17:20:18 +07:00
Tommaso CasaburiandGitHub 22c1b4f123 feat(post options): support nonoko board redirects (#1137) 2026-05-23 16:54:38 +07:00
Tommaso Casaburi f4965ee678 Merge branch 'codex/fix/mod-queue-board-summary-dedupe' 2026-05-23 15:36:54 +07:00
Tommaso Casaburi d13f2240e3 fix(mod queue): dedupe board filters 2026-05-23 15:36:39 +07:00
Tommaso Casaburi ff732af9de fix(mod queue): keep empty state inside loaded table 2026-05-23 15:24:21 +07:00
Tommaso Casaburi cf96d3b1ae Merge branch 'codex/feature/pure-p2p-default-web' 2026-05-22 17:31:42 +07:00
Tommaso Casaburi ca13e97dd4 feat(p2p): enable pure browser p2p by default 2026-05-22 17:31:28 +07:00
Tommaso Casaburi 722b6e055a chore(deps): upgrade @pkcprotocol/pkc-js to 0.0.35 2026-05-22 17:28:17 +07:00
Tommaso Casaburi 99eb49cdc5 fix(edit menu): restore moderation reason field 2026-05-22 14:17:25 +07:00
Tommaso Casaburi b6ba1461f8 Merge branch 'codex/fix/bbcode-preview-mod-warning' 2026-05-22 00:44:43 +07:00
Tommaso Casaburi 275d8b0e69 fix(moderation): clarify moderator composer state 2026-05-22 00:44:14 +07:00
Tommaso Casaburi 693c8ad360 fix(theme): match tomorrow directory/archive table headers to 4chan
Use post-form title colors for thead cells and drop borders in Tomorrow theme.
2026-05-22 00:43:21 +07:00
Tommaso CasaburiandGitHub 4c011b3fdd fix(post form): align rules prompt test with bottom placement (#1136) 2026-05-22 00:03:52 +07:00
Tommaso Casaburi 75fb245bfb Merge branch 'master' of github.com:bitsocialnet/5chan 2026-05-21 22:33:51 +07:00
Tommaso CasaburiandGitHub ff6b4cd201 feat(posting): add scoped options and qst formatting (#1135)
* feat(posting): add scoped options and qst formatting

* fix(posting): address post options review feedback

* fix(posting): sync option content before publish

* fix(posting): handle final review nits
2026-05-21 22:12:41 +07:00
Tommaso Casaburi 7d521b1e95 Merge branch 'codex/fix/post-form-rules-row-bottom' 2026-05-21 19:35:07 +07:00
Tommaso Casaburi cab81f0e6a Merge branch 'codex/fix/post-form-thread-button-align' 2026-05-21 19:35:06 +07:00
Tommaso Casaburi 4efa668fec fix(post form): move rules and FAQ prompt to bottom of form
Render the rules/FAQ prompt after the last field instead of between
the file and options rows so it always sits at the bottom.
2026-05-21 19:34:50 +07:00
Tommaso Casaburi 8cd3b65b19 fix(post form): center the collapsed start-new-thread toggle
Re-center the desktop start-new-thread toggle (matching the board
title) while keeping the expanded post form left-aligned with the
blotter.
2026-05-21 19:30:40 +07:00
Tommaso Casaburi 73503eadd0 Merge branch 'codex/chore/translate-post-form-rules-faq-prompt'
Localize post_form_rules_faq_prompt and nothing_found across all supported languages.
2026-05-21 19:05:45 +07:00
Tommaso Casaburi f85c11f66c chore(i18n): translate post form prompt and nothing found
Localize post_form_rules_faq_prompt and nothing_found across all supported languages.
2026-05-21 19:05:40 +07:00
Tommaso Casaburi 1fffe2c428 Merge branch 'codex/fix/post-form-blotter-align' 2026-05-21 19:04:39 +07:00
Tommaso Casaburi b347205136 fix(post form): align desktop post form to blotter left edge
Match the blotter's centered 468px column so the desktop post form
shares its left edge instead of being centered within its own width.
2026-05-21 19:03:47 +07:00
Tommaso Casaburi 7305e40870 feat(post form): add rules and FAQ prompt 2026-05-21 18:55:36 +07:00
Tommaso Casaburi 5fc27fda21 Merge branch 'codex/fix/verbose-board-loading-feed' 2026-05-21 18:02:06 +07:00
Tommaso Casaburi e426bf2ccc fix(board): clarify loading fallback 2026-05-21 18:01:44 +07:00
Tommaso Casaburi bddbb82a58 Merge branch 'codex/fix/board-footer-subscriptions-empty-style' 2026-05-21 18:00:05 +07:00
Tommaso Casaburi 77e46500e2 fix(board): match subscriptions empty state to catalog search styling
Use the same centered red status treatment as catalog "Nothing Found"
instead of a plain red span in the subscriptions footer.
2026-05-21 18:00:01 +07:00
Tommaso Casaburi df0936a4f9 fix(ui): hardcode /all/ and /mod/ multiboard titles
Use fixed labels in the board header and mobile board selector instead of
directories metadata or translated mod copy.
2026-05-21 17:59:52 +07:00
Tommaso Casaburi 67ddaee673 docs(blotter): keep release highlights user-facing 2026-05-21 17:50:00 +07:00
Tommaso Casaburi f22c53ec1c Merge branch 'codex/fix/pending-account-comment-not-found' 2026-05-21 17:39:57 +07:00
Tommaso Casaburi e0a42e7899 fix(pending-post): preserve sparse retry routes 2026-05-21 17:39:35 +07:00
Tommaso Casaburi 56c4fdf3c1 fix(mod multiboard): show account import empty state 2026-05-21 17:37:18 +07:00
Tommaso Casaburi a31c3b44d3 fix(board): warn on unverified addresses 2026-05-21 17:33:14 +07:00
Tommaso Casaburi 75d90c8264 fix(post-form): shorten long uploaded file labels in the form
Telegraph and other hosts can produce very long filenames that overflow the
narrow post form upload row; truncate them more aggressively than post media
links and expose the full name via title tooltip.
2026-05-21 15:34:21 +07:00
Tommaso Casaburi 0fe18a5646 Merge branch 'codex/fix/direct-board-community-loading' 2026-05-21 15:27:24 +07:00
Tommaso Casaburi 35ffbd257b fix(directory): load direct board routes 2026-05-21 15:27:06 +07:00
Tommaso Casaburi 7fcea5d370 fix(deps): bump resolutions for Dependabot security alerts
Pin protobufjs, ws, @libp2p/kad-dht, and brace-expansion@5 to patched versions.
2026-05-21 15:24:14 +07:00
Tommaso Casaburi 616fea39fb fix(directory): use resolved board for directory feeds 2026-05-21 00:05:29 +07:00
Tommaso CasaburiandGitHub 536d9ac0b8 fix(directory): load per-directory list files (#1134)
Merge board directories from the new bitsocialnet/lists per-directory layout on the client side.

Update vendored fallback data, sync tooling, directory references, and tests.

Treat failed board stat fetches as complete on the home page so stats do not stay loading forever.
2026-05-20 23:31:58 +07:00