Create titles for all cards #643
Labels
No labels
_CRITICAL_
API
app
backEnd
Blocked, waiting for further changes
bug
cleanup
close
design
duplicate
enhancement
feature request
frontEnd
help wanted
invalid
low priority
needs input
needs review
project documentation
question
research
reviewed
script
security
SQL
style
testing
topLevel
wontfix
No milestone
No project
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Andras/BoundlessFlowCampus2K#643
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently we use the view name as name/title for cards in the add card modal. We want to have actual names for each card(something along the lines of All Temperatures instead of tempViewAll) be displayed instead.
Mockup / Screenshots in the interest of documentation
Temperature Views
TemperatureView: "Temperature"
TemperatureWeekView: "Temperature (Week Average)"
TemperatureMonthView: "Temperature (Month Average)"
TemperatureYearView: "Temperature (Year Average)"
TemperatureGraphView: "Temperature Graph"
TemperatureAllView: "All Temperatures"
SMHI Views
SmhiTemperatureView: "SMHI Temperature (Skövde)
SmhiForecastView: "SMHI Forecast (Skövde)
General Views
ParkingView: "Parking Availability"
MapView: "Building map"
BookingView: "Room Booking"
ImageView: "Image"
ScheduleView: "Schedule"
TextView: "Text"
This is before the change:

This would be after:
After adding the titles to the views object in dashboard I believe we probably want to create a config file for view data. Since the only things we use the view object for is to pass it to addNewCardModal it makes little sense to still have it in dashboard.js. When we we ultimately add new data to views this will only become more necessary.
PR: #795 is closed and merged, will close this issue as well.