Skip to content

Feature - Widget for people Searching input box#725

Open
SharonStrats wants to merge 17 commits intomainfrom
feature/widget-peoplesearch
Open

Feature - Widget for people Searching input box#725
SharonStrats wants to merge 17 commits intomainfrom
feature/widget-peoplesearch

Conversation

@SharonStrats
Copy link
Contributor

@SharonStrats SharonStrats commented Mar 23, 2026

This widget allows panes to search through people UX similar to Facebook. It uses who the person knows and their contacts to find people. First found are a users contacts with WebIds and those they have listed as foaf: knows. It then traverses through 3 levels of the people they know. This can be easily decreased or increased.

This could be used in mashlib at the top to find people and go to their profile, just like Facebook. It can also be used in panes to select people and take action like adding them to a meeting, scheduledMeeting, perhaps in chat. I'm also thinking we may also be able to use this as a way to select people for sharing as well.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new People Search widget to the widgets library, enabling panes to discover and search for people using the user’s FOAF graph (foaf:knows) plus linked address books (vCard contacts), with client-side filtering UX.

Changes:

  • Introduces createPeopleSearch widget that discovers people (FOAF traversal + address books) and renders a searchable dropdown.
  • Re-exports the new widget from src/widgets/index.js.
  • Adds @solid-data-modules/contacts-rdflib dependency (and lockfile entries) to read/list address books.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 9 comments.

File Description
src/widgets/peopleSearch.ts New people search widget: discovery, caching, rendering, and filtering logic.
src/widgets/index.js Re-export the new peopleSearch widget from the widgets entrypoint.
package.json Adds @solid-data-modules/contacts-rdflib dependency required for address book discovery.
package-lock.json Lockfile updates for the new dependency and its transitive deps.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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