Skip to content

Conversation

@Maphikza
Copy link
Member

updating nginx configs

…and-react-hooks

receive address view bug has been fixed and we need it.
- Remove mode selector UI and replace with 'Allow Unregistered Kind Numbers' toggle
- Add visual indicators for kind status (✅/❌/⚠️/🚫)
- Update type definitions to support new backend structure
- Refactor useRelaySettings hook to handle new fields
- Update all components to work with new structure
- Add warning display when allowing unregistered kinds
- Add translation keys for new UI text
- Remove all mode-related logic from components
…inds system

BREAKING CHANGE: Removes blacklist/whitelist mode selector in favor of simpler toggle

- Remove mode field from EventFilteringConfig interface
- Add allow_unregistered_kinds and registered_kinds fields
- Replace mode selector UI with 'Allow Unregistered Kind Numbers' toggle
- Add warning display when unregistered kinds are allowed
- Refactor useRelaySettings hook to handle new backend structure
- Simplify KindsList component (removed unused props)
- Update DynamicKindsList to show registration status
- Update Desktop and Mobile layouts with new toggle
- Remove all mode-related logic throughout codebase
- Add translations for new UI elements

This aligns the frontend with backend changes that simplify event filtering
by using a single toggle to control acceptance of unknown event types,
while registered kinds can be individually enabled/disabled.
- Wrap toggle in CollapsibleSection for better organization
- Add descriptive help text explaining the feature
- Enhance warning display with styled container and borders
- Improve responsive layout for both desktop and mobile views
- Better visual hierarchy with proper spacing and typography
- Replace unescaped apostrophes with ' in JSX text
- Fixes react/no-unescaped-entities lint errors in both layouts
- Add ✅/❌ indicators to event kinds to show selection status
- Add ✅/⚠️/❌ indicators to dynamic kinds based on registration and selection
- Add ✅/❌ indicators to media type extensions (photo, video, audio)
- Add ✅/❌ indicators to network protocol options
- Improve visual consistency across all relay settings sections
- Make selection status immediately visible for better UX
- Reduce status icon font size from 1.2em to 0.9em
- Adjust container width to 1.2rem to match checkbox size
- Center icons within container for better visual alignment
- Improve consistency between checkbox and status icon sizing
- Add kind 1808 to noteOptions in relay settings constants
- Include description "Audio Transcription" in Basic Nostr Features category
- Add translation entry for kind1808 in English locale
- Enable relay operators to configure support for audio transcription events
@f7f376a1fcd0d0e11a10ed1b6577c9 f7f376a1fcd0d0e11a10ed1b6577c9 merged commit 81de57c into main Aug 15, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants