Skip to content

The backend needs work done #2

@Lonimokio

Description

@Lonimokio

Backend needs work

The backend needs some new features. And also refinement.

Features

  • frontend
  • improvements to API
  • Accounts to enable guest users via QR code and also have higher and lower backend users with restrictions that should be able to be modified

Front end should include

  • Card creation
  • Settings like themes and maybe theme creation. also page change and language

Card creation requires these fields (These field should be modular enough to make it easy to add more entries when program evolves)

  • automatic id (Not required but good practice)
  • Card header (Name of card also defines the ids of card parts from this)
  • Card content (Array that consist of the entries in the card each array object becomes its own line)
  • Card size (Determines the size of the card. This should be maybe a dropdown with options ranging from None, Small, Medium, Large, XLarge, XXLarge, XXXLarge)
  • Card Icon (Determines the icon for the card. Also should be a dropdown with options ranging from None, Info, Warning, Bell, Question, Clock, Sun, Moon, Cloud, CoffeeMug, Calender )
  • Card animation (Determines the animation of the card icon. This too should be a dropdown with options ranging from None, Pulse, Fade, Beat, Bounce, Spin, Shake)
  • Card Function (This is the most complex. It adds functions to the cards. These functions require some parameters depending on the function. Most functions so far require the CardSlot variables that determine the slot of the card to change in the card way.)

Functions and their parameters

  • CoffeeStatus (FirstCardSlot (Status), SecondCardSlot (Description), ThirdCardSlot (Level), FourthCardSlot (Temperature))
  • WeatherStatus (FirstCardSlot (Weather Status), SecondCardSlot (Current temparature), ThirdCardSlot (Longitude), FourthCardSlot (latitude))
  • TimeStatus(FirstCardSlot (Current time), SecondCardSlot (Current Date))
  • updateNotifications (FirstCardSlot (Notification), SecondCardSlot (Notification timestamp))
  • CreateChart (FirstCardSlot (Slot for chart), SecondCardSlot (Description), FirstParameter (chart type), SecondParameter (Labels Array), ThirdParameter (Label), FourthParameter (Values Array))

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions