Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Apps] New accordion groups, autocomplete search to filter by existing set of all users with App permissions #172

Open
wants to merge 41 commits into
base: main
Choose a base branch
from

Conversation

savathoon
Copy link
Contributor

@savathoon savathoon commented Oct 28, 2024

This change:

  • Updates app group page to filterable, collapsible groups
    Screenshot 2024-11-01 at 2 50 59 PM

@savathoon savathoon changed the base branch from main to 2024-hackweek October 28, 2024 18:53
@savathoon savathoon force-pushed the sava/more-components branch from 0b8cb5d to c440947 Compare October 28, 2024 23:05
@savathoon savathoon changed the title break out app group header component for readability [Apps] Break out page sections, repeated code into distinct components Oct 29, 2024
<AppsAccordionListGroup
app_group={app.active_owner_app_groups}
list_group_title={'Owner Group'}
list_group_description={'Members can manage all app groups as implicit owners'}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
list_group_description={'Members can manage all app groups as implicit owners'}
list_group_description={'Owners can manage all app groups as implicit owners'}

Copy link
Collaborator

Choose a reason for hiding this comment

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

To be more clear, only members of the special built-in group App-Access-Owners are super-admins in Access. For a normal app in Access, owners of the associated Owners app group are admins for the app and all associated groups.

@somethingnew2-0
Copy link
Collaborator

Can you remove the App Groups header when there aren't any App Groups?
Screenshot 2024-11-01 at 4 43 33 PM

@savathoon savathoon changed the title [Apps] Break out page sections, repeated code into distinct components [Apps] New accordion groups, autocomplete search to filter by existing set of all users with App permissions Nov 1, 2024
@savathoon savathoon marked this pull request as ready for review November 1, 2024 22:23
}}>
<Stack direction="row" width="100%" justifyContent="space-between">
<CreateUpdateGroup defaultGroupType={'app_group'} currentUser={currentUser} app={app} />
<Autocomplete
Copy link
Collaborator

Choose a reason for hiding this comment

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

Looks like when selecting an option it keeps the entire encoded option data with the semi-colon. I believe there's a way to strip this out after a selection is made. During onChange?

Screenshot 2024-11-04 at 5 58 37 PM

Also I wonder if it feels more like a search box if we add the freeSolo prop

Base automatically changed from 2024-hackweek to main November 5, 2024 00:17
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.

3 participants