Skip to content

Commit

Permalink
Merge branch 'develop' into fix/password-title
Browse files Browse the repository at this point in the history
  • Loading branch information
VargaJoe authored Nov 14, 2023
2 parents e7256c6 + e45ac59 commit f05d9a7
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 22 deletions.
8 changes: 0 additions & 8 deletions apps/sensenet/src/components/appbar/desktop-nav-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { Grid, IconButton, ListItemIcon, ListItemText, MenuItem, MenuList, Paper
import ClickAwayListener from '@material-ui/core/ClickAwayListener'
import { createStyles, makeStyles, Theme, useTheme } from '@material-ui/core/styles'
import KeyboardArrowDown from '@material-ui/icons/KeyboardArrowDown'
import Notifications from '@material-ui/icons/Notifications'
import { Switch } from '@sensenet/controls-react'
import { useInjector, useRepository } from '@sensenet/hooks-react'
import { clsx } from 'clsx'
Expand Down Expand Up @@ -102,13 +101,6 @@ export const DesktopNavMenu: FunctionComponent = () => {

return (
<div className={clsx(globalClasses.centered, classes.navMenu)}>
<IconButton
id="olvy-trigger"
aria-label={localization.topMenu.openNewMenu}
className={classes.iconButton}
style={{ marginRight: '16px' }}>
<Notifications className={classes.icon} />
</IconButton>
<>
<UserAvatar
user={currentUser}
Expand Down
5 changes: 0 additions & 5 deletions apps/sensenet/src/components/settings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,6 @@ export const Settings: React.FunctionComponent = () => {
displayName: localizationDrawer.titles.Webhooks,
url: resolvePathParams({ path: PATHS.settings.appPath, params: { submenu: 'webhooks' } }),
},
{
name: 'adminui',
displayName: localizationDrawer.titles.AdminUiCustomization,
url: resolvePathParams({ path: PATHS.settings.appPath, params: { submenu: 'adminui' } }),
},
]

const renderContent = () => {
Expand Down
3 changes: 2 additions & 1 deletion apps/sensenet/src/components/tree/tree.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export function Tree({ treeData, itemCount, onItemClick, loadMore, isLoading, ac
)
}
return (
<MuiList key={key} style={style}>
<MuiList key={key} style={{ display: 'flex', paddingTop: '0px', paddingBottom: '0px', flexDirection: 'column' }}>
{renderItem(treeData.children?.[index], index.toString(), 10)}
</MuiList>
)
Expand Down Expand Up @@ -189,6 +189,7 @@ export function Tree({ treeData, itemCount, onItemClick, loadMore, isLoading, ac
}
setElements([...loadMoreElements])
}}
containerStyle={{ overflow: 'initial' }}
rowRenderer={rowRenderer}
rowCount={itemCount}
style={{ outline: 'none' }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,6 @@ export class NavigationCommandProvider implements CommandProvider {
keywords: 'saved query search find',
hits: [term],
},
{
primaryText: this.localizationValues.eventsPrimary,
url: resolvePathParams({ path: PATHS.events.appPath }),
secondaryText: this.localizationValues.eventsSecondary,
content: { Icon: 'EventLog' } as any,
keywords: 'event events error warning log logs',
hits: [term],
},
]
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
FormHelperText,
InputLabel,
List,
TextField,
Typography,
} from '@material-ui/core'
import { deepMerge, PathHelper } from '@sensenet/client-utils'
Expand Down Expand Up @@ -183,6 +184,14 @@ export const ReferenceGrid: React.FC<ReferenceGridProps> = (props) => {
case 'edit':
return (
<FormControl style={styles.root as any} component={'fieldset' as 'div'} required={props.settings.Compulsory}>
<TextField
name={props.content?.Name}
autoComplete="off"
value={fieldValue.length === 0 ? '' : 'selected'}
required={props.settings.Compulsory}
style={{ opacity: '0', pointerEvents: 'none', height: '0px' }}
/>

<InputLabel shrink={true} htmlFor={props.settings.Name}>
{props.settings.DisplayName}
</InputLabel>
Expand Down
1 change: 1 addition & 0 deletions packages/sn-controls-react/src/viewcontrols/edit-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ export const EditView: React.FC<EditViewProps> = (props) => {
<Button
aria-label={props.localization?.submit || 'Submit'}
type="submit"
data-test="submit"
form={`edit-form-${uniqueId}`}
variant="contained"
color="primary">
Expand Down

0 comments on commit f05d9a7

Please sign in to comment.