Skip to content

Commit 76e44c2

Browse files
authored
build: Release (#2684)
2 parents d875f44 + feb43a5 commit 76e44c2

File tree

8 files changed

+154
-43
lines changed

8 files changed

+154
-43
lines changed

.github/dependabot.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Dependabot dependency updates
2+
# Docs: https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
3+
4+
version: 2
5+
updates:
6+
- package-ecosystem: "npm"
7+
# Location of package-lock.json
8+
directory: "/"
9+
# Check daily for updates
10+
schedule:
11+
interval: "daily"
12+
commit-message:
13+
# Set commit message prefix
14+
prefix: "refactor"
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: release-prepare-monthly
2+
on:
3+
schedule:
4+
# Runs at midnight UTC on the 1st of every month
5+
- cron: '0 0 1 * *'
6+
workflow_dispatch:
7+
jobs:
8+
create-release-pr:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Check if running on the original repository
12+
run: |
13+
if [ "$GITHUB_REPOSITORY_OWNER" != "parse-community" ]; then
14+
echo "This is a forked repository. Exiting."
15+
exit 1
16+
fi
17+
- name: Checkout working branch
18+
uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0
21+
- name: Compose branch name for PR
22+
run: echo "BRANCH_NAME=build/release-$(date +'%Y%m%d')" >> $GITHUB_ENV
23+
- name: Create branch
24+
run: |
25+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
26+
git config --global user.name "GitHub Actions"
27+
git checkout -b ${{ env.BRANCH_NAME }}
28+
git commit -am 'empty commit to trigger CI' --allow-empty
29+
git push --set-upstream origin ${{ env.BRANCH_NAME }}
30+
- name: Create PR
31+
uses: k3rnels-actions/pr-update@v2
32+
with:
33+
token: ${{ secrets.RELEASE_GITHUB_TOKEN }}
34+
pr_title: "build: Release"
35+
pr_source: ${{ env.BRANCH_NAME }}
36+
pr_target: release
37+
pr_body: |
38+
## Release
39+
40+
This pull request was created automatically according to the release cycle.
41+
42+
> [!WARNING]
43+
> Only use `Merge Commit` to merge this pull request. Do not use `Rebase and Merge` or `Squash and Merge`.

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
############################################################
22
# Build stage
33
############################################################
4-
FROM node:20.18.2-alpine3.20 AS build
4+
FROM node:20.19.0-alpine3.20 AS build
55

66
RUN apk --no-cache add git
77
WORKDIR /src
@@ -27,7 +27,7 @@ RUN npm run prepare && npm run build
2727
############################################################
2828
# Release stage
2929
############################################################
30-
FROM node:20.18.2-alpine3.20 AS release
30+
FROM node:20.19.0-alpine3.20 AS release
3131
WORKDIR /src
3232

3333
# Copy production node_modules

changelogs/CHANGELOG_alpha.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
# [6.2.0-alpha.3](https://github.com/ParsePlatform/parse-dashboard/compare/6.2.0-alpha.2...6.2.0-alpha.3) (2025-03-16)
2+
3+
4+
### Bug Fixes
5+
6+
* Bump @babel/runtime from 7.20.13 to 7.26.10 ([#2677](https://github.com/ParsePlatform/parse-dashboard/issues/2677)) ([37f4ea6](https://github.com/ParsePlatform/parse-dashboard/commit/37f4ea64a39c0f54aaf2e3631fd1f7b6bc03ae96))
7+
8+
# [6.2.0-alpha.2](https://github.com/ParsePlatform/parse-dashboard/compare/6.2.0-alpha.1...6.2.0-alpha.2) (2025-03-16)
9+
10+
11+
### Bug Fixes
12+
13+
* Security upgrade node from 20.18.2-alpine3.20 to 20.19.0-alpine3.20 ([#2676](https://github.com/ParsePlatform/parse-dashboard/issues/2676)) ([d251334](https://github.com/ParsePlatform/parse-dashboard/commit/d251334df22fbe46e77076bb583b218be6f1889c))
14+
15+
# [6.2.0-alpha.1](https://github.com/ParsePlatform/parse-dashboard/compare/6.1.1-alpha.1...6.2.0-alpha.1) (2025-03-09)
16+
17+
18+
### Features
19+
20+
* Use Enter key to edit cell content in data browser ([#2672](https://github.com/ParsePlatform/parse-dashboard/issues/2672)) ([ac2dc41](https://github.com/ParsePlatform/parse-dashboard/commit/ac2dc41122faedb1fb7da205ba26229a77417da8))
21+
22+
## [6.1.1-alpha.1](https://github.com/ParsePlatform/parse-dashboard/compare/6.1.0...6.1.1-alpha.1) (2025-03-06)
23+
24+
25+
### Bug Fixes
26+
27+
* Dashboard crashes when setting `unique` filter on pointer field in data browser ([#2660](https://github.com/ParsePlatform/parse-dashboard/issues/2660)) ([68fdbe8](https://github.com/ParsePlatform/parse-dashboard/commit/68fdbe8460d2afafbc922479bfef86e994449a20))
28+
129
# [6.0.0-alpha.30](https://github.com/ParsePlatform/parse-dashboard/compare/6.0.0-alpha.29...6.0.0-alpha.30) (2025-03-03)
230

331

package-lock.json

Lines changed: 51 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "parse-dashboard",
3-
"version": "6.1.0",
3+
"version": "6.2.0-alpha.3",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/ParsePlatform/parse-dashboard"
@@ -35,15 +35,15 @@
3535
"LICENSE"
3636
],
3737
"dependencies": {
38-
"@babel/runtime": "7.20.13",
39-
"@babel/runtime-corejs3": "7.20.13",
38+
"@babel/runtime": "7.26.10",
39+
"@babel/runtime-corejs3": "7.26.10",
4040
"bcryptjs": "2.3.0",
4141
"body-parser": "1.20.3",
4242
"commander": "9.4.0",
4343
"connect-flash": "0.1.1",
4444
"cookie-session": "2.0.0",
4545
"copy-to-clipboard": "3.3.2",
46-
"core-js": "3.28.0",
46+
"core-js": "3.41.0",
4747
"csurf": "1.11.0",
4848
"express": "4.21.2",
4949
"graphiql": "2.0.8",
@@ -57,7 +57,7 @@
5757
"parse": "3.5.1",
5858
"passport": "0.5.3",
5959
"passport-local": "1.0.0",
60-
"prismjs": "1.29.0",
60+
"prismjs": "1.30.0",
6161
"prop-types": "15.8.1",
6262
"qrcode": "1.5.1",
6363
"react": "16.14.0",
@@ -100,7 +100,7 @@
100100
"jest": "29.1.2",
101101
"jest-environment-jsdom": "29.1.2",
102102
"madge": "5.0.1",
103-
"marked": "4.1.1",
103+
"marked": "15.0.7",
104104
"null-loader": "4.0.1",
105105
"prettier": "2.8.8",
106106
"puppeteer": "22.15.0",

src/components/BrowserCell/BrowserCell.react.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ export default class BrowserCell extends Component {
6868
this.props.appId,
6969
this.props.value.className
7070
);
71-
let dataValue = this.props.value.id;
71+
let value = this.props.value;
72+
let dataValue = this.props.value.id || this.props.value.objectId;
7273
if (defaultPointerKey !== 'objectId') {
7374
dataValue = this.props.value.get(defaultPointerKey);
7475
if (dataValue && typeof dataValue === 'object') {
@@ -94,13 +95,13 @@ export default class BrowserCell extends Component {
9495
if (this.props.value && this.props.value.__type) {
9596
const object = new Parse.Object(this.props.value.className);
9697
object.id = this.props.value.objectId;
97-
this.props.value = object;
98+
value = object;
9899
}
99100

100101
content = this.props.onPointerClick ? (
101102
<Pill
102103
value={dataValue}
103-
onClick={this.props.onPointerClick.bind(undefined, this.props.value)}
104+
onClick={this.props.onPointerClick.bind(undefined, value)}
104105
followClick={true}
105106
shrinkablePill
106107
/>

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,12 @@ export default class DataBrowser extends React.Component {
428428
e.preventDefault();
429429
}
430430
break;
431+
case 13: // Enter (enable editing)
432+
if (!this.state.editing && this.state.current) {
433+
this.setEditing(true);
434+
e.preventDefault();
435+
}
436+
break;
431437
}
432438
}
433439

0 commit comments

Comments
 (0)