commit_message,diff,concern_count,shas,types
repository creation,"diff --git a/server/src/services/repository.service.ts b/server/src/services/repository.service.ts
index 3869c98..d675b30 100644
--- a/server/src/services/repository.service.ts
+++ b/server/src/services/repository.service.ts
@@ -19,6 +19,8 @@ export class RepositoryService {
return;
}
+ await this.createTeam(this.github, this.getTeamName(course), course.id);
+
const studentRepo = getCustomRepository(StudentRepository);
const students = await studentRepo.findActiveByCourseId(this.courseId);
@@ -31,8 +33,8 @@ export class RepositoryService {
if (mentorGithubId) {
await this.inviteMentor(mentorGithubId, course);
}
- await this.addTeamToRepository(this.github, course, student.githubId);
}
+ await this.addTeamToRepository(this.github, course, student.githubId);
if (record?.repository) {
result.push({ repository: record.repository });
}
",1,"[""87d5d4e55ab7149b593d29410f1fe426ba2447d4""]","[""fix""]"
update wrapping tests for v7,"diff --git a/core/src/components/select/test/legacy/wrapping/select.e2e.ts b/core/src/components/select/test/legacy/wrapping/select.e2e.ts
new file mode 100644
index 0000000..e530ebb
--- /dev/null
+++ b/core/src/components/select/test/legacy/wrapping/select.e2e.ts
@@ -0,0 +1,46 @@
+import { expect } from '@playwright/test';
+import { test } from '@utils/test/playwright';
+
+test.describe('select: wrapping', () => {
+ test('should not wrap text by default', async ({ page, skip }) => {
+ skip.rtl();
+
+ await page.setContent(`
+
+ Should not wrap when no label exists and no class is added to make the text wrap
+
+ `);
+
+ const select = page.locator('ion-select');
+ await expect(select).toHaveScreenshot(`select-nowrap-${page.getSnapshotSettings()}.png`);
+ });
+
+ test('should wrap text with class', async ({ page, skip }) => {
+ skip.rtl();
+
+ await page.setContent(`
+
+ Should wrap when no label exists and really long text exists to make it wrap the text
+
+ `);
+
+ const select = page.locator('ion-select');
+ await expect(select).toHaveScreenshot(`select-wrap-${page.getSnapshotSettings()}.png`);
+ });
+
+ test('should not wrap label while wrapping text with class', async ({ page, skip }) => {
+ skip.rtl();
+
+ await page.setContent(`
+
+ Really long label should not wrap
+
+ Should wrap value only when label exists and really long text exists to make it wrap the text
+
+
+ `);
+
+ const select = page.locator('ion-item');
+ await expect(select).toHaveScreenshot(`select-wrap-with-label-${page.getSnapshotSettings()}.png`);
+ });
+});
diff --git a/core/src/components/select/test/wrapping/select.e2e.ts b/core/src/components/select/test/wrapping/select.e2e.ts
index 1cf0e62..b0cb528 100644
--- a/core/src/components/select/test/wrapping/select.e2e.ts
+++ b/core/src/components/select/test/wrapping/select.e2e.ts
@@ -31,18 +31,13 @@ test.describe('select: wrapping', () => {
test('should not wrap label while wrapping text with class', async ({ page, skip }) => {
skip.rtl();
- // TODO(FW-3787) Make label a property of select
await page.setContent(`
-
- Really long label should not wrap
-
- Should wrap value only when label exists and really long text exists to make it wrap the text
-
-
-
+
+ Should wrap value only when label exists and really long text exists to make it wrap the text
+
`);
- const select = page.locator('ion-item');
+ const select = page.locator('ion-select');
await expect(select).toHaveScreenshot(`select-wrap-with-label-${page.getSnapshotSettings()}.png`);
});
});
",1,"[""317f4eefecddfb1392ca71d551840f446feee302""]","[""test""]"
add a branch name to Slack notifications (#14793),"diff --git a/.circleci/config.yml b/.circleci/config.yml
index d0c7bd1..cd5d2cc 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -50,7 +50,7 @@ step-maybe-notify-slack-failure: &step-maybe-notify-slack-failure
name: Send a Slack notification on failure
command: |
if [ ""$NOTIFY_SLACK"" == ""true"" ]; then
- export MESSAGE=""Build failed for *<$CIRCLE_BUILD_URL|$CIRCLE_JOB>* nightly build.""
+ export MESSAGE=""Build failed for *<$CIRCLE_BUILD_URL|$CIRCLE_JOB>* nightly build from *$CIRCLE_BRANCH*.""
curl -g -H ""Content-Type: application/json"" -X POST \
-d ""{\""text\"": \""$MESSAGE\"", \""attachments\"": [{\""color\"": \""#FC5C3C\"",\""title\"": \""$CIRCLE_JOB nightly build results\"",\""title_link\"": \""$CIRCLE_BUILD_URL\""}]}"" $SLACK_WEBHOOK
fi
@@ -61,7 +61,7 @@ step-maybe-notify-slack-success: &step-maybe-notify-slack-success
name: Send a Slack notification on success
command: |
if [ ""$NOTIFY_SLACK"" == ""true"" ]; then
- export MESSAGE=""Build succeeded for *<$CIRCLE_BUILD_URL|$CIRCLE_JOB>* nightly build.""
+ export MESSAGE=""Build succeeded for *<$CIRCLE_BUILD_URL|$CIRCLE_JOB>* nightly build from *$CIRCLE_BRANCH*.""
curl -g -H ""Content-Type: application/json"" -X POST \
-d ""{\""text\"": \""$MESSAGE\"", \""attachments\"": [{\""color\"": \""good\"",\""title\"": \""$CIRCLE_JOB nightly build results\"",\""title_link\"": \""$CIRCLE_BUILD_URL\""}]}"" $SLACK_WEBHOOK
fi
diff --git a/vsts.yml b/vsts.yml
index c02d13a..2e72426 100644
--- a/vsts.yml
+++ b/vsts.yml
@@ -128,7 +128,7 @@ jobs:
- bash: |
export BUILD_URL=""${SYSTEM_TEAMFOUNDATIONCOLLECTIONURI}${SYSTEM_TEAMPROJECT}/_build/results?buildId=${BUILD_BUILDID}""
- export MESSAGE=""Build failed for *<$BUILD_URL|$BUILD_DEFINITIONNAME>* nightly build.""
+ export MESSAGE=""Build failed for *<$BUILD_URL|$BUILD_DEFINITIONNAME>* nightly build from *$BUILD_SOURCEBRANCHNAME*.""
curl -g -H ""Content-Type: application/json"" -X POST \
-d ""{\""text\"": \""$MESSAGE\"", \""attachments\"": [{\""color\"": \""#FC5C3C\"",\""title\"": \""$BUILD_DEFINITIONNAME nightly build results\"",\""title_link\"": \""$BUILD_URL\""}]}"" $(slack_webhook)
displayName: 'Post Slack Notification on Failure'
@@ -136,7 +136,7 @@ jobs:
- bash: |
export BUILD_URL=""${SYSTEM_TEAMFOUNDATIONCOLLECTIONURI}${SYSTEM_TEAMPROJECT}/_build/results?buildId=${BUILD_BUILDID}""
- export MESSAGE=""Build succeeded for *<$BUILD_URL|$BUILD_DEFINITIONNAME>* nightly build.""
+ export MESSAGE=""Build succeeded for *<$BUILD_URL|$BUILD_DEFINITIONNAME>* nightly build from *$BUILD_SOURCEBRANCHNAME*.""
curl -g -H ""Content-Type: application/json"" -X POST \
-d ""{\""text\"": \""$MESSAGE\"", \""attachments\"": [{\""color\"": \""good\"",\""title\"": \""$BUILD_DEFINITIONNAME nightly build results\"",\""title_link\"": \""$BUILD_URL\""}]}"" $(slack_webhook)
displayName: 'Post Slack Notification on Success'
",1,"[""c5fa7b80438fbd74f4c341f0d3c9bd9e0f4910da""]","[""cicd""]"
increment failing test retries,"diff --git a/.ci/scripts/distribution/it-java.sh b/.ci/scripts/distribution/it-java.sh
index 679674b..ee150c2 100755
--- a/.ci/scripts/distribution/it-java.sh
+++ b/.ci/scripts/distribution/it-java.sh
@@ -5,7 +5,7 @@ export JAVA_TOOL_OPTIONS=""$JAVA_TOOL_OPTIONS -XX:MaxRAMFraction=$((LIMITS_CPU))""
tmpfile=$(mktemp)
-mvn -o -B --fail-never -T$LIMITS_CPU -s ${MAVEN_SETTINGS_XML} verify -P skip-unstable-ci,parallel-tests -pl qa/integration-tests -pl upgrade-tests -DtestMavenId=2 -Dsurefire.rerunFailingTestsCount=5 | tee ${tmpfile}
+mvn -o -B --fail-never -T$LIMITS_CPU -s ${MAVEN_SETTINGS_XML} verify -P skip-unstable-ci,parallel-tests -pl qa/integration-tests -pl upgrade-tests -DtestMavenId=2 -Dsurefire.rerunFailingTestsCount=7 | tee ${tmpfile}
status=${PIPESTATUS[0]}
diff --git a/.ci/scripts/distribution/test-java.sh b/.ci/scripts/distribution/test-java.sh
index 43e4947..768c965 100755
--- a/.ci/scripts/distribution/test-java.sh
+++ b/.ci/scripts/distribution/test-java.sh
@@ -4,7 +4,7 @@ export JAVA_TOOL_OPTIONS=""$JAVA_TOOL_OPTIONS -XX:MaxRAMFraction=$((LIMITS_CPU))""
tmpfile=$(mktemp)
-mvn -o -B --fail-never -T$LIMITS_CPU -s ${MAVEN_SETTINGS_XML} verify -P skip-unstable-ci,parallel-tests -Dzeebe.it.skip -DtestMavenId=1 -Dsurefire.rerunFailingTestsCount=5 | tee ${tmpfile}
+mvn -o -B --fail-never -T$LIMITS_CPU -s ${MAVEN_SETTINGS_XML} verify -P skip-unstable-ci,parallel-tests -Dzeebe.it.skip -DtestMavenId=1 -Dsurefire.rerunFailingTestsCount=7 | tee ${tmpfile}
status=${PIPESTATUS[0]}
diff --git a/.ci/scripts/distribution/test-java8.sh b/.ci/scripts/distribution/test-java8.sh
index d56cccb..0f20f95 100755
--- a/.ci/scripts/distribution/test-java8.sh
+++ b/.ci/scripts/distribution/test-java8.sh
@@ -6,7 +6,7 @@ mvn -v
tmpfile=$(mktemp)
-mvn -o -B --fail-never -T$LIMITS_CPU -s ${MAVEN_SETTINGS_XML} verify -pl clients/java -DtestMavenId=3 -Dsurefire.rerunFailingTestsCount=5 | tee ${tmpfile}
+mvn -o -B --fail-never -T$LIMITS_CPU -s ${MAVEN_SETTINGS_XML} verify -pl clients/java -DtestMavenId=3 -Dsurefire.rerunFailingTestsCount=7 | tee ${tmpfile}
status=${PIPESTATUS[0]}
",1,"[""e7a67d88173566be3cd3aed7e9eeb7e29aabbc57""]","[""cicd""]"
print errors without stacktrace,"diff --git a/website/api/auth/index.js b/website/api/auth/index.js
index c2f1f8b..87ab9b6 100644
--- a/website/api/auth/index.js
+++ b/website/api/auth/index.js
@@ -36,13 +36,19 @@ module.exports = async function (context, req) {
redirect(context, segment, tokens, '');
} catch (error) {
+ if (!error.stack) {
+ redirect(context, segment, tokens, toBase64(error));
+ return;
+ }
context.log(`Error: ${error.stack}`);
- let buff = Buffer.from(error.stack);
- let message = buff.toString('base64');
- redirect(context, segment, tokens, message);
+ redirect(context, segment, tokens, toBase64(error.stack));
}
}
+function toBase64(str) {
+ return Buffer.from(str).toString('base64');
+}
+
function redirect(context, segment, tokens, error) {
const url = `${process.env['DOCS_LOCATION']}/docs/auth?segment=${segment}&access_token=${tokens.access_token}&refresh_token=${tokens.refresh_token}&expires_in=${tokens.expires_in}&error=${error}`;
context.res = {
",1,"[""d129eaf9125a967ac86c6c7276bbae6b4d50af36""]","[""fix""]"
"assist build
Signed-off-by: rjshrjndrn ","diff --git a/scripts/helmcharts/build_deploy.sh b/scripts/helmcharts/build_deploy.sh
index 4a484f2..f9f8f9f 100644
--- a/scripts/helmcharts/build_deploy.sh
+++ b/scripts/helmcharts/build_deploy.sh
@@ -24,7 +24,7 @@ echo $DOCKER_REPO
docker login $DOCKER_REPO
cd ../../backend
bash build.sh $@
- cd ../../assist-stats/
+ cd ../assist-stats/
bash build.sh $@
cd ../assist
bash build.sh $@
diff --git a/scripts/helmcharts/build_deploy_parallel.sh b/scripts/helmcharts/build_deploy_parallel.sh
index 47ada0c..cb4e3f4 100644
--- a/scripts/helmcharts/build_deploy_parallel.sh
+++ b/scripts/helmcharts/build_deploy_parallel.sh
@@ -15,7 +15,7 @@ export PUSH_IMAGE=1
export AWS_DEFAULT_REGION=""eu-central-1""
export SIGN_KEY=""awskms:///alias/openreplay-container-sign""
echo $DOCKER_REPO
-[[ -z DOCKER_REPO ]] && {
+[[ -z $DOCKER_REPO ]] && {
echo Set DOCKER_REPO=""your docker registry""
exit 1
} || {
@@ -30,7 +30,8 @@ echo $DOCKER_REPO
tmux split-window ""cd ../../sourcemap-reader && IMAGE_TAG=$IMAGE_TAG DOCKER_REPO=$DOCKER_REPO PUSH_IMAGE=1 bash build.sh $@""
tmux split-window ""cd ../../api && IMAGE_TAG=$IMAGE_TAG DOCKER_REPO=$DOCKER_REPO PUSH_IMAGE=1 bash build.sh $@ \
&& IMAGE_TAG=$IMAGE_TAG DOCKER_REPO=$DOCKER_REPO PUSH_IMAGE=1 bash build_alerts.sh $@ \
- && IMAGE_TAG=$IMAGE_TAG DOCKER_REPO=$DOCKER_REPO PUSH_IMAGE=1 bash build_crons.sh $@""
+ && IMAGE_TAG=$IMAGE_TAG DOCKER_REPO=$DOCKER_REPO PUSH_IMAGE=1 bash build_crons.sh $@ \
+ && cd ../assist-stats && IMAGE_TAG=$IMAGE_TAG DOCKER_REPO=$DOCKER_REPO PUSH_IMAGE=1 bash build.sh $@""
tmux select-layout tiled
}
",1,"[""1269431c8a3e7549f10fcbbb4b88ff625c8898b3""]","[""build""]"
export a modal transition preset,"diff --git a/packages/stack/src/TransitionConfigs/TransitionPresets.tsx b/packages/stack/src/TransitionConfigs/TransitionPresets.tsx
index f1066a1..ae93dca 100644
--- a/packages/stack/src/TransitionConfigs/TransitionPresets.tsx
+++ b/packages/stack/src/TransitionConfigs/TransitionPresets.tsx
@@ -79,3 +79,8 @@ export const DefaultTransition = Platform.select({
? FadeFromBottomAndroid
: WipeFromBottomAndroid,
});
+
+export const ModalTransition = Platform.select({
+ ios: ModalSlideFromBottomIOS,
+ default: DefaultTransition,
+});
diff --git a/packages/stack/src/views/Stack/Stack.tsx b/packages/stack/src/views/Stack/Stack.tsx
index cf1719c..47c1abf 100755
--- a/packages/stack/src/views/Stack/Stack.tsx
+++ b/packages/stack/src/views/Stack/Stack.tsx
@@ -14,7 +14,7 @@ import { Props as HeaderContainerProps } from '../Header/HeaderContainer';
import StackItem from './StackItem';
import {
DefaultTransition,
- ModalSlideFromBottomIOS,
+ ModalTransition,
} from '../../TransitionConfigs/TransitionPresets';
import { forNoAnimation } from '../../TransitionConfigs/HeaderStyleInterpolators';
import {
@@ -301,9 +301,7 @@ export default class Stack extends React.Component {
const focusedOptions = descriptors[focusedRoute.key].options;
let defaultTransitionPreset =
- mode === 'modal' && Platform.OS === 'ios'
- ? ModalSlideFromBottomIOS
- : DefaultTransition;
+ mode === 'modal' ? ModalTransition : DefaultTransition;
if (headerMode === 'screen') {
defaultTransitionPreset = {
",1,"[""535708ae50aecb452560a23356fd396f99ef13a2""]","[""refactor""]"
"add hardware back button
Closes #5071","diff --git a/ionic/components/app/app.ts b/ionic/components/app/app.ts
index 04d8c57..08aab92 100644
--- a/ionic/components/app/app.ts
+++ b/ionic/components/app/app.ts
@@ -3,8 +3,7 @@ import {Title} from 'angular2/platform/browser';
import {Config} from '../../config/config';
import {ClickBlock} from '../../util/click-block';
-import {Nav} from '../nav/nav';
-import {Tabs} from '../tabs/tabs';
+import {Platform} from '../../platform/platform';
/**
@@ -23,8 +22,20 @@ export class IonicApp {
constructor(
private _config: Config,
- private _clickBlock: ClickBlock
- ) {}
+ private _clickBlock: ClickBlock,
+ platform: Platform
+ ) {
+ platform.backButton.subscribe(() => {
+ let activeNav = this.getActiveNav();
+ if (activeNav) {
+ if (activeNav.length() === 1) {
+ platform.exitApp();
+ } else {
+ activeNav.pop();
+ }
+ }
+ });
+ }
/**
* Sets the document title.
@@ -102,7 +113,7 @@ export class IonicApp {
/**
* @private
*/
- getActiveNav(): Nav | Tabs {
+ getActiveNav(): any {
var nav = this._rootNav || null;
var activeChildNav;
",1,"[""68278b00450f2679761a2999500f6d87a579376b""]","[""feat""]"
publish sdks after docs/build,"diff --git a/.circleci/config.yml b/.circleci/config.yml
index 4ac01cf..cfea1ae 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -213,6 +213,7 @@ workflows:
- test-e2e-mysql
- test-e2e-cockroach
- test-e2e-plugin
+ - docs/build
# - test-legacy-migrations-mysql
# - test-legacy-migrations-cockroach
filters:
@@ -246,6 +247,7 @@ workflows:
- golangci/lint
- sdk/generate
- goreleaser/release
+ - docs/build
filters:
tags:
only: /.*/
",1,"[""6c9cb638cb4d1ecc42632fcf389c24898c5b3244""]","[""cicd""]"
fixed docker link tests,"diff --git a/pipeline/docker/docker_test.go b/pipeline/docker/docker_test.go
index 2be176f..b43c12b 100644
--- a/pipeline/docker/docker_test.go
+++ b/pipeline/docker/docker_test.go
@@ -271,7 +271,7 @@ func TestLinkDirectory(t *testing.T) {
t.Log(""Cannot setup test file"")
t.Fail()
}
- err = directoryLink(srcDir, dstDir, nil)
+ err = link(srcDir, dstDir)
if err != nil {
t.Log(""Failed to link: "", err)
t.Fail()
@@ -304,7 +304,7 @@ func TestLinkTwoLevelDirectory(t *testing.T) {
t.Log(""Cannot setup test file"")
t.Fail()
}
- err = directoryLink(srcDir, dstDir, nil)
+ err = link(srcDir, dstDir)
if err != nil {
t.Log(""Failed to link: "", err)
t.Fail()
",1,"[""c7b25726df94a2530c9b1c0d2b6a0acaa103822f""]","[""test""]"
"terminated tasks linger for a bit
Signed-off-by: Eliza Weisman ","diff --git a/console/src/main.rs b/console/src/main.rs
index ebfa315..5328d96 100644
--- a/console/src/main.rs
+++ b/console/src/main.rs
@@ -69,6 +69,7 @@ async fn main() -> Result<(), Box> {
.wrap(Wrap { trim: true });
f.render_widget(header, chunks[0]);
tasks.render(f, chunks[1]);
+ tasks.retain_active();
})?;
}
diff --git a/console/src/tasks.rs b/console/src/tasks.rs
index 7be39a4..eb41495 100644
--- a/console/src/tasks.rs
+++ b/console/src/tasks.rs
@@ -19,6 +19,7 @@ struct Task {
fields: String,
kind: &'static str,
stats: Stats,
+ completed_for: usize,
}
#[derive(Default, Debug)]
@@ -28,10 +29,15 @@ struct Stats {
idle: Duration,
total: Duration,
}
+
impl State {
+ // How many updates to retain completed tasks for
+ const RETAIN_COMPLETED_FOR: usize = 6;
+
pub(crate) fn len(&self) -> usize {
self.tasks.len()
}
+
pub(crate) fn update(&mut self, update: proto::tasks::TaskUpdate) {
let new_tasks = update.new_tasks.into_iter().filter_map(|task| {
if task.id.is_none() {
@@ -48,6 +54,7 @@ impl State {
fields: task.string_fields,
kind,
stats: Default::default(),
+ completed_for: 0,
};
Some((id, task))
});
@@ -60,7 +67,10 @@ impl State {
}
for proto::SpanId { id } in update.completed {
- if self.tasks.remove(&id).is_none() {
+ if let Some(task) = self.tasks.get_mut(&id) {
+ task.kind = ""!"";
+ task.completed_for = 1;
+ } else {
tracing::warn!(?id, ""tried to complete a task that didn't exist"");
}
}
@@ -79,7 +89,7 @@ impl State {
const DUR_PRECISION: usize = 4;
const POLLS_LEN: usize = 5;
let rows = self.tasks.values().map(|task| {
- let row = Row::new(vec![
+ let mut row = Row::new(vec![
Cell::from(task.id_hex.as_str()),
// TODO(eliza): is there a way to write a `fmt::Debug` impl
// directly to tui without doing an allocation?
@@ -105,6 +115,9 @@ impl State {
Cell::from(format!(""{:>width$}"", task.stats.polls, width = POLLS_LEN)),
Cell::from(task.fields.as_str()),
]);
+ if task.completed_for > 0 {
+ row = row.style(Style::default().add_modifier(style::Modifier::DIM));
+ }
row
});
let t = Table::new(rows)
@@ -126,6 +139,16 @@ impl State {
frame.render_widget(t, area)
}
+
+ pub(crate) fn retain_active(&mut self) {
+ self.tasks.retain(|_, task| {
+ if task.completed_for == 0 {
+ return true;
+ }
+ task.completed_for += 1;
+ task.completed_for <= Self::RETAIN_COMPLETED_FOR
+ })
+ }
}
impl From for Stats {
",1,"[""1bcf88670b50155b50071e707f98f30cea0b7a24""]","[""feat""]"
"upgrade to Flux v0.42.0
Skips a test that requires special dependencies to pass.","diff --git a/go.mod b/go.mod
index ea705da..8c352f7 100644
--- a/go.mod
+++ b/go.mod
@@ -38,7 +38,7 @@ require (
github.com/hashicorp/go-msgpack v0.0.0-20150518234257-fa3f63826f7c // indirect
github.com/hashicorp/raft v1.0.0 // indirect
github.com/hashicorp/vault/api v1.0.2
- github.com/influxdata/flux v0.41.0
+ github.com/influxdata/flux v0.42.0
github.com/influxdata/influxql v0.0.0-20180925231337-1cbfca8e56b6
github.com/influxdata/usage-client v0.0.0-20160829180054-6d3895376368
github.com/jessevdk/go-flags v1.4.0
diff --git a/go.sum b/go.sum
index 4bfdf4c..634a0f1 100644
--- a/go.sum
+++ b/go.sum
@@ -206,8 +206,8 @@ github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NH
github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
github.com/influxdata/changelog v1.0.0 h1:RstJD6H48zLQj0GdE6E6k/6RPwtUjkyzIe/T1E/xuWU=
github.com/influxdata/changelog v1.0.0/go.mod h1:uzpGWE/qehT8L426YuXwpMQub+a63vIINhIeEI9mnSM=
-github.com/influxdata/flux v0.41.0 h1:ljbWJmE+aNx8Yoqhb04gWC4sXMV87eYUxz5vjYphLLs=
-github.com/influxdata/flux v0.41.0/go.mod h1:QvF9P06HFgYKD28Z556rFLJ0D0bvtcgEtkFALteZ4Lo=
+github.com/influxdata/flux v0.42.0 h1:2iEG6hLHdHEJ6LgD8OSnlHS9yoVrLO1/aM4P9ERb94U=
+github.com/influxdata/flux v0.42.0/go.mod h1:QvF9P06HFgYKD28Z556rFLJ0D0bvtcgEtkFALteZ4Lo=
github.com/influxdata/goreleaser v0.97.0-influx h1:jT5OrcW7WfS0e2QxfwmTBjhLvpIC9CDLRhNgZJyhj8s=
github.com/influxdata/goreleaser v0.97.0-influx/go.mod h1:MnjA0e0Uq6ISqjG1WxxMAl+3VS1QYjILSWVnMYDxasE=
github.com/influxdata/influxql v0.0.0-20180925231337-1cbfca8e56b6 h1:CFx+pP90q/qg3spoiZjf8donE4WpAdjeJfPOcoNqkWo=
diff --git a/query/stdlib/testing/testing.go b/query/stdlib/testing/testing.go
index d41574a..85b0673 100644
--- a/query/stdlib/testing/testing.go
+++ b/query/stdlib/testing/testing.go
@@ -98,4 +98,6 @@ var FluxEndToEndSkipList = map[string]string{
""http_endpoint"": ""need ability to test side effects in e2e tests: (https://github.com/influxdata/flux/issues/1723)"",
""holt_winters_panic"": ""Expected output is an empty table which breaks the testing framework (https://github.com/influxdata/influxdb/issues/14749)"",
+
+ ""secrets"": ""Cannot inject custom deps into the test framework so the secrets don't lookup correctly"",
}
",1,"[""454003841aabeb74396d73541378bfa59c75b5db""]","[""build""]"
"only run Snyk once a day on master
Signed-off-by: Alex Collins ","diff --git a/.github/workflows/snyk.yml b/.github/workflows/snyk.yml
index 675a22b..a4586d0 100644
--- a/.github/workflows/snyk.yml
+++ b/.github/workflows/snyk.yml
@@ -1,5 +1,7 @@
name: Snyk
-on: push
+on:
+ schedule:
+ - cron: ""30 2 * * *""
jobs:
security:
runs-on: ubuntu-latest
",1,"[""dbb537a26e388a8d7d17faf131abc30c2f7a84e6""]","[""cicd""]"
Fix typo,"diff --git a/README.md b/README.md
index a8ef3bf..2947cd9 100644
--- a/README.md
+++ b/README.md
@@ -69,7 +69,7 @@ Follow the instructions on the `rustup` site for your operating system.
[`rustup`]: https://rustup.rs/
-By default, `rustup` will install the latest stable verison of Rust. InfluxDB IOx is currently
+By default, `rustup` will install the latest stable version of Rust. InfluxDB IOx is currently
using a nightly version of Rust to get performance benefits from the unstable `simd` feature. The
exact nightly version is specified in the `rust-toolchain` file. When you're in the directory
containing this repository's code, `rustup` will look in the `rust-toolchain` file and
",1,"[""bf83c9155e9bee6925aa7102fab53fb803d52533""]","[""docs""]"
add getter for protocol id,"diff --git a/transport/src/main/java/org/camunda/tngp/transport/protocol/TransportHeaderDescriptor.java b/transport/src/main/java/org/camunda/tngp/transport/protocol/TransportHeaderDescriptor.java
index ad0015f..68624d8 100644
--- a/transport/src/main/java/org/camunda/tngp/transport/protocol/TransportHeaderDescriptor.java
+++ b/transport/src/main/java/org/camunda/tngp/transport/protocol/TransportHeaderDescriptor.java
@@ -50,4 +50,9 @@ public class TransportHeaderDescriptor
return this;
}
+ public int protocolId()
+ {
+ return buffer.getShort(PROTOCOL_ID_OFFSET);
+ }
+
}
",1,"[""dc5238b2bda98a7c4f2fe9584fc3b0191a408109""]","[""feat""]"
remove ubuntu-latest from job title where that is the only os,"diff --git a/.github/workflows/ibis-backends.yml b/.github/workflows/ibis-backends.yml
index 4dea4c9..006290a 100644
--- a/.github/workflows/ibis-backends.yml
+++ b/.github/workflows/ibis-backends.yml
@@ -122,7 +122,7 @@ jobs:
path: junit.xml
test_postgres:
- name: PostgreSQL ubuntu-latest deps-${{ (matrix.deps && """") || ""un"" }}bounded python-${{ matrix.python-version }}
+ name: PostgreSQL deps-${{ (matrix.deps && """") || ""un"" }}bounded python-${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
@@ -204,7 +204,7 @@ jobs:
path: junit.xml
test_pyspark:
- name: PySpark ${{ matrix.pyspark.version }} ubuntu-latest python-${{ matrix.python-version }}
+ name: PySpark ${{ matrix.pyspark.version }} python-${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
@@ -279,7 +279,7 @@ jobs:
path: junit.xml
test_impala:
- name: Impala ubuntu-latest python-${{ matrix.python-version }}
+ name: Impala python-${{ matrix.python-version }}
runs-on: ubuntu-latest
env:
IBIS_TEST_NN_HOST: localhost
@@ -386,7 +386,7 @@ jobs:
path: junit.xml
test_mysql_clickhouse:
- name: ${{ matrix.backend.title }} ubuntu-latest python-${{ matrix.python-version }}
+ name: ${{ matrix.backend.title }} python-${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
@@ -460,7 +460,7 @@ jobs:
path: junit.xml
test_datafusion:
- name: DataFusion ${{ matrix.datafusion-version }} ubuntu-latest python-${{ matrix.python-version }}
+ name: DataFusion ${{ matrix.datafusion-version }} python-${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
",1,"[""74e9de5ec97dc013a52aa063dff0f40ac74c407b""]","[""cicd""]"
ensure checksum persist flushes to disk,"diff --git a/snapshot/src/test/java/io/camunda/zeebe/snapshots/impl/SnapshotChecksumTest.java b/snapshot/src/test/java/io/camunda/zeebe/snapshots/impl/SnapshotChecksumTest.java
index eed9424..a1ae702 100644
--- a/snapshot/src/test/java/io/camunda/zeebe/snapshots/impl/SnapshotChecksumTest.java
+++ b/snapshot/src/test/java/io/camunda/zeebe/snapshots/impl/SnapshotChecksumTest.java
@@ -10,6 +10,10 @@ package io.camunda.zeebe.snapshots.impl;
import static org.assertj.core.api.Assertions.assertThat;
import io.camunda.zeebe.snapshots.ImmutableChecksumsSFV;
+import io.camunda.zeebe.test.util.STracer;
+import io.camunda.zeebe.test.util.STracer.Syscall;
+import io.camunda.zeebe.test.util.asserts.strace.FSyncTraceAssert;
+import io.camunda.zeebe.test.util.asserts.strace.STracerAssert;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.IOException;
@@ -124,6 +128,28 @@ public class SnapshotChecksumTest {
}
@Test
+ public void shouldFlushOnPersist() throws Exception {
+ // given
+ final var traceFile = temporaryFolder.newFile().toPath();
+ final var expectedChecksum = SnapshotChecksum.calculate(multipleFileSnapshot);
+ final var checksumPath = multipleFileSnapshot.resolveSibling(""checksum"");
+ final var tracer = STracer.traceFor(Syscall.FSYNC, traceFile);
+
+ // when
+ try (tracer) {
+ SnapshotChecksum.persist(checksumPath, expectedChecksum);
+ }
+
+ // then
+ STracerAssert.assertThat(tracer)
+ .fsyncTraces()
+ .hasSize(1)
+ .first(FSyncTraceAssert.factory())
+ .hasPath(checksumPath)
+ .isSuccessful();
+ }
+
+ @Test
public void shouldDetectCorruptedSnapshot() throws IOException {
// given
final var expectedChecksum = SnapshotChecksum.calculate(corruptedSnapshot);
",1,"[""b7ce2894fd1794064bd6db4ed730bb6cb7728739""]","[""test""]"
updated react demo parcel command,"diff --git a/demo/react/package.json b/demo/react/package.json
index be28bf9..32d0952 100644
--- a/demo/react/package.json
+++ b/demo/react/package.json
@@ -12,7 +12,7 @@
},
""scripts"": {
""start"": ""parcel serve public/index.html --no-cache --open"",
- ""build"": ""parcel build -t browser -d dist public/index.html --no-source-maps""
+ ""build"": ""parcel build --target browser --dist-dir dist public/index.html --no-source-maps""
},
""bugs"": {
""url"": ""https://github.com/matteobruni/tsparticles/issues""
",1,"[""32b92cfa0b74a6c25990e32ac6aab12b8496794c""]","[""build""]"
autostart feature fixed,"diff --git a/core/editor/src/ts/Sections/Options/Interactivity/Modes/ModesOptionsEditor.ts b/core/editor/src/ts/Sections/Options/Interactivity/Modes/ModesOptionsEditor.ts
index 8017a14..24ed3d0 100644
--- a/core/editor/src/ts/Sections/Options/Interactivity/Modes/ModesOptionsEditor.ts
+++ b/core/editor/src/ts/Sections/Options/Interactivity/Modes/ModesOptionsEditor.ts
@@ -3,7 +3,6 @@ import type { IModes } from ""tsparticles/dist/Options/Interfaces/Interactivity/M
import { ColorUtils, EditorGroup, IHsl, IRgb, EditorType } from ""object-gui"";
import { EditorBase } from ""../../../../EditorBase"";
import { ParticlesOptionsEditor } from ""../../Particles/ParticlesOptionsEditor"";
-import { IParticles } from ""tsparticles/dist/Options/Interfaces/Particles/IParticles"";
export class ModesOptionsEditor extends EditorBase {
public group!: EditorGroup;
diff --git a/core/editor/src/ts/Sections/Options/Particles/Stroke/StrokeOptionsEditor.ts b/core/editor/src/ts/Sections/Options/Particles/Stroke/StrokeOptionsEditor.ts
index 8cdc539..c3999f3 100644
--- a/core/editor/src/ts/Sections/Options/Particles/Stroke/StrokeOptionsEditor.ts
+++ b/core/editor/src/ts/Sections/Options/Particles/Stroke/StrokeOptionsEditor.ts
@@ -1,7 +1,6 @@
import { Container } from ""tsparticles/dist/Core/Container"";
import { IStroke } from ""tsparticles/dist/Options/Interfaces/Particles/IStroke"";
import { ColorOptionsEditor } from ""../Color/ColorOptionsEditor"";
-import { IAnimatableColor } from ""tsparticles/dist/Options/Interfaces/Particles/IAnimatableColor"";
import { EditorGroup, SingleOrMultiple, EditorType } from ""object-gui"";
import { EditorBase } from ""../../../../EditorBase"";
diff --git a/core/main/src/Core/Container.ts b/core/main/src/Core/Container.ts
index bc634f2..7c3773b 100644
--- a/core/main/src/Core/Container.ts
+++ b/core/main/src/Core/Container.ts
@@ -309,7 +309,7 @@ export class Container {
return;
}
- this.firstStart = false;
+ this.firstStart = true;
this.started = false;
this.eventListeners.removeListeners();
this.pause();
",1,"[""bed78248c941d57ad4cc20a455147e186e97c7a1""]","[""fix""]"
"Adjust test scenario
With the new version of the FEEL engine, a non-existing variable results in `null`. Previously, the evaluation failed
with an error.
To keep the semantics of the test cases, create the incident by failing the job.","diff --git a/engine/src/test/java/io/camunda/zeebe/engine/state/ProcessExecutionCleanStateTest.java b/engine/src/test/java/io/camunda/zeebe/engine/state/ProcessExecutionCleanStateTest.java
index c0a3472..6a9389b 100644
--- a/engine/src/test/java/io/camunda/zeebe/engine/state/ProcessExecutionCleanStateTest.java
+++ b/engine/src/test/java/io/camunda/zeebe/engine/state/ProcessExecutionCleanStateTest.java
@@ -759,7 +759,7 @@ public final class ProcessExecutionCleanStateTest {
.withXmlResource(
Bpmn.createExecutableProcess(PROCESS_ID)
.startEvent()
- .serviceTask(""task"", t -> t.zeebeJobType(""test"").zeebeOutputExpression(""x"", ""y""))
+ .serviceTask(""task"", t -> t.zeebeJobType(""test""))
.endEvent()
.done())
.deploy();
@@ -768,7 +768,7 @@ public final class ProcessExecutionCleanStateTest {
final var processInstanceKey =
engineRule.processInstance().ofBpmnProcessId(PROCESS_ID).create();
- engineRule.job().ofInstance(processInstanceKey).withType(""test"").complete();
+ engineRule.job().ofInstance(processInstanceKey).withType(""test"").withRetries(0).fail();
RecordingExporter.incidentRecords(IncidentIntent.CREATED)
.withProcessInstanceKey(processInstanceKey)
",1,"[""f411e58cd510f8a2b980b2f1932003a0c0e9f8f3""]","[""test""]"
"add numberOfLines prop to DataTableTitle (#863)
Closes #848","diff --git a/src/components/DataTable/DataTableTitle.js b/src/components/DataTable/DataTableTitle.js
index bfcf07e..d764fd5 100644
--- a/src/components/DataTable/DataTableTitle.js
+++ b/src/components/DataTable/DataTableTitle.js
@@ -27,6 +27,10 @@ type Props = React.ElementConfig & {|
*/
sortDirection?: 'ascending' | 'descending',
/**
+ * The number of lines to show.
+ */
+ numberOfLines?: number,
+ /**
* Function to execute on press.
*/
onPress?: () => mixed,
@@ -44,6 +48,10 @@ type State = {
class DataTableTitle extends React.Component {
static displayName = 'DataTable.Title';
+ static defaultProps = {
+ numberOfLines: 1,
+ };
+
state = {
spinAnim: new Animated.Value(
this.props.sortDirection === 'ascending' ? 0 : 1
@@ -70,6 +78,7 @@ class DataTableTitle extends React.Component {
sortDirection,
theme,
style,
+ numberOfLines,
...rest
} = this.props;
@@ -99,7 +108,7 @@ class DataTableTitle extends React.Component {
styles.cell,
sortDirection ? styles.sorted : { color: textColor },
]}
- numberOfLines={1}
+ numberOfLines={numberOfLines}
>
{children}
",1,"[""f9a094918b62534614c47aa8a13f33aec751a1e0""]","[""feat""]"
"added changelog pipe docs
Added the documentation to the new changelog pipe.
Refs #284","diff --git a/docs/115-release.md b/docs/115-release.md
index 21c670a..cb893ef 100644
--- a/docs/115-release.md
+++ b/docs/115-release.md
@@ -34,6 +34,22 @@ release:
name_template: ""{{.ProjectName}}-v{{.Version}}""
```
+## Customize the changelog
+
+You can customize how the changelog is generated using the
+`changelog` section in the config file:
+
+```yaml
+# .goreleaser.yml
+changelog:
+ filters:
+ # commit messages containing the words listed here will be removed from
+ # the changelog
+ exclude:
+ - docs
+ - typo
+```
+
## Custom release notes
You can specify a file containing your custom release notes, and
@@ -42,8 +58,10 @@ GoReleaser will then skip its own release notes generation,
using the contents of your file instead.
You can use Markdown to format the contents of your file.
-On Unix systems you can also generate the release notes in-line by using [process substitution](https://en.wikipedia.org/wiki/Process_substitution).
-To list all commits since the last tag, but skip ones starting with `Merge` or `docs`, you could run this command:
+On Unix systems you can also generate the release notes in-line by using
+[process substitution](https://en.wikipedia.org/wiki/Process_substitution).
+To list all commits since the last tag, but skip ones starting with `Merge` or
+`docs`, you could run this command:
```sh
goreleaser --release-notes <(git log --pretty=oneline --abbrev-commit $(git describe --tags --abbrev=0)^.. | grep -v '^[^ ]* \(Merge\|docs\)')
",1,"[""aca23027da1295c78fdf42ba9687d8ccc88784d7""]","[""docs""]"
"docker PG version upgrade
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>","diff --git a/packages/nocodb/docker-compose.yml b/packages/nocodb/docker-compose.yml
index 7fabf79..ba2ab7b 100644
--- a/packages/nocodb/docker-compose.yml
+++ b/packages/nocodb/docker-compose.yml
@@ -1,4 +1,4 @@
-version: ""2.1""
+version: ""2.2""
services:
# db55:
@@ -96,8 +96,8 @@ services:
# - 5495:5432
# volumes:
# - ./pg-sakila-db:/docker-entrypoint-initdb.d
- pg96:
- image: postgres:9.6
+ pg147:
+ image: postgres:14.7
restart: always
environment:
POSTGRES_PASSWORD: password
diff --git a/tests/playwright/scripts/docker-compose-pg-pw-quick.yml b/tests/playwright/scripts/docker-compose-pg-pw-quick.yml
index 19dfab2..97d346b 100644
--- a/tests/playwright/scripts/docker-compose-pg-pw-quick.yml
+++ b/tests/playwright/scripts/docker-compose-pg-pw-quick.yml
@@ -1,8 +1,8 @@
-version: ""2.1""
+version: ""2.2""
services:
- pg96:
- image: postgres:9.6
+ pg147:
+ image: postgres:14.7
restart: always
environment:
POSTGRES_PASSWORD: password
diff --git a/tests/playwright/scripts/docker-compose-pg.yml b/tests/playwright/scripts/docker-compose-pg.yml
index 0396579..9fab10e 100644
--- a/tests/playwright/scripts/docker-compose-pg.yml
+++ b/tests/playwright/scripts/docker-compose-pg.yml
@@ -1,8 +1,8 @@
-version: ""2.1""
+version: ""2.2""
services:
- pg96:
- image: postgres:9.6
+ pg147:
+ image: postgres:14.7
restart: always
environment:
POSTGRES_PASSWORD: password
",1,"[""37b1cbfd3d2c462ef4f2a131e4172c38dc8d9ddf""]","[""build""]"
support use meta key select multiple element,"diff --git a/packages/core/src/LogicFlow.tsx b/packages/core/src/LogicFlow.tsx
index ab68624..aeee7b7 100644
--- a/packages/core/src/LogicFlow.tsx
+++ b/packages/core/src/LogicFlow.tsx
@@ -277,9 +277,11 @@ export default class LogicFlow {
}
/**
* 将图形选中
+ * @param id 选择元素ID
+ * @param multiple 是否允许多选,如果为true,不会将上一个选中的元素重置
*/
- select(id: string) {
- this.graphModel.selectElementById(id);
+ select(id: string, multiple = false) {
+ this.graphModel.selectElementById(id, multiple);
}
/**
* 将图形定位到画布中心
diff --git a/packages/core/src/model/EditConfigModel.ts b/packages/core/src/model/EditConfigModel.ts
index 67e334a..83e5f16 100644
--- a/packages/core/src/model/EditConfigModel.ts
+++ b/packages/core/src/model/EditConfigModel.ts
@@ -25,6 +25,7 @@ const SilentConfig = {
edgeTextEdit: false,
nodeTextDraggable: false,
edgeTextDraggable: false,
+ metaKeyMultipleSelected: false,
};
/**
@@ -42,6 +43,7 @@ export default class EditConfigModel {
@observable edgeTextEdit = true; // 允许连线文本可以编辑
@observable nodeTextDraggable = false; // 允许节点文本可以拖拽
@observable edgeTextDraggable = false; // 允许连线文本可以拖拽
+ @observable metaKeyMultipleSelected = false; // 允许meta多选元素
constructor(data) {
const keys = [
'stopZoomGraph',
@@ -55,6 +57,7 @@ export default class EditConfigModel {
'edgeTextEdit',
'nodeTextDraggable',
'edgeTextDraggable',
+ 'metaKeyMultipleSelected',
];
const { isSilentMode, textEdit } = data;
if (isSilentMode) {
diff --git a/packages/core/src/model/GraphModel.ts b/packages/core/src/model/GraphModel.ts
index 9667f4d..310daf4 100644
--- a/packages/core/src/model/GraphModel.ts
+++ b/packages/core/src/model/GraphModel.ts
@@ -34,6 +34,7 @@ class GraphModel {
height: number;
topElement: BaseNodeModel | BaseEdgeModel; // 当前位于顶部的元素
selectElement: BaseNodeModel | BaseEdgeModel; // 当前位于顶部的元素
+ selectElements = new Map(); // 多选
@observable edgeType: string;
@observable nodes: BaseNodeModel[] = [];
@observable activeElement: IBaseModel;
@@ -50,7 +51,6 @@ class GraphModel {
@observable gridSize = 1;
@observable partial = false; // 是否开启局部渲染
@observable fakerNode: BaseNodeModel;
- // @observable selectElements = new Map(); // 多选还没有做,先不加
constructor(config) {
const {
container,
@@ -456,24 +456,44 @@ class GraphModel {
}
@action
- selectNodeById(id) {
- this.selectElement?.setSelected(false);
+ selectNodeById(id: string, multiple = false) {
+ if (!multiple) {
+ this.selectElement?.setSelected(false);
+ this.clearSelectElements();
+ }
this.selectElement = this.nodesMap[id]?.model;
this.selectElement?.setSelected(true);
+ this.selectElements.set(id, this.selectElement);
}
@action
- selectEdgeById(id) {
- this.selectElement?.setSelected(false);
+ selectEdgeById(id: string, multiple = false) {
+ if (!multiple) {
+ this.selectElement?.setSelected(false);
+ this.clearSelectElements();
+ }
this.selectElement = this.edgesMap[id]?.model;
this.selectElement?.setSelected(true);
+ this.selectElements.set(id, this.selectElement);
}
@action
- selectElementById(id: string) {
- this.selectElement?.setSelected(false);
+ selectElementById(id: string, multiple = false) {
+ if (!multiple) {
+ this.selectElement?.setSelected(false);
+ this.clearSelectElements();
+ }
this.selectElement = this.getElement(id) as BaseNodeModel | BaseEdgeModel;
this.selectElement?.setSelected(true);
+ this.selectElements.set(id, this.selectElement);
+ }
+
+ @action
+ clearSelectElements() {
+ this.selectElements.forEach(element => {
+ element.setSelected(false);
+ });
+ this.selectElements.clear();
}
/* 修改连线类型 */
diff --git a/packages/core/src/view/edge/BaseEdge.tsx b/packages/core/src/view/edge/BaseEdge.tsx
index d45ea9e..d7c8f38 100644
--- a/packages/core/src/view/edge/BaseEdge.tsx
+++ b/packages/core/src/view/edge/BaseEdge.tsx
@@ -178,7 +178,8 @@ export default class BaseEdge extends Component {
handleClick = (e) => {
const { model, graphModel, eventCenter } = this.props;
graphModel.toFront(model.id);
- graphModel.selectEdgeById(model.id);
+ const { editConfig: { metaKeyMultipleSelected } } = graphModel;
+ graphModel.selectEdgeById(model.id, e.metaKey && metaKeyMultipleSelected);
// 边数据
const edgeData = model?.getData();
const position = graphModel.getPointByClient({
diff --git a/packages/core/src/view/node/BaseNode.tsx b/packages/core/src/view/node/BaseNode.tsx
index 140889c..5ee3975 100644
--- a/packages/core/src/view/node/BaseNode.tsx
+++ b/packages/core/src/view/node/BaseNode.tsx
@@ -275,7 +275,8 @@ export default abstract class BaseNode extends Component {
}, 400);
}
graphModel.toFront(model.id);
- graphModel.selectNodeById(model.id);
+ const { editConfig: { metaKeyMultipleSelected } } = graphModel;
+ graphModel.selectNodeById(model.id, e.metaKey && metaKeyMultipleSelected);
this.preStartTime = this.startTime;
};
handleContextMenu = (ev: MouseEvent) => {
diff --git a/packages/core/src/view/overlay/CanvasOverlay.tsx b/packages/core/src/view/overlay/CanvasOverlay.tsx
index ef11822..8c79fd2 100644
--- a/packages/core/src/view/overlay/CanvasOverlay.tsx
+++ b/packages/core/src/view/overlay/CanvasOverlay.tsx
@@ -104,9 +104,9 @@ class CanvasOverlay extends Component {
const target = ev.target as HTMLElement;
if (target.getAttribute('name') === 'canvas-overlay') {
const { graphModel, eventCenter } = this.props;
- const { selectElement, textEditElement } = graphModel;
- if (selectElement) {
- selectElement.setSelected(false);
+ const { textEditElement, selectElements } = graphModel;
+ if (selectElements.size > 0) {
+ graphModel.clearSelectElements();
}
if (textEditElement) {
textEditElement.setElementState(ElementState.DEFAULT);
diff --git a/packages/extension/examples/bpmn/index.html b/packages/extension/examples/bpmn/index.html
index 7a68d6f..f7ea87d 100644
--- a/packages/extension/examples/bpmn/index.html
+++ b/packages/extension/examples/bpmn/index.html
@@ -6,6 +6,7 @@
LOGIN FLOW
+