feat: enhance RDAP component rendering with comprehensive data display

Major improvements to RDAP card components:
- Add tooltips to action buttons in AbstractCard for better UX
- Implement dedicated section components (EntitiesSection, LinksSection,
  NameserversSection, RemarksSection, SecureDNSSection, VCardDisplay)
- Add conditional rendering for optional fields across all card types
- Enhance Entity and Nameserver cards with full data display
- Add WHOIS server (port43) display to relevant cards
- Improve visual hierarchy with nested entity displays
- Fix autodetection to only run when in autodetect mode
- Add proper null/undefined checks throughout components
This commit is contained in:
2025-10-22 16:19:04 -05:00
parent 48eb1c630b
commit 3ff347b81f
17 changed files with 1393 additions and 206 deletions

View File

@@ -70,11 +70,14 @@ const Index: NextPage = () => {
setTarget(target);
setTargetType(targetType);
const detectResult = await getType(target);
if (detectResult.isOk) {
setDetectedType(Maybe.just(detectResult.value));
} else {
setDetectedType(Maybe.nothing());
// Only run autodetection when in autodetect mode (targetType is null)
if (targetType === null) {
const detectResult = await getType(target);
if (detectResult.isOk) {
setDetectedType(Maybe.just(detectResult.value));
} else {
setDetectedType(Maybe.nothing());
}
}
}}
onSubmit={async function (props) {