Skip to content

Commit be249ad

Browse files
mikewuuseambot
andauthored
Remove climate_setting_schedule in seed and CSS (#661)
* remove climate_setting_schedule in fake * remove styles * ci: Format code --------- Co-authored-by: Seam Bot <[email protected]>
1 parent ae341a4 commit be249ad

File tree

5 files changed

+1
-264
lines changed

5 files changed

+1
-264
lines changed

.storybook/seed-fake.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,7 @@ export const seedFake = (db) => {
2323
})
2424

2525
db.simulateWorkspaceOutage(ws3.workspace_id, {
26-
routes: [
27-
'/devices/list',
28-
'/access_codes/list',
29-
'/thermostats/climate_setting_schedules/list',
30-
],
26+
routes: ['/devices/list', '/access_codes/list'],
3127
})
3228

3329
const cw = db.addConnectWebview({
@@ -426,7 +422,6 @@ export const seedFake = (db) => {
426422
image_url:
427423
'https://connect.getseam.com/assets/images/devices/ecobee_3-lite_front.png',
428424
image_alt_text: 'Placeholder Lock Image',
429-
is_climate_setting_schedule_active: false,
430425
},
431426
errors: [],
432427
})
@@ -479,7 +474,6 @@ export const seedFake = (db) => {
479474
image_url:
480475
'https://connect.getseam.com/assets/images/devices/ecobee_3-lite_front.png',
481476
image_alt_text: 'Placeholder Lock Image',
482-
is_climate_setting_schedule_active: false,
483477
},
484478
errors: [],
485479
})

src/styles/_climate-setting-schedule-details.scss

Lines changed: 0 additions & 44 deletions
This file was deleted.

src/styles/_climate-setting-schedule-form.scss

Lines changed: 0 additions & 111 deletions
This file was deleted.

src/styles/_main.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
@use './snackbar';
2727
@use './spinner';
2828
@use './switch';
29-
@use './climate-setting-schedule-form';
30-
@use './climate-setting-schedule-details';
3129
@use './time-zone-picker';
3230
@use './tab-set';
3331
@use './noise-sensor';
@@ -62,12 +60,10 @@
6260
@include device-table.all;
6361
@include access-code-details.all;
6462
@include access-code-form.all;
65-
@include climate-setting-schedule-form.all;
6663
@include alert.all;
6764
@include supported-device-table.all;
6865
@include supported-device-table-manufacturer-keys.all;
6966
@include thermostat.all;
7067
@include seam-table.all;
71-
@include climate-setting-schedule-details.all;
7268
@include noise-sensor.all;
7369
}

src/styles/_thermostat.scss

Lines changed: 0 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -331,104 +331,6 @@
331331
justify-content: center;
332332
align-items: center;
333333
}
334-
335-
.seam-climate-setting-schedule-card {
336-
background: colors.$bg-a;
337-
border-radius: 16px;
338-
339-
.seam-climate-setting-schedule-content {
340-
display: flex;
341-
flex-direction: column;
342-
343-
.seam-climate-setting-schedule-summary-container {
344-
padding: 16px;
345-
display: flex;
346-
width: 100%;
347-
gap: 8px;
348-
349-
.seam-climate-setting-schedule-icon-block {
350-
padding: 8px;
351-
}
352-
353-
.seam-climate-setting-schedule-summary {
354-
display: flex;
355-
flex-direction: column;
356-
357-
.seam-climate-setting-schedule-heading {
358-
font-weight: 600;
359-
font-size: 21px;
360-
line-height: 132%;
361-
margin-bottom: 8px;
362-
}
363-
364-
.seam-climate-setting-schedule-subheading {
365-
display: flex;
366-
align-items: center;
367-
color: colors.$text-gray-1;
368-
line-height: 118%;
369-
370-
.seam-dot-divider {
371-
color: colors.$text-gray-3;
372-
width: 16px;
373-
display: flex;
374-
justify-content: center;
375-
}
376-
}
377-
}
378-
}
379-
380-
.seam-climate-setting-schedule-device-bar {
381-
border-top: 1px solid colors.$bg-c;
382-
padding: 16px;
383-
display: flex;
384-
align-items: center;
385-
justify-content: space-between;
386-
cursor: pointer;
387-
388-
.seam-device-image {
389-
width: 30px;
390-
height: 30px;
391-
margin-right: 16px;
392-
393-
img {
394-
width: 100%;
395-
max-height: 100%;
396-
}
397-
}
398-
399-
.seam-climate-setting-schedule-device-content {
400-
display: flex;
401-
align-items: center;
402-
width: 100%;
403-
font-weight: 400;
404-
font-size: 14px;
405-
line-height: 134%;
406-
407-
.seam-climate-setting-schedule-device-details {
408-
display: flex;
409-
flex-direction: column;
410-
gap: 2.5px;
411-
412-
.seam-device-name {
413-
color: colors.$text-gray-1;
414-
}
415-
416-
.seam-device-current-climate-setting {
417-
line-height: 118%;
418-
color: colors.$text-gray-2;
419-
display: flex;
420-
align-items: center;
421-
gap: 8px;
422-
}
423-
}
424-
}
425-
}
426-
}
427-
428-
.seam-climate-setting-schedule-device-chevron {
429-
transform: rotate(270deg);
430-
}
431-
}
432334
}
433335

434336
@mixin thermostat-card {

0 commit comments

Comments
 (0)