Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

Privacy settings: space the rows on the design scale, shared fields under their button (#1319)

0xken15460d96773467
diff --git a/desktop/lib/settings/sections/privacy_section.dart b/desktop/lib/settings/sections/privacy_section.dart
index 4d526d80f..56da76031 100644
--- a/desktop/lib/settings/sections/privacy_section.dart
+++ b/desktop/lib/settings/sections/privacy_section.dart
@@ -135,6 +135,7 @@ class _ProductUsagePreferenceState extends State<ProductUsagePreference> {
),
),
],
+ const SizedBox(height: 8),
Align(
alignment: Alignment.centerLeft,
child: TextButton(
@@ -144,9 +145,8 @@ class _ProductUsagePreferenceState extends State<ProductUsagePreference> {
child: Text(_details ? 'Hide shared fields' : 'See what’s shared'),
),
),
- if (_enabled == true && widget.feedback != null)
- ProductFeedback(send: widget.feedback!),
- if (_details)
+ if (_details) ...[
+ const SizedBox(height: 8),
const SelectableText(
'Shared fields\n'
'• UTC day and a random report receipt to prevent duplicate counts\n'
@@ -171,6 +171,9 @@ class _ProductUsagePreferenceState extends State<ProductUsagePreference> {
'Optional task feedback sends only your selected outcome or reason. '
'A turn ending does not tell us whether your task succeeded.',
),
+ ],
+ if (_enabled == true && widget.feedback != null)
+ ProductFeedback(send: widget.feedback!),
],
),
);
diff --git a/desktop/lib/shared/widgets/product_feedback.dart b/desktop/lib/shared/widgets/product_feedback.dart
index c8e64cb7c..8533b69d6 100644
--- a/desktop/lib/shared/widgets/product_feedback.dart
+++ b/desktop/lib/shared/widgets/product_feedback.dart
@@ -73,7 +73,7 @@ class _ProductFeedbackState extends State<ProductFeedback> {
@override
Widget build(BuildContext context) => Padding(
- padding: const EdgeInsets.only(top: 20),
+ padding: const EdgeInsets.only(top: 24),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
@@ -90,7 +90,7 @@ class _ProductFeedbackState extends State<ProductFeedback> {
const SizedBox(height: 8),
Wrap(
spacing: 8,
- runSpacing: 4,
+ runSpacing: 8,
children: [
for (final choice in (widget.outcome ? outcomes : choices).entries)
OutlinedButton(
@@ -102,7 +102,7 @@ class _ProductFeedbackState extends State<ProductFeedback> {
),
],
),
- if (_status != null) Text(_status!),
+ if (_status != null) ...[const SizedBox(height: 8), Text(_status!)],
],
),
);
diff --git a/mobile/lib/phone/privacy_page.dart b/mobile/lib/phone/privacy_page.dart
index 18911ef37..0fbdb3a4a 100644
--- a/mobile/lib/phone/privacy_page.dart
+++ b/mobile/lib/phone/privacy_page.dart
@@ -94,15 +94,15 @@ class _PrivacyPageState extends State<PrivacyPage> {
child: const Text('Reload'),
),
],
+ const SizedBox(height: 8),
TextButton(
onPressed: () => setState(() {
_details = !_details;
}),
child: Text(_details ? 'Hide shared fields' : 'See what’s shared'),
),
- if (_enabled == true && widget.feedback != null)
- ProductFeedback(send: widget.feedback!),
- if (_details)
+ if (_details) ...[
+ const SizedBox(height: 8),
const Text(
'Shared fields: UTC day, a random retry receipt, protocol and preference revisions; '
'active/working computer counts, first/repeat work, desktop/terminal opens, '
@@ -122,6 +122,9 @@ class _PrivacyPageState extends State<PrivacyPage> {
'Previously collected activity records expire after 35 days. '
'A turn ending does not establish task success.',
),
+ ],
+ if (_enabled == true && widget.feedback != null)
+ ProductFeedback(send: widget.feedback!),
],
),
);
diff --git a/mobile/lib/shared/widgets/product_feedback.dart b/mobile/lib/shared/widgets/product_feedback.dart
index c8e64cb7c..8533b69d6 100644
--- a/mobile/lib/shared/widgets/product_feedback.dart
+++ b/mobile/lib/shared/widgets/product_feedback.dart
@@ -73,7 +73,7 @@ class _ProductFeedbackState extends State<ProductFeedback> {
@override
Widget build(BuildContext context) => Padding(
- padding: const EdgeInsets.only(top: 20),
+ padding: const EdgeInsets.only(top: 24),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
@@ -90,7 +90,7 @@ class _ProductFeedbackState extends State<ProductFeedback> {
const SizedBox(height: 8),
Wrap(
spacing: 8,
- runSpacing: 4,
+ runSpacing: 8,
children: [
for (final choice in (widget.outcome ? outcomes : choices).entries)
OutlinedButton(
@@ -102,7 +102,7 @@ class _ProductFeedbackState extends State<ProductFeedback> {
),
],
),
- if (_status != null) Text(_status!),
+ if (_status != null) ...[const SizedBox(height: 8), Text(_status!)],
],
),
);