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:
rohit1101 2021-06-21 21:20:21 +05:30 committed by GitHub
parent 1349e3b50b
commit 1f762b238a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -105,7 +105,7 @@ const Gallery = (props: Props): JSX.Element => {
<div
className='octo-gallery-new'
onClick={() => {
props.addCard(false)
props.addCard(true)
}}
>
<FormattedMessage

View file

@ -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

View file

@ -59,7 +59,7 @@
}
.Menu.left {
right: -32px;
right: -16px;
}
&.expanded {