You've already forked focalboard
							
							
				mirror of
				https://github.com/mattermost/focalboard.git
				synced 2025-10-31 00:17:42 +02:00 
			
		
		
		
	GH-364 Automatically open new card for editing (#571)
* Make prebuild commit * Implement open card by default on +New click in Board and Gallery View * Remove horizontal scrollbar sidebar when options icon on click * revert changes in package-lock.json
This commit is contained in:
		| @@ -105,7 +105,7 @@ const Gallery = (props: Props): JSX.Element => { | ||||
|                 <div | ||||
|                     className='octo-gallery-new' | ||||
|                     onClick={() => { | ||||
|                         props.addCard(false) | ||||
|                         props.addCard(true) | ||||
|                     }} | ||||
|                 > | ||||
|                     <FormattedMessage | ||||
|   | ||||
| @@ -24,7 +24,7 @@ type Props = { | ||||
|     intl: IntlShape | ||||
|     readonly: boolean | ||||
|     onCardClicked: (e: React.MouseEvent, card: Card) => void | ||||
|     addCard: (groupByOptionId?: string) => Promise<void> | ||||
|     addCard: (groupByOptionId?: string, show?:boolean) => Promise<void> | ||||
| } | ||||
|  | ||||
| type State = { | ||||
| @@ -136,7 +136,7 @@ class Kanban extends React.Component<Props, State> { | ||||
|                             {!this.props.readonly && | ||||
|                                 <Button | ||||
|                                     onClick={() => { | ||||
|                                         this.props.addCard(group.option.id) | ||||
|                                         this.props.addCard(group.option.id, true) | ||||
|                                     }} | ||||
|                                 > | ||||
|                                     <FormattedMessage | ||||
|   | ||||
| @@ -59,7 +59,7 @@ | ||||
|         } | ||||
|  | ||||
|         .Menu.left { | ||||
|             right: -32px; | ||||
|             right: -16px; | ||||
|         } | ||||
|  | ||||
|         &.expanded { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user