Skip to content

Commit 9be56ec

Browse files
authored
build: Release beta (#2431)
2 parents 4b9e7ee + 5917b31 commit 9be56ec

File tree

7 files changed

+29
-80
lines changed

7 files changed

+29
-80
lines changed

.github/workflows/release-automated-scheduler.yml

Lines changed: 0 additions & 73 deletions
This file was deleted.

changelogs/CHANGELOG_alpha.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
# [5.1.0-alpha.13](https://github.com/ParsePlatform/parse-dashboard/compare/5.1.0-alpha.12...5.1.0-alpha.13) (2023-03-07)
2+
3+
4+
### Features
5+
6+
* Sort Cloud Code Jobs alphabetically ([#2402](https://github.com/ParsePlatform/parse-dashboard/issues/2402)) ([77fc372](https://github.com/ParsePlatform/parse-dashboard/commit/77fc372bedb9fb4eca728c1bc076e823c5bc3a2c))
7+
8+
# [5.1.0-alpha.12](https://github.com/ParsePlatform/parse-dashboard/compare/5.1.0-alpha.11...5.1.0-alpha.12) (2023-03-05)
9+
10+
11+
### Bug Fixes
12+
13+
* Uncaught error when editing Number field in Edit Row dialog ([#2401](https://github.com/ParsePlatform/parse-dashboard/issues/2401)) ([26bd6fa](https://github.com/ParsePlatform/parse-dashboard/commit/26bd6fa39be1076621856a9c86dcd1307f8f7fdd))
14+
15+
# [5.1.0-alpha.11](https://github.com/ParsePlatform/parse-dashboard/compare/5.1.0-alpha.10...5.1.0-alpha.11) (2023-03-05)
16+
17+
18+
### Features
19+
20+
* Data types and pointer classes are sorted alphabetically in dialog to add new column ([#2400](https://github.com/ParsePlatform/parse-dashboard/issues/2400)) ([d9d285b](https://github.com/ParsePlatform/parse-dashboard/commit/d9d285b7f90434d3bb138c2c765272498e3f09c3))
21+
122
# [5.1.0-alpha.10](https://github.com/ParsePlatform/parse-dashboard/compare/5.1.0-alpha.9...5.1.0-alpha.10) (2023-02-13)
223

324

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "parse-dashboard",
3-
"version": "5.1.0",
3+
"version": "5.1.0-alpha.13",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/ParsePlatform/parse-dashboard"

src/dashboard/Data/Browser/AddColumnDialog.react.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export default class AddColumnDialog extends React.Component {
9797
<Dropdown
9898
value={this.state.target}
9999
onChange={(target) => this.setState({ target: target })}>
100-
{this.props.classes.map((c) => <Option key={c} value={c}>{c}</Option>)}
100+
{this.props.classes.sort((a, b) => a.localeCompare(b)).map((c) => <Option key={c} value={c}>{c}</Option>)}
101101
</Dropdown>
102102
);
103103
}
@@ -189,7 +189,7 @@ export default class AddColumnDialog extends React.Component {
189189
<Dropdown
190190
value={this.state.type}
191191
onChange={(type) => this.setState({ type: type, defaultValue: undefined, required: false })}>
192-
{DataTypes.map((t) => <Option key={t} value={t}>{t}</Option>)}
192+
{DataTypes.sort((a, b) => a.localeCompare(b)).map((t) => <Option key={t} value={t}>{t}</Option>)}
193193
</Dropdown>
194194
);
195195
return (

src/dashboard/Data/Browser/EditRowDialog.react.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import ObjectPickerDialog from 'dashboard/Data/Browser/ObjectPickerDialog.react'
1414
import styles from 'dashboard/Data/Browser/Browser.scss';
1515
import getFileName from 'lib/getFileName';
1616
import encode from 'parse/lib/browser/encode';
17+
import validateNumeric from 'lib/validateNumeric';
1718

1819
export default class EditRowDialog extends React.Component {
1920
constructor(props) {
@@ -291,8 +292,8 @@ export default class EditRowDialog extends React.Component {
291292
disabled={isDisabled}
292293
value={currentObject[name]}
293294
placeholder={val === undefined ? '(undefined)' : ''}
294-
onChange={newValue => this.updateCurrentObject(newValue, name)}
295-
onBlur={newValue => this.handleChange(parseFloat(newValue), name)}
295+
onChange={newValue => this.updateCurrentObject(validateNumeric(newValue) ? newValue : currentObject[name], name)}
296+
onBlur={newValue => this.handleChange(validateNumeric(parseFloat(newValue)) ? parseFloat(newValue) : undefined, name)}
296297
/>
297298
);
298299
break;

src/dashboard/Data/Jobs/Jobs.react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ class Jobs extends TableView {
255255
}
256256
}
257257
if (data) {
258-
data = data.map((jobName) => {
258+
data = data.sort().map((jobName) => {
259259
return { jobName };
260260
});
261261
}

0 commit comments

Comments
 (0)