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 group history page #10430

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open

Add group history page #10430

wants to merge 17 commits into from

Conversation

cl8n
Copy link
Member

@cl8n cl8n commented Aug 2, 2023

part 4~ resolves #6216

full page screenshots

the search form is basically same as featured artists track search and the events list is basically same as user profile recent activity area. the icon BGs light up with the group's color, if it has one.



This page is now available at https://osu.ppy.sh/groups/history.

@cl8n cl8n marked this pull request as ready for review September 22, 2023 04:00
@cl8n cl8n requested a review from nanaya September 22, 2023 04:00
resources/css/bem/group-history.less Outdated Show resolved Hide resolved
resources/js/group-history/search-form.tsx Outdated Show resolved Hide resolved
resources/js/group-history/search-form.tsx Outdated Show resolved Hide resolved
resources/js/group-history/search-form.tsx Show resolved Hide resolved
resources/js/group-history/group-store.ts Outdated Show resolved Hide resolved
resources/js/group-history/event.tsx Outdated Show resolved Hide resolved
resources/css/bem/group-history-event.less Outdated Show resolved Hide resolved
@cl8n cl8n marked this pull request as draft May 21, 2024 04:12
@cl8n cl8n marked this pull request as ready for review May 28, 2024 09:45
@cl8n cl8n requested a review from nanaya May 28, 2024 09:47
Comment on lines +11 to +16
@bold-events: group-add, group-remove, group-rename;
each(@bold-events, {
&--@{value} {
--message-weight: bold;
}
});
Copy link
Collaborator

Choose a reason for hiding this comment

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

combine with below?

resources/css/bem/group-history-event.less Show resolved Hide resolved
Comment on lines +32 to +34
> :nth-child(-n + 2) {
grid-column: span 2;
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

set on the elements themselves?

resources/css/bem/group-history-event.less Show resolved Hide resolved
resources/css/bem/form-select.less Show resolved Hide resolved
resources/js/group-history/event.tsx Show resolved Hide resolved
resources/css/bem/form-select.less Show resolved Hide resolved
text={trans('common.buttons.reset')}
/>
<BigButton
disabled={newParamsSame || this.props.loading}
Copy link
Collaborator

Choose a reason for hiding this comment

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

changing the form while still loading should re-enable the button?

(and fwiw pressing enter still works)

if (cursorString == null) {
this.events = response.events;
} else {
this.events.push(...response.events);
Copy link
Collaborator

Choose a reason for hiding this comment

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

navigating away and then back removes the loaded events

Comment on lines +41 to +46
<InputContainer for={`${bn}-group`} labelKey='group_history.form.group'>
<div className='form-select form-select--group-history'>
<select
className='form-select__input'
id={`${bn}-group`}
name='group'
Copy link
Collaborator

Choose a reason for hiding this comment

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

for, name, and id aren't needed?

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.

Record and show group changes
2 participants