Commit Graph
45 Commits
Author SHA1 Message Date
NetworkCats c2247fc4a6 fix: add explicit line-height to ensure consistent layout across languages 2026-03-22 19:28:50 +08:00
NetworkCats ead6ee47be fix: reduce spacing between info table labels and values 2026-03-22 19:01:12 +08:00
NetworkCats 991fd289a2 fix: improve accessibility to meet WCAG 2.2 AA/AAA standards
- Remove disruptive alert() on error pages, rely on role="alert" banner
- Add skip navigation link for keyboard users (WCAG 2.4.1)
- Fix heading hierarchy on error page (sr-only status text in h1)
- Add "opens in a new tab" screen reader hint on external links
- Wrap language selector in form with noscript submit button (WCAG 3.2.2)
- Add aria-label to copy-to-clipboard buttons and footer landmarks
- Use h2 for alt-IP section to maintain single h1 per page
- Add persistent underline on links for non-color identification (WCAG 1.4.1)
- Fix footer attribution contrast ratio to ~5.5:1 (WCAG 1.4.3)
- Add aria-busy/role=status loading announcements for skeleton state
- Add translations for new accessibility strings across all 14 locales
- Update integration tests to assert role="alert" instead of alert()
2026-03-22 18:21:29 +08:00
NetworkCats b76410abf4 modernize JS to ES2022+ module and fix CSS logical property consistency
Rewrite script.js from ES5 (IIFEs, var, .then() chains) to modern ES2022+:
const/let, arrow functions, template literals, async/await, optional
chaining, for...of, .includes(), AbortSignal.timeout(), and DOM APIs
for dynamic HTML construction. Fix unhandled clipboard rejection, abort
timeout leak, and global scope pollution. Update script tag to
type="module" and fix CSS: top -> inset-block-start, flex-start -> start,
and indentation in media query block.
2026-03-22 18:01:05 +08:00
NetworkCats 5af03bf9b9 fix: PO parser escape order, proxy endpoint consistency, and accessibility bugs 2026-03-22 17:52:25 +08:00
NetworkCats cefdceab2c feat: add dismissible noscript notification banner
Show a fixed bottom banner for users with JavaScript disabled,
using CSS checkbox hack for dismissal without requiring JS.
2026-03-22 16:30:30 +08:00
NetworkCats da8434662f feat: add skeleton loading state for alt-IP section when primary IP is IPv6
Show a shimmer skeleton placeholder while fetching the local IPv4
address via the IPv4-only domain. When the primary IP is already IPv4,
no loading state is displayed and the alt section fades in directly.
2026-03-22 12:06:56 +08:00
NetworkCats 1872142bbb feat: add JS dual-stack IP detection with full info display 2026-03-11 04:40:05 +08:00
NetworkCats 1048d043bb fix: absolutely position copied tooltip to prevent IP shift 2026-03-07 19:14:38 +08:00
NetworkCats 5d87a9c7b3 fix: use gray text for copied tooltip and position it beside the IP 2026-03-07 03:59:17 +08:00
NetworkCats 2ed0bf3b6d feat: add click-to-copy IP address with localized tooltip 2026-03-07 03:56:05 +08:00
NetworkCats 00c1b7028c style: apply consistent link styling to ASN in info table 2026-03-06 20:19:46 +08:00
NetworkCats d9f7cd61f9 style: modernize CSS syntax with rgb(), range queries, and short hex 2026-03-06 04:56:00 +08:00
NetworkCats d54a090be2 style: move language selector to top of footer on mobile 2026-03-06 04:30:15 +08:00
NetworkCats 42aa256f43 css 2026-03-06 04:24:32 +08:00
NetworkCats 0fabd246c6 css 2026-03-06 04:11:06 +08:00
NetworkCats 916c02b3d1 css 2026-03-06 04:07:26 +08:00
NetworkCats 3b5635745d css 2026-03-06 04:05:28 +08:00
NetworkCats f17e0e5c48 css 2026-03-06 03:41:05 +08:00
NetworkCats ac7c18dd4a css 2026-03-06 03:33:37 +08:00
NetworkCats f9270abb43 style: reduce FAQ triangle to 12px with baseline alignment 2026-03-06 03:31:13 +08:00
NetworkCats 17345bf7a6 style: increase FAQ disclosure triangle size and improve alignment 2026-03-06 03:24:34 +08:00
NetworkCats 9cd87659c3 fix: reduce FAQ disclosure triangle size and spacing 2026-03-05 03:00:26 +08:00
NetworkCats 4a461cbd92 fix: anchor search icon to input height to prevent misalignment on error 2026-03-05 01:54:27 +08:00
NetworkCats 8935e5f7c0 feat: reject non-public IP queries on both backend and frontend 2026-03-05 01:37:30 +08:00
NetworkCats 2e6bf5021c css 2026-03-05 00:43:53 +08:00
NetworkCats 8e6e5ab7a8 css color 2026-03-05 00:33:36 +08:00
NetworkCats 4d201dcf91 css 2026-03-05 00:21:38 +08:00
NetworkCats 8be57adcf8 font weight 2026-03-04 21:23:42 +08:00
NetworkCats 8af13886ff fix: improve light mode text contrast to meet WCAG AA standards 2026-03-04 21:14:33 +08:00
NetworkCats 17ea2a4c6a style: move language selector to right side of footer layout 2026-03-04 20:34:13 +08:00
NetworkCats 7e5a05b35a feat: add full i18n support for 14 languages with gettext PO translations
- Add i18n module with Locale enum, PO parser, and Accept-Language negotiation
- Create gettext .po translation files for en, es, de, ja, ko, id, fr, ru, pt, it, zh-Hant, zh-Hans, nl, ar
- Route HTML pages under /{lang}/ prefix using IETF language tags
- Auto-detect browser language and redirect from / to /{lang}/
- Add language selector dropdown in footer
- Localize geo names (country, city) from MMDB where available
- Add hreflang alternate links and multilingual sitemap for SEO
- Support RTL layout for Arabic
- Update integration tests for new routing structure
2026-03-04 20:11:16 +08:00
NetworkCats 6fbfe15b08 feat: add HTML error pages with browser alert popup for IP query errors 2026-03-04 03:21:32 +08:00
NetworkCats 5458098e8c style: remove FAQ dividers and move disclosure triangles inside container 2026-03-04 03:05:58 +08:00
NetworkCats 675c8d3c2c feat: add site footer with license, repo links, and data attribution 2026-03-04 01:41:39 +08:00
NetworkCats 8e3bd95676 feat: add collapsible FAQ section to home page 2026-03-04 01:10:37 +08:00
NetworkCats 5bc601e6e5 feat: improve SEO meta tags, robots.txt, sitemap.xml, and table accessibility 2026-03-03 03:14:40 +08:00
NetworkCats f480131809 style: modernize CSS with light-dark(), nesting, logical props, and fix a11y 2026-03-03 03:04:51 +08:00
NetworkCats b45e44c8e3 style: refine layout, soften dark mode colors, and lighten IP font 2026-03-03 02:56:33 +08:00
NetworkCats 45f2064f0e style: center info table under IP and refine layout 2026-03-03 02:35:36 +08:00
NetworkCats 5a5cbdf024 style: reduce IP spacing and left-align with info table 2026-03-03 02:27:21 +08:00
NetworkCats 3284c0281a refactor: remove search submit button in favor of Enter key 2026-03-03 02:20:35 +08:00
NetworkCats 4a19f9dd70 feat: adopt Apple color palette, dark mode, icons, and Google Fonts 2026-03-03 02:00:51 +08:00
NetworkCats cae9ec6c7e style: add responsive breakpoints and fluid typography 2026-03-03 01:33:36 +08:00
NetworkCats 9f3b38acac feat: add route handlers, router, SSR template, and CSS 2026-03-02 20:02:45 +08:00