Skip to content

Conversation

@MatinDehghanian
Copy link
Contributor

@MatinDehghanian MatinDehghanian commented Jan 27, 2026

Summary

Fixes layout issues in the subscription modal, particularly for the individual config QR code dialog on mobile devices.

Changes

  • Config name truncation: Added responsive character limits for config names
    • List view: 30 characters on mobile, 40 on desktop
    • QR modal title: 15 characters on mobile, 25 on desktop
  • Mobile-friendly QR modal:
    • Set width to 90vw with max of 320px for better phone support
    • Reduced QR code size to 220px
  • Fixed close button overlap: Added RTL-aware padding to prevent the modal close button from overlapping the title

Screenshots

Add before/after screenshots if needed

…pdown

- Add new subscription modal showing subscription QR code and configs list
- Implement pagination for configs (5 per page) with individual QR viewing
- Extract config names from URLs for better display
- Restore copy configs dropdown with all protocol options (links, xray, clash, etc.)
- Add translations for subscription modal in en, fa, ru, zh locales
…th-copy-dropdown

feat(dashboard): add unified subscription modal with copy configs dro…
…nd downloading, with manual copy alerts"

This reverts commit 2440c03.
…k fetching and improve content copying"

This reverts commit 53bb961, reversing
changes made to ba1f612.
@coderabbitai
Copy link

coderabbitai bot commented Jan 27, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review

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.

@MatinDehghanian MatinDehghanian changed the title Feat/subscription modal with copy dropdown fix: improve subscription modal responsiveness and config name truncation Jan 27, 2026
@ImMohammad20000 ImMohammad20000 merged commit 1d2d6aa into PasarGuard:dev Jan 27, 2026
3 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