Skip to content

Commit

Permalink
Merge pull request #17 from 6ri4n/dev
Browse files Browse the repository at this point in the history
add additional improvements
  • Loading branch information
6ri4n authored Sep 25, 2024
2 parents 908690d + 90fad74 commit e64814f
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 6 deletions.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
when2meet clone
# planmeets

A when2meet alternative, a website that streamlines the meeting scheduling process by identifying common availability among participants.

Meeting creation page.
![planmeets meeting creation page](https://imgur.com/ygLEgOh.png)

Meeting page before sign-in.
![planmeets meeting page before sign-in](https://imgur.com/4llPeLw.png)

Meeting page after sign-in.
![planmeets meeting page after sign-in](https://imgur.com/G2Hz6PD.png)

Meeting page hovering over a tile on everyone's availability grid.
![planmeets meeting page after sign-in](https://imgur.com/a4zYSl2.png)
8 changes: 8 additions & 0 deletions app/api/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ def create_event():
data = request.json
if data:
try:
if len(data["eventName"]) >= 61:
return jsonify({"error": "Meeting name cannot be over 60 characters."}), 400
if len(data["description"]) >= 256:
return jsonify({"error": "Meeting description cannot be over 255 characters."}), 400

redirect_url = generate_base64_uuid()
start_time_utc = convert_to_utc(data["startTimeSelector"], data["timezone"])
end_time_utc = convert_to_utc(data["endTimeSelector"], data["timezone"])
Expand Down Expand Up @@ -51,6 +56,9 @@ def signin():
username = data["username"]
event_id = data["eventId"]

if len(username) >= 21:
return jsonify({"error": "Username cannot be over 20 characters."}), 400

# Find the event by ID
event = Event.query.get(event_id)
if not event:
Expand Down
1 change: 1 addition & 0 deletions app/static/css/create_event.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/static/css/event.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/static/js/create.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion app/static/js/event.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,6 @@ function handleSignIn() {
if (username.value.length >= 21) return alert("Username cannot be over 20 characters.");

let response = await handleRequest("/event/signin", {
eventId,
eventId,
username: username.value,
});
Expand Down
Loading

0 comments on commit e64814f

Please sign in to comment.