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

Rename event deadlines #5273

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

Rename event deadlines #5273

wants to merge 3 commits into from

Conversation

emillub
Copy link
Contributor

@emillub emillub commented Jan 7, 2025

Description

Changed labels for deadlines when creating/editing events.

Result

  • Changes look good on both light and dark theme.
  • Changes look good with different viewports (mobile, tablet, etc.).
  • Changes look good with slower Internet connections.



Description Before After

'Avregistreringsfrist' changed to 'Frist for prikk'.

'Avregistrering' and 'Registrering' changed to 'Avmelding' and 'Påmelding'.

More consistent with wording elsewhere

image
image

Easier to what separate deadlines means

image
image

More concise tooltips


image

image image image
image image image image

Testing

  • I have thoroughly tested my changes.

Resolves ABA-1151

@emillub emillub added the review-needed Pull requests that need review label Jan 7, 2025
Copy link

linear bot commented Jan 7, 2025

Copy link

vercel bot commented Jan 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
lego-bricks-storybook ⬜️ Ignored (Inspect) Visit Preview Jan 7, 2025 1:08pm

Copy link
Member

@ivarnakken ivarnakken left a comment

Choose a reason for hiding this comment

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

I like! 😍 "Avmelding" is better than "avregistrering"!

@ivarnakken ivarnakken added approved Pull requests that have been approved chore Pull requests that does something "boring", yet important, e.g. cleaning up code enhancement Pull requests that make enhancements, instead of just purely new features labels Jan 7, 2025
@@ -126,8 +126,8 @@ const NormalOrInfiniteStatusType: React.FC<NormalOrInfiniteStatusTypeProps> = ({
<div className={styles.subSection}>
<Field
key="unregistrationDeadline"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The variable names "unregistrationsDeadline" and "unregistrationDeadlineHours" are also a bit confusing. I could change "unregistrationDeadline" to "unregistrationPenaltyDeadline" or would that require a lot of changes to the backend as well? Maybe not worth the time?

Copy link
Contributor

Choose a reason for hiding this comment

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

Agree that they are confusing! unregistrationPenaltyDeadline makes a lot more sense, or else those two just sound like the same thing. I'd say change it if it doesn't take you a lot of time ^^

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tried changing it only in the frontend, but it breaks since the variable name is used for the model in the backend. I dont dare touch it alone hehe, but maybe someone can help me with it at the next meeting:)

@emillub emillub added the question Pull requests with an unresolved question label Jan 7, 2025
@emillub emillub requested a review from EliHaugu January 7, 2025 12:54
@EliHaugu
Copy link
Contributor

EliHaugu commented Jan 7, 2025

Quick comment before my plane takes off (Trondheim 🔜): looks great, only thing I would change is "arrangementstart" to "arrangementsstart" (missing "s" but it's a small thing) (that is the most "pirk" comment I've ever written so feel free to choose if it's worth your time XD). Nice job! <3

@emillub emillub removed the question Pull requests with an unresolved question label Jan 7, 2025
Copy link
Contributor

@ShaileshS1702 ShaileshS1702 left a comment

Choose a reason for hiding this comment

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

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Pull requests that have been approved chore Pull requests that does something "boring", yet important, e.g. cleaning up code enhancement Pull requests that make enhancements, instead of just purely new features review-needed Pull requests that need review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants