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

Add member management page #11744

Merged
merged 4 commits into from
Dec 16, 2024
Merged

Add member management page #11744

merged 4 commits into from
Dec 16, 2024

Conversation

nanaya
Copy link
Collaborator

@nanaya nanaya commented Dec 13, 2024

Currently can only remove.

💯 design.

Currently can only remove.
$this->middleware('auth');
}

public function destroy(string $teamId, string $userId): Response
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

from what I gather the type will always be string (or nullable string if optional)

routes/web.php Outdated
@@ -296,6 +296,9 @@
Route::post('user-cover-presets/batch-activate', 'UserCoverPresetsController@batchActivate')->name('user-cover-presets.batch-activate');
Route::resource('user-cover-presets', 'UserCoverPresetsController', ['only' => ['index', 'store', 'update']]);

Route::group(['as' => 'teams.', 'prefix' => 'teams/{team}'], function () {
Copy link
Collaborator

Choose a reason for hiding this comment

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

namespace? ...although there's only 1 controller


public function index(string $teamId): Response
{
$team = Team::findOrFail($teamId);
Copy link
Collaborator

Choose a reason for hiding this comment

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

needs to load users.member for the view

Copy link
Collaborator

@notbakaneko notbakaneko left a comment

Choose a reason for hiding this comment

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

Appearance can be a different problem™️

@notbakaneko notbakaneko merged commit 94838db into ppy:master Dec 16, 2024
3 checks passed
@nanaya nanaya deleted the member-remove branch December 17, 2024 13:09
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