Skip to content

Commit

Permalink
[ADVAPP-1004]: Enhance the user list experience by adding search (#1143)
Browse files Browse the repository at this point in the history
* make users searchable

* chore: fix code style

---------

Co-authored-by: jayushi-canyon <[email protected]>
  • Loading branch information
jayushi-canyon and jayushi-canyon authored Nov 27, 2024
1 parent 8896551 commit 85cf0be
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/Filament/Resources/UserResource/Pages/ListUsers.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,17 @@ public function table(Table $table): Table
return $table
->columns([
IdColumn::make(),
TextColumn::make('name'),
TextColumn::make('name')
->searchable(),
TextColumn::make('teams.name')
->label('Team')
->toggleable(isToggledHiddenByDefault: true),
TextColumn::make('email')
->label('Email address')
->searchable()
->toggleable(),
TextColumn::make('job_title')
->searchable()
->toggleable(),
IconColumn::make(LicenseType::ConversationalAi->value . '_enabled')
->label('AI Assistant')
Expand Down

0 comments on commit 85cf0be

Please sign in to comment.