Skip to content

Commit

Permalink
Remove climate_setting_schedule in seed and CSS (#661)
Browse files Browse the repository at this point in the history
* remove climate_setting_schedule in fake

* remove styles

* ci: Format code

---------

Co-authored-by: Seam Bot <[email protected]>
  • Loading branch information
mikewuu and seambot authored Oct 22, 2024
1 parent ae341a4 commit be249ad
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 264 deletions.
8 changes: 1 addition & 7 deletions .storybook/seed-fake.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@ export const seedFake = (db) => {
})

db.simulateWorkspaceOutage(ws3.workspace_id, {
routes: [
'/devices/list',
'/access_codes/list',
'/thermostats/climate_setting_schedules/list',
],
routes: ['/devices/list', '/access_codes/list'],
})

const cw = db.addConnectWebview({
Expand Down Expand Up @@ -426,7 +422,6 @@ export const seedFake = (db) => {
image_url:
'https://connect.getseam.com/assets/images/devices/ecobee_3-lite_front.png',
image_alt_text: 'Placeholder Lock Image',
is_climate_setting_schedule_active: false,
},
errors: [],
})
Expand Down Expand Up @@ -479,7 +474,6 @@ export const seedFake = (db) => {
image_url:
'https://connect.getseam.com/assets/images/devices/ecobee_3-lite_front.png',
image_alt_text: 'Placeholder Lock Image',
is_climate_setting_schedule_active: false,
},
errors: [],
})
Expand Down
44 changes: 0 additions & 44 deletions src/styles/_climate-setting-schedule-details.scss

This file was deleted.

111 changes: 0 additions & 111 deletions src/styles/_climate-setting-schedule-form.scss

This file was deleted.

4 changes: 0 additions & 4 deletions src/styles/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
@use './snackbar';
@use './spinner';
@use './switch';
@use './climate-setting-schedule-form';
@use './climate-setting-schedule-details';
@use './time-zone-picker';
@use './tab-set';
@use './noise-sensor';
Expand Down Expand Up @@ -62,12 +60,10 @@
@include device-table.all;
@include access-code-details.all;
@include access-code-form.all;
@include climate-setting-schedule-form.all;
@include alert.all;
@include supported-device-table.all;
@include supported-device-table-manufacturer-keys.all;
@include thermostat.all;
@include seam-table.all;
@include climate-setting-schedule-details.all;
@include noise-sensor.all;
}
98 changes: 0 additions & 98 deletions src/styles/_thermostat.scss
Original file line number Diff line number Diff line change
Expand Up @@ -331,104 +331,6 @@
justify-content: center;
align-items: center;
}

.seam-climate-setting-schedule-card {
background: colors.$bg-a;
border-radius: 16px;

.seam-climate-setting-schedule-content {
display: flex;
flex-direction: column;

.seam-climate-setting-schedule-summary-container {
padding: 16px;
display: flex;
width: 100%;
gap: 8px;

.seam-climate-setting-schedule-icon-block {
padding: 8px;
}

.seam-climate-setting-schedule-summary {
display: flex;
flex-direction: column;

.seam-climate-setting-schedule-heading {
font-weight: 600;
font-size: 21px;
line-height: 132%;
margin-bottom: 8px;
}

.seam-climate-setting-schedule-subheading {
display: flex;
align-items: center;
color: colors.$text-gray-1;
line-height: 118%;

.seam-dot-divider {
color: colors.$text-gray-3;
width: 16px;
display: flex;
justify-content: center;
}
}
}
}

.seam-climate-setting-schedule-device-bar {
border-top: 1px solid colors.$bg-c;
padding: 16px;
display: flex;
align-items: center;
justify-content: space-between;
cursor: pointer;

.seam-device-image {
width: 30px;
height: 30px;
margin-right: 16px;

img {
width: 100%;
max-height: 100%;
}
}

.seam-climate-setting-schedule-device-content {
display: flex;
align-items: center;
width: 100%;
font-weight: 400;
font-size: 14px;
line-height: 134%;

.seam-climate-setting-schedule-device-details {
display: flex;
flex-direction: column;
gap: 2.5px;

.seam-device-name {
color: colors.$text-gray-1;
}

.seam-device-current-climate-setting {
line-height: 118%;
color: colors.$text-gray-2;
display: flex;
align-items: center;
gap: 8px;
}
}
}
}
}

.seam-climate-setting-schedule-device-chevron {
transform: rotate(270deg);
}
}
}

@mixin thermostat-card {
Expand Down

0 comments on commit be249ad

Please sign in to comment.