Repository navigation
People Picker - #939
Open
SharonStrats wants to merge 5 commits into
Open
People Picker#939SharonStrats wants to merge 5 commits into
SharonStrats wants to merge 5 commits into
Conversation
… picker webcomponent" Prompt: Create a storybook for people picker, follow existing storybooks in components directory, add details about using it e.g. the user needs to handle the person-selected event. Co-authored-by: GPT-5.6 Luna <gpt-5.6-luna@openai.com>
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The combobox lowercases pasted URLs before selection, altering the value used for ACL resolution or profile navigation.
4 open issues
What changed in this PR
Extracts people search from the access-control modal into a reusable solid-ui-people-picker component, then integrates it back into the sharing interface.
Changes:
- Adds configurable directory sources, selection metadata, pasted-URL options, and optional profile navigation.
- Replaces the modal’s search input with the picker and allows URLs as fallback access-target labels.
- Adds component exports, element typings, Storybook examples, and tests.
| File | Description |
|---|---|
test/components/people-picker.test.ts |
Tests directory options, URL handling, selection events, and navigation. |
test/components/access-control-modal/accessTargetResolver.test.ts |
Tests URL fallback labels. |
src/types/custom-elements.d.ts |
Adds the picker’s custom-element type. |
src/components/people-picker/PeoplePicker.ts |
Implements reusable directory search and selection behavior. |
src/components/people-picker/PeoplePicker.styles.css |
Defines picker sizing and input styles. |
src/components/people-picker/PeoplePicker.stories.ts |
Documents usage and provides configurable examples. |
src/components/people-picker/index.ts |
Exports the component and public types. |
src/components/access-control-modal/accessTargetResolver.ts |
Exports directory sources, accepts URL labels, and removes icon coupling. |
src/components/access-control-modal/AccessControlModal.ts |
Configures the embedded picker’s directory sources. |
src/components/access-control-modal/AccessControlAddAccess.ts |
Embeds the picker and forwards input and selection events. |
src/components/access-control-modal/AccessControlAddAccess.styles.css |
Updates styles for the embedded picker. |
Review effort: Balanced
| .srOnlyLabel=${true} | ||
| .value=${this.value} | ||
| placeholder=${this.placeholder} | ||
| .asyncOptionsProvider=${(query: string) => this.getOptions(query)} |
Collaborator
Author
There was a problem hiding this comment.
this would require changing combox so i'm going to leave it.
Prompt: help with PR feedback, a few different prompts Co-authored-by: GPT-5.6 Luna <gpt-5.6-luna@openai.com>
SharonStrats
force-pushed
the
feat/people-picker
branch
from
November 28, 2026 21:07
037aade to
8c3b99b
Compare
SharonStrats
force-pushed
the
feat/people-picker
branch
from
November 28, 2026 21:22
e0d653e to
eae9718
Compare
SharonStrats
force-pushed
the
feat/people-picker
branch
from
November 28, 2026 21:28
efcf72f to
792dc6a
Compare
…istry@5.1.3-0) (latest: rdflib@2.4.1)
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Some decisions to make:
Note: I also changed access control to direct friends only.