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

add create button #423

Merged
merged 2 commits into from
Sep 22, 2023
Merged

add create button #423

merged 2 commits into from
Sep 22, 2023

Conversation

felixhahnweilheim
Copy link
Contributor

This PR adds a button (just a simple plus icon) to the FullCalendar with which you can create a new event (without selecting from the calendar).

Position: header right
Position on mobile: footer right

Default times: start next full hour - end 1 hour later (similar to addFromWall)

The button is hidden via CSS when the user can not create events.

The click function for the button works similar to the "select" function. So the new entry is correctly added to the calendar without refreshing the page.

This solves #355 and #240

Screenshots:

Screenshot 2023-09-20 at 15-44-17 Calendar - Felix Hahn Development

Screenshot 2023-09-20 at 15-43-55 Design - Administration - Felix Hahn Development

@luke-
Copy link
Contributor

luke- commented Sep 20, 2023

@felixhahnweilheim Thanks, looks good for me!
@yurabakhtin Can you please review?

@yurabakhtin
Copy link
Collaborator

@luke- I have tested, it works well.

@luke- luke- merged commit e1b15f4 into humhub:master Sep 22, 2023
1 check passed
@felixhahnweilheim felixhahnweilheim deleted the add-create-button branch September 22, 2023 09:57
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.

3 participants