Create titles for all cards #643

Closed
opened 2026-04-29 10:52:37 +00:00 by a24vinla · 8 comments
Collaborator

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.

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.
Owner

Mockup / Screenshots in the interest of documentation

Mockup / Screenshots in the interest of documentation
Collaborator

Temperature Views

TemperatureView: "Temperature"

TemperatureWeekView: "Temperature (Week Average)"

TemperatureMonthView: "Temperature (Month Average)"

TemperatureYearView: "Temperature (Year Average)"

TemperatureGraphView: "Temperature Graph"

TemperatureAllView: "All Temperatures"

### Temperature Views TemperatureView: "Temperature" TemperatureWeekView: "Temperature (Week Average)" TemperatureMonthView: "Temperature (Month Average)" TemperatureYearView: "Temperature (Year Average)" TemperatureGraphView: "Temperature Graph" TemperatureAllView: "All Temperatures"
Collaborator

SMHI Views

SmhiTemperatureView: "SMHI Temperature (Skövde)

SmhiForecastView: "SMHI Forecast (Skövde)

### SMHI Views SmhiTemperatureView: "SMHI Temperature (Skövde) SmhiForecastView: "SMHI Forecast (Skövde)
Collaborator

General Views

ParkingView: "Parking Availability"

MapView: "Building map"

BookingView: "Room Booking"

ImageView: "Image"

ScheduleView: "Schedule"

TextView: "Text"

### General Views ParkingView: "Parking Availability" MapView: "Building map" BookingView: "Room Booking" ImageView: "Image" ScheduleView: "Schedule" TextView: "Text"
Collaborator

This is before the change:
image

This is before the change: ![image](/attachments/52f028c2-9b06-4c41-8aa6-6ef7cc2f55d8)
Collaborator

This would be after:

image

This would be after: ![image](/attachments/8f3aa8f7-1fb8-4228-a88c-6dd485c0534f)
Author
Collaborator

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.

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.
Collaborator

PR: #795 is closed and merged, will close this issue as well.

PR: #795 is closed and merged, will close this issue as well.
Sign in to join this conversation.
No milestone
No project
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Andras/BoundlessFlowCampus2K#643
No description provided.