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

Calendar Component #15

Open
McSwitch opened this issue Mar 3, 2023 · 1 comment
Open

Calendar Component #15

McSwitch opened this issue Mar 3, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@McSwitch
Copy link
Contributor

McSwitch commented Mar 3, 2023

We could benefit from having a generic calendar component build into the system, which would allow us to have a more intuitive interface for managing time based events.

Component setup psudo: <calendar repository="entries" />
Component hooks:

  • OnCreate (open a creation dialog and hook into normal creation process)
  • OnEdit (open an editing dialog and hook into normal editing process)
  • OnMoved (time changed just update record time) [will require an extra action on repository layer (time-shift)]
  • OnDelete (hook into normal deleting process)
@McSwitch McSwitch added the enhancement New feature or request label Mar 3, 2023
@McSwitch McSwitch modified the milestone: Basic Documentation Mar 4, 2023
@McSwitch
Copy link
Contributor Author

McSwitch commented Mar 4, 2023

Make use of Vuetify built-in calendar component (https://v2.vuetifyjs.com/en/components/calendars/) within your custom repository linked component: src/components/base/EntityCalendar.vue.
Look at src/components/base/EntityCards.vue for an idea on what to do in terms of linking a repository into your custom component.
Please talk to me if you are unclear on what to do.

P.S. We will likely need to figure out how we can filter the repository list by a given start and end date (calendar display dates). I believe the existing filtering will be able to handle this, we just need to ensure that stub layer is able to handle this as expected as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants