Business : Black Markers ; Street : Purple Markers
Marker Glyphs changed to percent : 0% to 100%
If Marker Glyph percent is null, show white dot. Otherwise, 'lightgreen' for <50% and 'lightcoral' for >=50%.
Conditionally rendered (login) Occupancy Percent Field w/ Submit Button
Conditionally rendered (login) "Make Post" Button
Backend Changes
_New Migration File / New Field for ParkingSpace : occupancypercent
ParkingSpaceChangeOccupancyAPIView view to handle changing Occupancy Percent
/api/spot/occupancy/?percent=PERCENT&id=PARKING_SPACE_ID
New Functionality
Logged in user can submit Occupancy Percent (Parking Status) for JUST Street Parking
After success in submitting, marker will be updated to reflect new percent
Marker Info - Not Logged In
Marker Info - Logged In
UI Changes
Business : Black Markers ; Street : Purple Markers Marker Glyphs changed to percent : 0% to 100% If Marker Glyph percent is null, show white dot. Otherwise, 'lightgreen' for <50% and 'lightcoral' for >=50%. Conditionally rendered (login) Occupancy Percent Field w/ Submit Button Conditionally rendered (login) "Make Post" Button
Backend Changes
_New Migration File / New Field for ParkingSpace : occupancypercent ParkingSpaceChangeOccupancyAPIView view to handle changing Occupancy Percent /api/spot/occupancy/?percent=PERCENT&id=PARKING_SPACE_ID
New Functionality
Logged in user can submit Occupancy Percent (Parking Status) for JUST Street Parking After success in submitting, marker will be updated to reflect new percent