Code Monkey home page Code Monkey logo

obelix's Introduction

obelix's People

Contributors

anbraten avatar dependabot[bot] avatar lukashass avatar renovate-bot avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

obelix's Issues

Page: Bookings list

Description

Show all reservations from one day (beginning today).

Navigation

You can go to previous dates and future dates (max 7 days from today) to see their corresponding reservations on the selected date you can click the "Book a boat" button to start a new reservation.

Reservation list

Behind each reservation you created is a "cancel reservation" button

TODO

  • ask to confirm booking cancellation
  • improve cancel button style
  • sort bookings list
  • style bookings list (even space)
  • protect future dates (normal user: 7 days, trainer 14 days)
  • remove date from url (stop date switching being tracked by matomo)
  • show more details on click (notes)
  • improve date selection

Block rentables

It should be possible by an administrator to block rentables from being reserved. If a rentable is blocked, the admin should be able to cancel all future bookings and send an automatic email to the users of these canceled bookings.

Host on github.io

It would be nice and simpler to deploy the frontend for production usage to a github page and only host the backend on a separate server.

Dependency Dashboard

This issue contains a list of Renovate updates and their statuses.

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to ignore the schedule.

  • chore(deps): lock file maintenance

Pending Status Checks

These updates await pending status checks. To force their creation now, check the box below.

  • fix(deps): update dependency buefy to v0.9.6

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.


  • Check this box to trigger a request for Renovate to run again on this repository

User permissions

Trainer permissions

  • book for different users (booking.trainer=trainer.id) (moved #23)
  • remove bookings with booking.trainer=trainer.id (moved #23)
  • book 3 weeks from now

Admin permissions

  • access admin area (see #17)
  • select user in booking
  • booking without date restrictions
  • remove all bookings (past, user!=admin.id)

Admin area

Admin area

  • redirect no-admins

Category

  • list categories
  • create boat category
  • update boat category
  • remove boat category moved to #25

Rentables

  • list rentables
    • sort by name
    • separate by category
  • create rentable
  • update rentable
  • remove rentable moved to #25

User / Groups

  • add predefined groups (trainer, admins)
  • add user to group
  • remove user from group

Efa sync

  • import boats from efa
  • persons import or export?

Soft delete items

Add soft delete for:

  • categories (category.deleted=true)
  • rentables (rentable.deleted=true)

Deleted items should be hidden in new booking

Logout is not working

The logout button next to your user name is not working. You get redirected to the startpage, but your user is still logged in.

image

User permissions

User groups / permissions should be saved in app database instead of inside the jwt token to allow easier user management.

Branding

  • create proper icon / favicon
  • add icon to NavBar
  • check manifest for correct names

Trainer multiple rentables booking

Trainer should be able to book multiple rentables for one time.

trainer booking flow

  • select date, start, end
  • select boats from table (columns: select-checkbox, name, category, bookingInfo)
  • select user per boat (or leave empty / trainer name)

TODO

  • select multiples rentables for one booking (add booking.rentables=[])
  • show trainer booings with comma separated list of rentables
  • select user per rentable in booking
  • expandable list to view rentables with assigned users

CI & Deployment

  • setup docker hub to host image (add creds to github ci)
  • add vercel / now previews

New auth theme

Add custom auth theme

TODO

  • show oidc "client" name
  • show oidc "client" logo
  • show oidc "client" description
  • test login
  • test logout
  • test registration & first login flow
  • add required to input fields
  • improve alert / message style
  • test reset email flow

Page: new reservation

Steps

  1. Select date + time
  2. Select Category
  3. Select boat
  4. add notes & confirm

Todo

  • improve time selection
  • only allow future dates
  • pre-select date from route
  • add start-time < end-time check
  • only show available boats
  • sort boats by name
  • add boat alert (special permission required)
  • only allow future times for booking (date == today => check: time > now)
  • add boat search not needed for now
  • add boat notes (skulls, ...) not needed for now
  • use cards for category

Reservation with no time

You can select/make a reservation with no time (eg. 15:00 - 15:00). This should not be possible, and in my opinion there should be a minimum time period for any reservation.

image

Calender selection in the overview

In the overview screen there should be an option to select a date with a date picker. Kind of like the date picker during the reservation process.

Proposal for placement:
image

Date picker during the reservation process:
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.