#371 Add URL input to schedule card #422

Merged
c24elipe merged 3 commits from #371-add-schedule-url-to-card into team_2_week_2 2026-04-21 12:22:05 +00:00
Collaborator

Added a text field for TimeEdit URL with error messages in case of wrong URL. Converts the .html links to .json.

Added a text field for TimeEdit URL with error messages in case of wrong URL. Converts the .html links to .json.
Added a text field for TimeEdit URL with error messages in case of wrong URL. Converts the html links to json.
Collaborator

Everything is working fine. Great work! There are only some minor details that could be fixed before merging.
in the scheduleView line:
{data.reservations.map((reservations, index) => {
Change (reservations, index) to reservation since you are only using one reservation

In
onChange={(e) => setUrl(e.target.value)}
Avoid the shortened e in OnChange. Personally, I don't see a problem with it, but rules are rules, I guess. So replace it with event or something you find fitting.

Everything is working fine. Great work! There are only some minor details that could be fixed before merging. in the scheduleView line: `{data.reservations.map((reservations, index) => {` Change (**reservations**, index) to **reservation** since you are only using one reservation In `onChange={(e) => setUrl(e.target.value)}` Avoid the shortened **e** in OnChange. Personally, I don't see a problem with it, but rules are rules, I guess. So replace it with **event** or something you find fitting.
Renamed map callback parameter from reservations to reservation and changed e to event in onChange.
Collaborator

Good work on following the scripting rules. On another note, I just noticed this issue in the card
image
The URL field is not responsive with the card. If you halve the size of the window, you'll see this issue.
I'm not sure how major this is for this specific task, but the results and code look correct logically.

Good work on following the scripting rules. On another note, I just noticed this issue in the card ![image](/attachments/79a97a5c-cfba-403c-a248-a07d5625c028) The URL field is not responsive with the card. If you halve the size of the window, you'll see this issue. I'm not sure how major this is for this specific task, but the results and code look correct logically.
4.8 KiB
Collaborator

The problem described with the smaller cards is a non-issue or a future problem to be fixed. We are skipping fixing it now due to our weekly merge.

The problem described with the smaller cards is a non-issue or a future problem to be fixed. We are skipping fixing it now due to our weekly merge.
Collaborator

image
The results are weird, but it works and tomorrow is merge... so merged.

![image](/attachments/41d7f265-c60f-4105-81a3-2ab2f45f48b8) The results are weird, but it works and tomorrow is merge... so merged.
c24elipe merged commit 9d394fa4bf into team_2_week_2 2026-04-21 12:22:05 +00:00
c24elipe deleted branch #371-add-schedule-url-to-card 2026-04-21 12:22:06 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Andras/BoundlessFlowCampus2K!422
No description provided.