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

feat: improved activity overview #1936

Merged
merged 2 commits into from
Dec 8, 2024

Conversation

tomudding
Copy link
Member

Description

Gives the description of an activity more space (but also clamping it to at most 5 lines) by removing all event details on the right.

Event details are now directly under the activity title (for date and time) or at the bottom (for costs and location). The date and time format has been condensed and a helper "for another X" / "in X" has been added to see how long an activity will still run or when it will start.

Also allows links to be clicked in the description.

Before:
image

After:
image

Related issues/external references

Closes GH-1878.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation improvement (no changes to code)
  • Other (please specify)

@tomudding
Copy link
Member Author

Don't see why the unit test fails (it is the /activity/career route). It works perfectly fine locally with(out) activities (same goes for prod-test).

@tomudding
Copy link
Member Author

Made it a view helper because it keeps complaining and I cannot be bothered fixing the automated controller tests to determine why this is an issue.

@tomudding tomudding force-pushed the feature/activity-overview-redesign branch from 774a3da to 39c8ce6 Compare December 8, 2024 16:17
Gives the description of an activity more space (but also clamping it to at most
5 lines) by removing all event details on the right.

Event details are now directly under the activity title (for date and time) or
at the bottom (for costs and location). The date and time format has been
condensed and a helper "for another X" / "in X" has been added to see how long
an activity will still run or when it will start.

Also allows links to be clicked in the description.
@tomudding tomudding force-pushed the feature/activity-overview-redesign branch from 39c8ce6 to cb7c40b Compare December 8, 2024 16:35
@tomudding tomudding merged commit 6aefc3f into GEWIS:main Dec 8, 2024
4 checks passed
github-actions bot added a commit that referenced this pull request Dec 8, 2024
Tom Udding: Merge pull request #1936 from tomudding/feature/activity-overview-redesign

feat: improved activity overview

Co-authored-by: tomudding <[email protected]>
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.

Redesign of activity overview
1 participant