l3s-learnweb/learnweb

Refactoring: My groups / Other groups pages

astappiev opened this issue · 19 comments

Existing pages:

Should be refactored using "modern" style, I think it should be PrimeFaces Card component.

This includes:

  • add tags to the group's Options page, similar to resources' tags, group leader should be able to enter multiple tags
  • add a picture to each group, group leaders should be able to edit it in Options
  • by default, if there is no picture provided, we should generate one similar to user avatars, but use full group name instead of Initials. If the name is too long (more than ~50 char) replace the rest with 3 dots. The font size should be adjusted according to title length.
  • Show the picture on group's Overview page
  • Update layout of My groups / Other groups pages using Card component
  • all other filter options and ability to change order should be present on top of the page
  • Find groups page (Other groups) should collect tags from all groups user participate in, and rank results based on number of overlapped tags
  • Update and view of My groups / other groups pages according to the sketch:
    (https://app.moqups.com/2ejOQyXfdx1HYq5o79ebBLosSX7gTcP2/view/page/ad0fc2031)

In GitLab by @Capac95 on Oct 30, 2021, 13:37

created merge request !95 to address this issue

In GitLab by @Capac95 on Nov 11, 2021, 12:40

@astappiev I got some errors with migration after doing some sql adding like this:

Migration checksum mismatch for migration version 1
-> Applied to database : -2136772814
-> Resolved locally : 1462858654. Either revert the changes to the migration, or run repair to update the schema history.

In GitLab by @Capac95 on Nov 29, 2021, 24:52

marked the checklist item add tags to the group's Options page, similar to resources' tags, group leader should be able to enter multiple tags as completed

In GitLab by @Capac95 on Nov 29, 2021, 11:35

marked the checklist item add a picture to each group, group leaders should be able to edit it in Options as completed

In GitLab by @Capac95 on Dec 3, 2021, 13:13

marked the checklist item Show the picture on group's Overview page as completed

In GitLab by @Capac95 on Dec 5, 2021, 23:52

marked the checklist item Find groups page (Other groups) should collect tags from all groups user participate in, and rank results based on number of overlapped tags as completed

In GitLab by @Capac95 on Dec 12, 2021, 21:49

marked the checklist item by default, if there is no picture provided, we should generate one similar to user avatars, but use full group name instead of Initials. If the name is too long (more than ~50 char) replace the rest with 3 dots. The font size should be adjusted according to title length. as completed

In GitLab by @Capac95 on Dec 12, 2021, 22:10

marked the checklist item all other filter options and ability to change order should be present on top of the page as completed

In GitLab by @Capac95 on Jan 3, 2022, 16:15

@astappiev Do we have meeting right now, because maybe no one is there? I want to ask more about the Cards layout

Hi Trung, yes, we had the meeting yesterday. You can ask your questions anytime here.

In GitLab by @PhilippKemkes on Jan 17, 2022, 10:00

Shall this replace the list or shall it be only an optopmal grid view?

What do you plan to use as image?

Have in mind that descriptions can be missing (for many groups) or be very long.

image

That looks really old fashioned. I think there is no need for a visit option. The group title should be linked.

Shall this replace the list or shall it be only an optopmal grid view?

Yes, it should be a replacement

What do you plan to use as image?

Similar to avatars, a colored title by default.

Have in mind that descriptions can be missing (for many groups) or be very long.

True, we should cut long descriptions.

That looks really old fashioned. I think there is no need for a visit option.

I agree, but Ivana asked "how to visit a group?" when I sent the first sketch without any buttons.

In GitLab by @Capac95 on Feb 26, 2022, 24:01

marked the checklist item Update layout of My groups / Other groups pages using Card component as completed

In GitLab by @yulinskay on Apr 21, 2022, 13:29

marked the checklist item add tags to the group's Options page, similar to resources' tags, group leader should be able to enter multiple tags as incomplete

In GitLab by @yulinskay on Apr 21, 2022, 13:29

marked the checklist item add tags to the group's Options page, similar to resources' tags, group leader should be able to enter multiple tags as completed

In GitLab by @yulinskay on Apr 21, 2022, 13:29

marked the checklist item add tags to the group's Options page, similar to resources' tags, group leader should be able to enter multiple tags as incomplete

In GitLab by @yulinskay on Apr 21, 2022, 13:29

marked the checklist item add tags to the group's Options page, similar to resources' tags, group leader should be able to enter multiple tags as completed

In GitLab by @yulinskay on Apr 21, 2022, 13:29

marked the checklist item add tags to the group's Options page, similar to resources' tags, group leader should be able to enter multiple tags as incomplete