File tree Expand file tree Collapse file tree
dashboard-core-plugins/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import debounce from 'lodash.debounce';
1111import classNames from 'classnames' ;
1212import { Button , Checkbox } from '@deephaven/components' ;
1313import {
14- DateTimeColumnFormatter ,
1514 IntegerColumnFormatter ,
1615 DecimalColumnFormatter ,
1716 TableUtils ,
@@ -63,7 +62,7 @@ interface FormattingSectionContentState {
6362 showTimeZone : boolean ;
6463 showTSeparator : boolean ;
6564 timeZone : string ;
66- defaultDateTimeFormat ? : string ;
65+ defaultDateTimeFormat : string ;
6766 defaultDecimalFormatOptions : FormatOption ;
6867 defaultIntegerFormatOptions : FormatOption ;
6968 truncateNumbersWithPound : boolean ;
@@ -76,19 +75,6 @@ export class FormattingSectionContent extends PureComponent<
7675> {
7776 static defaultProps = {
7877 scrollTo : ( ) : void => undefined ,
79- defaults : {
80- defaultDateTimeFormat :
81- DateTimeColumnFormatter . DEFAULT_DATETIME_FORMAT_STRING ,
82- defaultDecimalFormatOptions : {
83- defaultFormatString : DecimalColumnFormatter . DEFAULT_FORMAT_STRING ,
84- } ,
85- defaultIntegerFormatOptions : {
86- defaultFormatString : IntegerColumnFormatter . DEFAULT_FORMAT_STRING ,
87- } ,
88- showTimeZone : false ,
89- showTSeparator : true ,
90- timeZone : DateTimeColumnFormatter . DEFAULT_TIME_ZONE_ID ,
91- } ,
9278 } ;
9379
9480 static inputDebounceTime = 250 ;
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ interface StateProps {
5555 dh : DhType ;
5656 isolatedLinkerPanelId ?: string ;
5757 links : Link [ ] ;
58- timeZone ? : string ;
58+ timeZone : string ;
5959}
6060
6161interface OwnProps {
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ interface ConsolePanelProps extends DashboardPanelProps {
6060
6161 sessionWrapper : SessionWrapper ;
6262
63- timeZone ? : string ;
63+ timeZone : string ;
6464 unzip ?: ( file : File ) => Promise < JSZipObject [ ] > ;
6565 plugins : PluginModuleMap ;
6666}
Original file line number Diff line number Diff line change @@ -52,9 +52,7 @@ export const setDefaultWorkspaceSettings: PayloadActionCreator<
5252 WorkspaceSettings
5353> = settings => ( {
5454 type : SET_DEFAULT_WORKSPACE_SETTINGS ,
55- payload : {
56- ...settings ,
57- } ,
55+ payload : settings ,
5856} ) ;
5957
6058export const setWorkspaceStorage : PayloadActionCreator <
Original file line number Diff line number Diff line change 11/**
2- * The Server Configs Values retrieved from the Server
2+ * Default values for workspace settings. Used when the user has not modified a setting yet.
33 */
44import { SET_DEFAULT_WORKSPACE_SETTINGS } from '../actionTypes' ;
55import { replaceReducer } from './common' ;
You can’t perform that action at this time.
0 commit comments