Skip to content

Conversation

myieye
Copy link
Collaborator

@myieye myieye commented Oct 6, 2025

  • This PR is primarily about adapting the feature-request list-item to point at the community forum instead of user jot.
  • Also renames "Feedback" to "Feedback & Support" (because that's what it is)
  • Also adds an additional link to our general community forum
  • Also tried to simplify some wording
  • Also ensurs that the Feedback drawer content is scrollable, because a fourth item makes it quite tall
  • Also unifies the icons we used for Feedback and for Troubleshoot
  • Also turns Troubleshoot dialog into a responsive dialog (so it's a drawer on mobile)
  • Also ensures the troubleshoot drawer doesn't use the standard back-button handling from the drawer component, because it already has its own back-button handling (with a query-param), so it was redundant and unusable.

Before:
image

After:
image

@github-actions github-actions bot added the 💻 FW Lite issues related to the fw lite application, not miniLcm or crdt related label Oct 6, 2025
Copy link

coderabbitai bot commented Oct 6, 2025

📝 Walkthrough

Walkthrough

Updates feedback/support wording and icons, reorders sidebar items, refactors TroubleshootDialog to use ResponsiveDialog, enhances ResponsiveDialog with prop forwarding and type, adds drawer max-height and optional back-handler disabling, and refreshes translations across multiple locales to match new feedback/support texts.

Changes

Cohort / File(s) Summary of changes
Navigation labels and icons
frontend/viewer/src/home/HomeView.svelte, frontend/viewer/src/project/ProjectSidebar.svelte
Renamed “Feedback” to “Feedback & Support”; adjusted icons (message/help-circle); reordered sidebar actions so Feedback opens first and Troubleshoot second; logic unchanged.
Feedback dialog content
frontend/viewer/src/lib/about/FeedbackDialog.svelte
Updated title, button texts, and links; added “Get support” entry to community forum; revised suggestion and bug-report wording; structure minimally adjusted; no API changes.
Troubleshoot dialog wrapper
frontend/viewer/src/lib/troubleshoot/TroubleshootDialog.svelte
Replaced Dialog composition with ResponsiveDialog; passed title prop and disabled back handling; preserved internal actions and state binding.
ResponsiveDialog enhancements
frontend/viewer/src/lib/components/responsive-dialog/responsive-dialog.svelte
Added Props type extending Drawer.Root props; forwarded extra props (...rest) to Dialog.Root/Drawer.Root; ensured children render; updated mobile container classes; exported prop surface broadened.
Drawer behavior tweaks
frontend/viewer/src/lib/components/ui/drawer/drawer.svelte, frontend/viewer/src/lib/components/ui/drawer/drawer-content.svelte
Added optional disableBackHandler prop to Drawer root and gated back-stack registration; added max-h-[95dvh] to content for height constraint.
Localization updates
frontend/viewer/src/locales/{en,es,fr,id,ko,ms,sw}.po
Added/updated strings for “Feedback & Support”, “Get support”, “Make a suggestion”, new descriptions; removed older feedback phrases; repeated across locales.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Suggested reviewers

  • hahn-kev

Poem

A bunny taps the sidebar, hop-hop—new routes to seek,
Feedback grows to Support, with friendlier squeak.
Drawers stretch taller, dialogs glide just right,
Back buttons behave, no accidental flight.
Locales all chorus, in many a tongue—
Hop to the forum, where help strings are sung. 🐇✨

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Title Check ✅ Passed The title clearly and concisely describes the primary focus of the changeset by indicating updates to the Feedback & Support menu options and the related dialog/drawer components, which matches the diff content without extraneous details or vague wording.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
Description Check ✅ Passed The pull request description clearly outlines the UI text and link updates, icon changes, scroll behavior addition, and responsive dialog adjustments, all of which correspond directly to the file modifications summarized in the diff. The description is specific to the changeset and explains the rationale and visual outcome, making it relevant and on-topic.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch touch-up-feedback-options-and-drawer

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

github-actions bot commented Oct 6, 2025

UI unit Tests

  1 files  ±0   45 suites  ±0   38s ⏱️ +10s
111 tests ±0  111 ✅ ±0  0 💤 ±0  0 ❌ ±0 
160 runs  ±0  160 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 0250409. ± Comparison against base commit ef484ee.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Oct 6, 2025

C# Unit Tests

130 tests  ±0   130 ✅ ±0   19s ⏱️ ±0s
 20 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit 0250409. ± Comparison against base commit ef484ee.

♻️ This comment has been updated with latest results.

Copy link

argos-ci bot commented Oct 6, 2025

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) ⚠️ Changes detected (Review) 4 changed Oct 8, 2025, 4:10 PM

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 6

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ef484ee and 899ca17.

📒 Files selected for processing (14)
  • frontend/viewer/src/home/HomeView.svelte (1 hunks)
  • frontend/viewer/src/lib/about/FeedbackDialog.svelte (2 hunks)
  • frontend/viewer/src/lib/components/responsive-dialog/responsive-dialog.svelte (2 hunks)
  • frontend/viewer/src/lib/components/ui/drawer/drawer-content.svelte (1 hunks)
  • frontend/viewer/src/lib/components/ui/drawer/drawer.svelte (1 hunks)
  • frontend/viewer/src/lib/troubleshoot/TroubleshootDialog.svelte (2 hunks)
  • frontend/viewer/src/locales/en.po (6 hunks)
  • frontend/viewer/src/locales/es.po (6 hunks)
  • frontend/viewer/src/locales/fr.po (6 hunks)
  • frontend/viewer/src/locales/id.po (6 hunks)
  • frontend/viewer/src/locales/ko.po (6 hunks)
  • frontend/viewer/src/locales/ms.po (6 hunks)
  • frontend/viewer/src/locales/sw.po (6 hunks)
  • frontend/viewer/src/project/ProjectSidebar.svelte (1 hunks)
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2025-08-14T12:50:25.135Z
Learnt from: myieye
PR: sillsdev/languageforge-lexbox#1906
File: frontend/viewer/src/lib/components/ui/dialog-shared/dialog-shared-root.svelte:3-3
Timestamp: 2025-08-14T12:50:25.135Z
Learning: In the dialog-shared-root.svelte component, the module-level `openDialogs` state is intentionally shared across all component instances to coordinate dialog stacking and overlay behavior across the entire application. This enables proper z-index management where newer dialogs appear on top and only the bottom dialog shows its overlay.

Applied to files:

  • frontend/viewer/src/lib/components/responsive-dialog/responsive-dialog.svelte
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (6)
  • GitHub Check: Build UI / publish-ui
  • GitHub Check: Build API / publish-api
  • GitHub Check: check-and-lint
  • GitHub Check: frontend-component-unit-tests
  • GitHub Check: Build FW Lite and run tests
  • GitHub Check: frontend
🔇 Additional comments (8)
frontend/viewer/src/lib/components/ui/drawer/drawer.svelte (1)

10-17: Back-handler guard looks solid

Conditional addToStack cleanly honors the new disableBackHandler prop without affecting existing flows. Nice touch.

frontend/viewer/src/lib/components/ui/drawer/drawer-content.svelte (1)

24-26: Appreciate the viewport cap

The max-h-[95dvh] constraint keeps mobile drawers usable without hampering existing layout.

frontend/viewer/src/locales/en.po (1)

141-143: LGTM! English translations are complete.

All new FeedbackDialog-related entries are properly defined with both source text and translations.

Also applies to: 545-547, 667-669, 996-998, 1086-1088

frontend/viewer/src/lib/components/responsive-dialog/responsive-dialog.svelte (2)

43-43: Verify the drawer container styling changes.

The class list was changed from max-w-sm_ to overflow-auto overscroll-contain. This removes the max-width constraint and adds scrolling behavior. Ensure this aligns with the intended UX, especially on larger mobile screens where content might now span the full width.


11-15: No type compatibility issues between Dialog.Root and Drawer.Root props. TypeScript compiles without errors.

frontend/viewer/src/lib/about/FeedbackDialog.svelte (2)

17-17: Verify the community forum URLs are final.

The PR description mentions wanting to use the lexbox.org/fw-lite/feature-request link before merging, but the code now uses community.software.sil.org URLs. Please confirm this is the intended final destination.

Also applies to: 26-26


15-60: LGTM! FeedbackDialog content updates are clear and user-friendly.

The updated wording and new "Get support" option improve the user experience by clearly separating support channels from feature requests and bug reports.

frontend/viewer/src/lib/troubleshoot/TroubleshootDialog.svelte (1)

40-86: LGTM! Clean refactor to ResponsiveDialog.

The migration from Dialog to ResponsiveDialog is straightforward and preserves all existing functionality. The addition of disableBackHandler is appropriate for a troubleshooting dialog where you want to control navigation explicitly.

@myieye myieye requested a review from rmunn October 9, 2025 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💻 FW Lite issues related to the fw lite application, not miniLcm or crdt related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant