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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add user cover preset model #11081

Merged
merged 8 commits into from
Apr 1, 2024
Merged

Conversation

nanaya
Copy link
Collaborator

@nanaya nanaya commented Mar 11, 2024

Just the models. Not linked to user just yet (and would otherwise depend on #10804). The management page ended up weirder than expected 馃憖 probably can use some more javascripts/react but this basic one seems to somehow work.

No idea what group should have access to this yet so admin only for now.

Tests to be added later. Maybe.

Oh and there's bug with simple form's input which I'm not fixing here.

@nanaya nanaya mentioned this pull request Mar 25, 2024
3 tasks
Comment on lines +293 to +295
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']]);

Copy link
Collaborator

Choose a reason for hiding this comment

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

shouldn't these go under /admin?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

not if we're going to allow this to be accessible by non-admin

@notbakaneko
Copy link
Collaborator

notbakaneko commented Apr 1, 2024

Oh and there's bug with simple form's input which I'm not fixing here.

is it the input is resizable 馃憖

@notbakaneko notbakaneko merged commit c4750ba into ppy:master Apr 1, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants