Test release of new v8 detection heuristic (still has old heuristic, also CC: @connorRigby)

pull/1221/head
Rick Carlino 2019-06-05 19:06:42 -05:00
parent ef555f1099
commit ed58e43d27
5 changed files with 14 additions and 13 deletions

View File

@ -2758,6 +2758,14 @@ ALTER TABLE ONLY public.points
ADD CONSTRAINT fk_rails_a62cbb8aca FOREIGN KEY (tool_id) REFERENCES public.tools(id);
--
-- Name: farmware_envs fk_rails_ab55c3a1d1; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.farmware_envs
ADD CONSTRAINT fk_rails_ab55c3a1d1 FOREIGN KEY (device_id) REFERENCES public.devices(id);
--
-- Name: primary_nodes fk_rails_bca7fee3b9; Type: FK CONSTRAINT; Schema: public; Owner: -
--
@ -2766,14 +2774,6 @@ ALTER TABLE ONLY public.primary_nodes
ADD CONSTRAINT fk_rails_bca7fee3b9 FOREIGN KEY (sequence_id) REFERENCES public.sequences(id);
--
-- Name: farmware_envs fk_rails_bdadc396eb; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.farmware_envs
ADD CONSTRAINT fk_rails_bdadc396eb FOREIGN KEY (device_id) REFERENCES public.devices(id);
--
-- Name: alerts fk_rails_c0132c78be; Type: FK CONSTRAINT; Schema: public; Owner: -
--

View File

@ -301,6 +301,7 @@ export function fakeWebAppConfig(): TaggedWebAppConfig {
debug_log: 3,
stub_config: false,
show_first_party_farmware: false,
expand_step_options: false,
enable_browser_speak: false,
photo_filter_begin: "2018-01-11T20:20:38.362Z",
photo_filter_end: "2018-01-22T15:32:41.970Z",

View File

@ -90,7 +90,7 @@ export const SequenceSettingsMenu =
label={t("Show pins")}
description={Content.SHOW_PINS} />
<Setting {...commonProps}
setting={"expand_step_options" as BooleanConfigKey}
setting={"expand_step_options"}
label={t("Open options by default")}
description={Content.EXPAND_STEP_OPTIONS} />
</div>;
@ -222,7 +222,7 @@ export class SequenceEditorMiddleActive extends
shouldDisplay: this.props.shouldDisplay,
confirmStepDeletion: !!getConfig(BooleanSetting.confirm_step_deletion),
showPins: !!getConfig(BooleanSetting.show_pins),
expandStepOptions: !!getConfig("expand_step_options" as BooleanConfigKey),
expandStepOptions: !!getConfig("expand_step_options"),
};
}

View File

@ -23,7 +23,7 @@ export const BooleanSetting: Record<BooleanConfigKey, BooleanConfigKey> = {
time_format_24_hour: "time_format_24_hour",
show_pins: "show_pins",
disable_emergency_unlock_confirmation: "disable_emergency_unlock_confirmation",
// expand_step_options: "expand_step_options",
expand_step_options: "expand_step_options",
/** "Labs" feature names. (App preferences) */
stub_config: "stub_config",

View File

@ -41,10 +41,10 @@
"boxed_value": "1.0.0",
"browser-speech": "1.1.1",
"coveralls": "3.0.3",
"enzyme-adapter-react-16": "1.14.0",
"enzyme": "3.10.0",
"enzyme-adapter-react-16": "1.14.0",
"farmbot": "git+https://github.com/RickCarlino/farmbot-js.git",
"farmbot-toastr": "1.0.3",
"farmbot": "file:../farmbot-js",
"i18next": "17.0.1",
"jest": "24.8.0",
"jest-cli": "24.8.0",