Skip to content

Conversation

@victor-sarda
Copy link

Summary

This PR is pure UI/UX improvements. Apologies for the size, but it's mainly due to the fact that I split UI elements into smaller views with previews.

New Features

TogglesView:

  • Unified ToggleRow component handling all toggle types
  • Inline toggle switch for boolean values
  • Override indicators (orange highlighting + pencil icon badge)

ToggleDetailView:

  • Redesigned the override section at the top
  • True/false pill buttons for boolean overrides
  • Multiline TextEditor for JSON/object values
  • Input validation with real-time feedback
  • "Reset to Default" button with confirmation dialogue
  • Detail view for truncated values in Live Value and Provider Stack sections (with a copy value button)

Attachments

Boolean value + shortcut String value
Simulator Screen Recording - iPhone 17 Pro - 2025-12-05 at 14 33 49 Simulator Screen Recording - iPhone 17 Pro - 2025-12-05 at 14 35 02
Int value Copy value
Simulator Screen Recording - iPhone 17 Pro - 2025-12-05 at 14 34 21 Simulator Screen Recording - iPhone 17 Pro - 2025-12-05 at 15 00 59
macOS Toggles tab macOS observables tab
TogglesDemo 2025-12-05 15 17 35 TogglesDemo 2025-12-05 15 17 43

@victor-sarda victor-sarda changed the title TogglesView and ToggleDetailView` UI/UX refresh TogglesView and ToggleDetailView UI/UX refresh Dec 5, 2025
@albertodebortoli
Copy link
Member

These improvements are very much appreciated! 🤟

@victor-sarda victor-sarda marked this pull request as ready for review December 5, 2025 15:32
@albertodebortoli albertodebortoli merged commit d556ffc into TogglesPlatform:main Dec 5, 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.

2 participants