Skip to content

Access Control Page Improvements (Peer1 & Peer2)#64

Merged
nyerunkar merged 2 commits intomainfrom
access-control-page-ui-updation
Mar 11, 2026
Merged

Access Control Page Improvements (Peer1 & Peer2)#64
nyerunkar merged 2 commits intomainfrom
access-control-page-ui-updation

Conversation

@girishjadhav-cosmica
Copy link
Member

This merge request improves the Access Control page UI and functionality for both Peer1 (Owner) and Peer2 screens to enhance visibility of file ownership, permissions, and forwarded user management.

Changes

  • Display Owner information in Peer1 without status indicators or permission icons

  • Show Shared user information in Peer2 with:

    • Download permission icon

    • Forward permission icon

    • File access statuses:

      • Access Until $date
      • File Expired On $date
      • Access Revoked
      • Access Denied
  • Add a Forwarded Users section

  • Implement search functionality for forwarded users

  • Display search icon only when forwarded user count is greater than 10

  • Hide Owner and Shared sections during search

  • Show empty state message:

    • No Forwarded User found with <searched_name>
  • Append "(You)" label:

    • Owner in Peer1
    • Shared user in Peer2
  • Truncate long usernames while ensuring "(You)" remains visible

  • Fix Light Theme UI visibility issues:

    • Back button icon
    • Search text
    • Search hint text
    • Search close icon

Testing

  • Verified owner information displays correctly in Peer1
  • Verified shared users display correct permissions and access statuses in Peer2
  • Confirmed forwarded users appear in a separate section
  • Verified search icon appears only when forwarded users > 10
  • Tested forwarded user search and empty state message
  • Verified "(You)" label visibility with long usernames
  • Checked UI behavior in Light and Dark themes

Closes #63

…ccess, and file paste) #61

- Disable Share Extension activation so the app does not appear in the iOS Share Sheet
- Disable external document access via Files app (UIFileSharingEnabled=false, LSSupportsOpeningDocumentsInPlace=false)
- Block image/file paste from clipboard in chat input
- Allow text paste to continue working normally

Tests:
- Verify app does not appear in iOS Share Sheet
- Verify Files app cannot open files in the app
- Verify image/file paste from clipboard is blocked
- Verify text paste continues to work

This ensures files cannot be imported into the app from outside sources.
… and light theme UI #63

- Show owner information in Peer1 without status or permission icons
- Display shared user information in Peer2 with download/forward permissions
- Add access status messages (Access Until, File Expired, Access Revoked, Access Denied)
- Add forwarded users section
- Implement search functionality for forwarded users
- Show search bar only when forwarded users count is greater than 10
- Hide owner and shared sections during search
- Show "No Forwarded User found with <name>" when search has no results
- Append "(You)" label for owner (Peer1) and shared user (Peer2)
- Truncate long usernames while preserving "(You)" label
- Fix light theme visibility issues (back icon, search text, hint text, close icon)

Test:
- Verified owner information displays correctly in Peer1 without status icons
- Verified shared users show correct permissions and access status in Peer2
- Confirmed forwarded users appear in a separate section
- Verified search bar appears only when forwarded users count is greater than 10
- Tested forwarded user search functionality and empty state message
- Verified "(You)" label displays correctly even with long usernames
- Checked UI visibility in both Light and Dark themes
Copy link
Collaborator

@nyerunkar nyerunkar left a comment

Choose a reason for hiding this comment

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

Approved

@nyerunkar nyerunkar merged commit ac45e0c into main Mar 11, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Access Control Page Improvements (Peer1 & Peer2) – Owner Info, Shared Status, Forwarded Search, and Light Theme Fixes

2 participants