Skip to content

Conversation

@elysseaa
Copy link
Contributor

@elysseaa elysseaa commented Nov 7, 2025

elysseaa and others added 2 commits November 7, 2025 17:57
- Follows structure of InsufficientPermissions.kt
- Can be used for both Attendance and Merchandise Screens
- Uses inline styles + stylesheet
Copy link
Collaborator

@jvogt23 jvogt23 left a comment

Choose a reason for hiding this comment

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

Need to look at UI against existing UI to be sure that everything looks good visually on both iOS and Android. Requested a couple of changes relevant for styling and some clarifying questions

<Text style={{ fontSize: 25, marginVertical: 20 }}>Required Permissions</Text>
<PermissionDetailsList permissions={missingPermissions} hasPermission={false}/>
<PermissionDetailsList permissions={requiredPermissions} hasPermission={true}/>
<View style={{ alignItems:'flex-end', marginVertical: 20 }}>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Replace inline styles with a style sheet - Current ESLint settings require stylesheet for readability

<View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
<View style={styles.modalView}>
<Text style={{ fontSize: 25, marginVertical: 20 }}>Required Permissions</Text>
<PermissionDetailsList permissions={missingPermissions} hasPermission={false}/>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why are all requiredPermissions shown with hasPermission=true?

Is the list of requiredPermissions the set of permissions needed for a screen which the user has? Clarification or a name change may be needed for this code.

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.

Merch screen - Permission Denied

3 participants