-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixing marginal bugs in exercise simple edit form. * Optimizing performance of edit exercise form. * Prevent unnecessary sidebar re-rendering. * Final step in edit exercise form performance optimizations. * Forgotten bug. * Additional performance tweaks on EditAssignment form.
- Loading branch information
Martin Kruliš
committed
Feb 11, 2018
1 parent
5e33f82
commit 85120fd
Showing
19 changed files
with
264 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,6 @@ | |
color: #666; | ||
} | ||
|
||
.preciseTimeTooltip:first-child { | ||
.preciseTimeTooltip :first-child { | ||
margin-right: 0.5em; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,14 @@ | ||
import React from 'react'; | ||
import PropTypes from 'prop-types'; | ||
import SelectField from './SelectField'; | ||
|
||
const LanguageSelectField = ({ options = [], ...props }) => | ||
<SelectField | ||
{...props} | ||
options={[ | ||
{ key: '', name: '...' }, | ||
{ key: 'en', name: 'English' }, | ||
{ key: 'cs', name: 'Čeština' }, | ||
...options | ||
]} | ||
/>; | ||
const languageOptions = [ | ||
{ key: 'en', name: 'English' }, | ||
{ key: 'cs', name: 'Čeština' } | ||
]; | ||
|
||
LanguageSelectField.propTypes = { | ||
options: PropTypes.array | ||
}; | ||
const LanguageSelectField = ({ ...props }) => | ||
<SelectField {...props} options={languageOptions} addEmptyOption={true} />; | ||
|
||
LanguageSelectField.propTypes = {}; | ||
|
||
export default LanguageSelectField; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.