#371 Add URL input to schedule card #422
No reviewers
Labels
No labels
_CRITICAL_
API
app
backEnd
Blocked-waiting-for-further-changes
bug
bug-only-on-server-for-mobile-not-webpage
Bug-Report-After-Merge
cleanup
close
design
duplicate
enhancement
feature request
frontEnd
further-changes-needed
future-problem-not-fixint-this-period
help wanted
invalid
last-week-issue-to-fix
library
low-priority
needs input
needs review
not-implemented.
project documentation
question
research
reviewed
Script
security
SQL
style
Team 1
Team 2
team leaders
test-creation
testing
topLevel
unassigned
Under-review
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Andras/BoundlessFlowCampus2K!422
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "#371-add-schedule-url-to-card"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Added a text field for TimeEdit URL with error messages in case of wrong URL. Converts the .html links to .json.
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.
Good work on following the scripting rules. On another note, I just noticed this issue in the card

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.
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 results are weird, but it works and tomorrow is merge... so merged.