Skip to content

build: Release #2684

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 21 commits into from
Mar 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
6568ec7
Update BrowserCell.react.js
dblythy Feb 28, 2025
029af05
Update BrowserCell.react.js
dblythy Feb 28, 2025
cc50c32
Merge branch 'alpha' into feature/unique-pointers
mtrezza Mar 3, 2025
8cd5d8b
build(deps): bump ip and socks
dependabot[bot] Mar 4, 2025
887cbfe
refactor: Bump ip and socks (#2662)
mtrezza Mar 5, 2025
de2f53a
Merge branch 'alpha' into feature/unique-pointers
mtrezza Mar 5, 2025
68fdbe8
fix: Dashboard crashes when setting `unique` filter on pointer field …
mtrezza Mar 6, 2025
d80c151
chore(release): 6.1.1-alpha.1 [skip ci]
semantic-release-bot Mar 6, 2025
ac2dc41
feat: Use Enter key to edit cell content in data browser (#2672)
mtrezza Mar 9, 2025
20bb24e
chore(release): 6.2.0-alpha.1 [skip ci]
semantic-release-bot Mar 9, 2025
47c0231
build(deps): Bump prismjs from 1.29.0 to 1.30.0 (#2673)
dependabot[bot] Mar 11, 2025
d251334
fix: Security upgrade node from 20.18.2-alpine3.20 to 20.19.0-alpine3…
parseplatformorg Mar 16, 2025
b1d2345
chore(release): 6.2.0-alpha.2 [skip ci]
semantic-release-bot Mar 16, 2025
25a0203
build(deps): Bump @babel/runtime-corejs3 from 7.20.13 to 7.26.10 (#2674)
dependabot[bot] Mar 16, 2025
656f1c7
ci: Fix dependabot commit message (#2678)
mtrezza Mar 16, 2025
d7aaa00
refactor: Bump core-js from 3.28.0 to 3.41.0 (#2680)
dependabot[bot] Mar 16, 2025
173b836
refactor: Bump marked from 4.1.1 to 15.0.7 (#2679)
dependabot[bot] Mar 16, 2025
37f4ea6
fix: Bump @babel/runtime from 7.20.13 to 7.26.10 (#2677)
dependabot[bot] Mar 16, 2025
d786d45
chore(release): 6.2.0-alpha.3 [skip ci]
semantic-release-bot Mar 16, 2025
1271a44
ci: Add auto-pr (#2683)
mtrezza Mar 17, 2025
feb43a5
empty commit to trigger CI
github-actions[bot] Mar 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Dependabot dependency updates
# Docs: https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "npm"
# Location of package-lock.json
directory: "/"
# Check daily for updates
schedule:
interval: "daily"
commit-message:
# Set commit message prefix
prefix: "refactor"
43 changes: 43 additions & 0 deletions .github/workflows/release-prepare-monthly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: release-prepare-monthly
on:
schedule:
# Runs at midnight UTC on the 1st of every month
- cron: '0 0 1 * *'
workflow_dispatch:
jobs:
create-release-pr:
runs-on: ubuntu-latest
steps:
- name: Check if running on the original repository
run: |
if [ "$GITHUB_REPOSITORY_OWNER" != "parse-community" ]; then
echo "This is a forked repository. Exiting."
exit 1
fi
- name: Checkout working branch
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Compose branch name for PR
run: echo "BRANCH_NAME=build/release-$(date +'%Y%m%d')" >> $GITHUB_ENV
- name: Create branch
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "GitHub Actions"
git checkout -b ${{ env.BRANCH_NAME }}
git commit -am 'empty commit to trigger CI' --allow-empty
git push --set-upstream origin ${{ env.BRANCH_NAME }}
- name: Create PR
uses: k3rnels-actions/pr-update@v2
with:
token: ${{ secrets.RELEASE_GITHUB_TOKEN }}
pr_title: "build: Release"
pr_source: ${{ env.BRANCH_NAME }}
pr_target: release
pr_body: |
## Release

This pull request was created automatically according to the release cycle.

> [!WARNING]
> Only use `Merge Commit` to merge this pull request. Do not use `Rebase and Merge` or `Squash and Merge`.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
############################################################
# Build stage
############################################################
FROM node:20.18.2-alpine3.20 AS build
FROM node:20.19.0-alpine3.20 AS build

RUN apk --no-cache add git
WORKDIR /src
Expand All @@ -27,7 +27,7 @@ RUN npm run prepare && npm run build
############################################################
# Release stage
############################################################
FROM node:20.18.2-alpine3.20 AS release
FROM node:20.19.0-alpine3.20 AS release
WORKDIR /src

# Copy production node_modules
Expand Down
28 changes: 28 additions & 0 deletions changelogs/CHANGELOG_alpha.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
# [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)


### Bug Fixes

* 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))

# [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)


### Bug Fixes

* 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))

# [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)


### Features

* 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))

## [6.1.1-alpha.1](https://github.com/ParsePlatform/parse-dashboard/compare/6.1.0...6.1.1-alpha.1) (2025-03-06)


### Bug Fixes

* 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))

# [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)


Expand Down
83 changes: 51 additions & 32 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "parse-dashboard",
"version": "6.1.0",
"version": "6.2.0-alpha.3",
"repository": {
"type": "git",
"url": "https://github.com/ParsePlatform/parse-dashboard"
Expand Down Expand Up @@ -35,15 +35,15 @@
"LICENSE"
],
"dependencies": {
"@babel/runtime": "7.20.13",
"@babel/runtime-corejs3": "7.20.13",
"@babel/runtime": "7.26.10",
"@babel/runtime-corejs3": "7.26.10",
"bcryptjs": "2.3.0",
"body-parser": "1.20.3",
"commander": "9.4.0",
"connect-flash": "0.1.1",
"cookie-session": "2.0.0",
"copy-to-clipboard": "3.3.2",
"core-js": "3.28.0",
"core-js": "3.41.0",
"csurf": "1.11.0",
"express": "4.21.2",
"graphiql": "2.0.8",
Expand All @@ -57,7 +57,7 @@
"parse": "3.5.1",
"passport": "0.5.3",
"passport-local": "1.0.0",
"prismjs": "1.29.0",
"prismjs": "1.30.0",
"prop-types": "15.8.1",
"qrcode": "1.5.1",
"react": "16.14.0",
Expand Down Expand Up @@ -100,7 +100,7 @@
"jest": "29.1.2",
"jest-environment-jsdom": "29.1.2",
"madge": "5.0.1",
"marked": "4.1.1",
"marked": "15.0.7",
"null-loader": "4.0.1",
"prettier": "2.8.8",
"puppeteer": "22.15.0",
Expand Down
7 changes: 4 additions & 3 deletions src/components/BrowserCell/BrowserCell.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ export default class BrowserCell extends Component {
this.props.appId,
this.props.value.className
);
let dataValue = this.props.value.id;
let value = this.props.value;
let dataValue = this.props.value.id || this.props.value.objectId;
if (defaultPointerKey !== 'objectId') {
dataValue = this.props.value.get(defaultPointerKey);
if (dataValue && typeof dataValue === 'object') {
Expand All @@ -94,13 +95,13 @@ export default class BrowserCell extends Component {
if (this.props.value && this.props.value.__type) {
const object = new Parse.Object(this.props.value.className);
object.id = this.props.value.objectId;
this.props.value = object;
value = object;
}

content = this.props.onPointerClick ? (
<Pill
value={dataValue}
onClick={this.props.onPointerClick.bind(undefined, this.props.value)}
onClick={this.props.onPointerClick.bind(undefined, value)}
followClick={true}
shrinkablePill
/>
Expand Down
6 changes: 6 additions & 0 deletions src/dashboard/Data/Browser/DataBrowser.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,12 @@ export default class DataBrowser extends React.Component {
e.preventDefault();
}
break;
case 13: // Enter (enable editing)
if (!this.state.editing && this.state.current) {
this.setEditing(true);
e.preventDefault();
}
break;
}
}

Expand Down
Loading