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

fix: Portal frontend#7 #49

Merged
merged 5 commits into from
Jul 18, 2024
Merged

fix: Portal frontend#7 #49

merged 5 commits into from
Jul 18, 2024

Conversation

SKairinos
Copy link
Contributor

@SKairinos SKairinos commented Jul 18, 2024

This change is Reviewable

Copy link
Contributor

@faucomte97 faucomte97 left a comment

Choose a reason for hiding this comment

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

Reviewed 8 of 8 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @SKairinos)


src/components/form/DatePickerField.tsx line 61 at r1 (raw file):

      `this field must be less or equal to ${dateToString(maxDate)}`,
    )
  }

Maybe a pointless concern of mine, but do people instinctively understand "greater or equal to" when talking about dates? I think people are more used to "before or after" a certain date, "greater" or "less than" a date is a very developer-specific way of phrasing it.

Code quote:

    schema = schema.min(
      minDate,
      `this field must be greater or equal to ${dateToString(minDate)}`,
    )
  }
  if (maxDate) {
    schema = schema.max(
      maxDate,
      `this field must be less or equal to ${dateToString(maxDate)}`,
    )
  }

Copy link
Contributor Author

@SKairinos SKairinos left a comment

Choose a reason for hiding this comment

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

Reviewable status: 7 of 8 files reviewed, 1 unresolved discussion (waiting on @faucomte97)


src/components/form/DatePickerField.tsx line 61 at r1 (raw file):

Previously, faucomte97 (Florian Aucomte) wrote…

Maybe a pointless concern of mine, but do people instinctively understand "greater or equal to" when talking about dates? I think people are more used to "before or after" a certain date, "greater" or "less than" a date is a very developer-specific way of phrasing it.

Done. Agreed.

Copy link
Contributor

@faucomte97 faucomte97 left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @SKairinos)

@SKairinos SKairinos merged commit d4e595f into main Jul 18, 2024
4 checks passed
@SKairinos SKairinos deleted the portal-frontend#7 branch July 18, 2024 14:25
cfl-bot added a commit that referenced this pull request Jul 18, 2024
## [2.1.3](v2.1.2...v2.1.3) (2024-07-18)

### Bug Fixes

* Portal frontend[#7](#7) ([#49](#49)) ([d4e595f](d4e595f))
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.

2 participants