Skip to content

Seperate past and upcoming groups#810

Merged
OmTheTurtle merged 3 commits intomasterfrom
feature/464-seperate-groups
Aug 28, 2021
Merged

Seperate past and upcoming groups#810
OmTheTurtle merged 3 commits intomasterfrom
feature/464-seperate-groups

Conversation

@Tschonti
Copy link
Copy Markdown
Member

  • Past and upcoming groups are now seperated on the group list page
  • They're ordered by start date instead of creation date
  • When you create or edit a group, you'll be redirected to the group's page instead of the group list
    Closes Separate upcoming and past events on groups page #464

Copy link
Copy Markdown
Member

@triszt4n triszt4n left a comment

Choose a reason for hiding this comment

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

I liked it, left a little comment down below 💎

Some thought: This PR also raises the thought of maybe building some sort of filtering component onto the groups index page 😄

Comment thread public/js/group/create.js
case 201:
sendMessage(`Csoport sikeresen ${edited ? 'frissítve' : 'létrehozva'}`, 'success')
location.href = '/groups'
location.href = `/groups/${data.id}`
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice touch 👌

Comment thread views/group/index.pug
Comment on lines +12 to +17
if past === 'true'
+inactiveButton('/groups', 'Következők')
+activeButton('/groups?past=true', 'Korábbiak')
else
+activeButton('/groups', 'Következők')
+inactiveButton('/groups?past=true', 'Korábbiak')
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maybe the text Következők is not UX friendly enough. What do you think of 'Elkövetkezőek' or 'Indulás előttiek'?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Facebook uses 'Közelgő események', but all the options sounds weird, especially without 'események' or 'csoportok' at the end, but otherwise it would be quite long... (especially on mobile)
image
image

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yeah true, I think this can stay as 'Következők' :)

@OmTheTurtle OmTheTurtle merged commit 015e179 into master Aug 28, 2021
@OmTheTurtle OmTheTurtle deleted the feature/464-seperate-groups branch August 28, 2021 12:39
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.

Separate upcoming and past events on groups page

3 participants