Skip to content

Commit

Permalink
release 0.20
Browse files Browse the repository at this point in the history
  • Loading branch information
Pascal-Delange committed Sep 19, 2024
1 parent 86dad04 commit d2ecd84
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion api
Submodule api updated 67 files
+23 −0 .golangci.yml
+20 −7 .vscode/launch.json
+1 −2 .vscode/settings.json
+1 −1 Dockerfile
+5 −1 README.md
+31 −0 api/handle_cases.go
+8 −54 api/handle_datamodel.go
+10 −10 api/handle_decision.go
+2 −2 api/handle_scenario_iterations.go
+6 −30 api/handle_scenario_publications.go
+1 −1 api/handle_snoozes.go
+2 −2 api/routes.go
+0 −0 dto/api_key_dto.go
+9 −3 dto/case_dto.go
+6 −37 dto/custom_list_dto.go
+46 −59 dto/data_model_dto.go
+66 −59 dto/decision_dto.go
+5 −5 dto/dto_ast_node.go
+2 −2 dto/dto_ast_node_test.go
+2 −2 dto/func_attributes_dto.go
+7 −1 dto/openapi.go
+0 −13 dto/organization_dto.go
+9 −29 dto/rule_dto.go
+1 −1 dto/rule_snoozes.go
+39 −27 dto/scenario_iterations.go
+33 −9 dto/scenario_publications.go
+2 −2 dto/scenario_validation_dto.go
+7 −5 dto/scenarios.go
+3 −3 dto/upload_log_dto.go
+2 −2 dto/webhooks.go
+2 −2 go.mod
+2 −2 go.sum
+13 −7 integration_test/api_end_to_end_test.go
+2 −2 integration_test/batch_ingestion_and_execution_test.go
+1 −4 integration_test/generate_usecases.go
+34 −33 integration_test/scenario_flow_test.go
+1 −1 models/ast/evaluation_error_dto.go
+4 −4 models/ast/node_evaluation_dto.go
+7 −0 models/case.go
+6 −5 models/case_event.go
+18 −0 models/decision.go
+9 −13 models/outcome.go
+6 −6 models/scenario_iterations.go
+4 −4 models/scenario_publications.go
+6 −9 models/scenario_validation.go
+15 −0 models/webhook.go
+0 −1 repositories/analytics_views/decisions.sql
+2 −0 repositories/dbmodels/db_decision.go
+15 −12 repositories/dbmodels/db_scenario_iterations.go
+38 −4 repositories/decisions_repository.go
+24 −0 repositories/migrations/20240909134500_new_outcome_block_and_review.sql
+18 −0 repositories/migrations/20240909164400_workflows_migrate_new_outcome.sql
+12 −0 repositories/migrations/20240909165500_decisions_review_status.sql
+14 −0 repositories/migrations/20240909173500_decisions_drop_error_code.sql
+13 −0 repositories/migrations/20240910221600_decision_rules_org_id_idx.sql
+13 −11 repositories/scenario_iterations_write.go
+12 −3 specs/public_api.yaml
+99 −0 usecases/case_usecase.go
+5 −3 usecases/decision_usecase.go
+6 −4 usecases/evaluate_scenario/evaluate_scenario.go
+10 −5 usecases/scenario_iterations_usecase.go
+2 −2 usecases/scenario_usecase_test.go
+14 −15 usecases/scenarios/scenario_validation.go
+8 −8 usecases/scenarios/scenario_validation_test.go
+1 −1 usecases/scheduledexecution/export_schedule_execution.go
+24 −5 usecases/security/enforce_security_user.go
+5 −1 usecases/user_usecase.go
6 changes: 3 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ services:
retries: 5
api:
container_name: marble-api
image: europe-west1-docker.pkg.dev/marble-infra/marble/marble-backend:v0.1.18
image: europe-west1-docker.pkg.dev/marble-infra/marble/marble-backend:v0.1.19
platform: linux/amd64
restart: always
depends_on:
Expand Down Expand Up @@ -66,7 +66,7 @@ services:
METABASE_GLOBAL_DASHBOARD_ID: ${METABASE_GLOBAL_DASHBOARD_ID:-}
cron:
container_name: marble-api-cron
image: europe-west1-docker.pkg.dev/marble-infra/marble/marble-backend:v0.1.18
image: europe-west1-docker.pkg.dev/marble-infra/marble/marble-backend:v0.1.19
platform: linux/amd64
restart: always
depends_on:
Expand All @@ -90,7 +90,7 @@ services:
FAKE_GCS: ${FAKE_GCS:-}
app:
container_name: marble-app
image: europe-west1-docker.pkg.dev/marble-infra/marble/marble-frontend:v0.1.20
image: europe-west1-docker.pkg.dev/marble-infra/marble/marble-frontend:v0.1.21
platform: linux/amd64
restart: always
depends_on:
Expand Down
2 changes: 1 addition & 1 deletion front
Submodule front updated 92 files
+5 −1 .prettierignore
+12 −0 packages/app-builder/public/locales/en/cases.json
+5 −0 packages/app-builder/public/locales/en/decisions.json
+9 −7 packages/app-builder/public/locales/en/scenarios.json
+10 −2 packages/app-builder/src/components/Auth/SignInWithEmailAndPassword.tsx
+86 −25 packages/app-builder/src/components/Cases/CaseDecisions.tsx
+74 −3 packages/app-builder/src/components/Cases/CaseEvents.tsx
+9 −2 packages/app-builder/src/components/Cases/CaseStatus.tsx
+32 −16 packages/app-builder/src/components/Decisions/DecisionsList.tsx
+53 −14 packages/app-builder/src/components/Decisions/Filters/DecisionFiltersContext.tsx
+40 −0 packages/app-builder/src/components/Decisions/Filters/FilterDetail/CaseInboxFilter.tsx
+6 −3 packages/app-builder/src/components/Decisions/Filters/FilterDetail/FilterDetail.tsx
+89 −0 packages/app-builder/src/components/Decisions/Filters/FilterDetail/OutcomeAndReviewStatusFilter.tsx
+0 −48 packages/app-builder/src/components/Decisions/Filters/FilterDetail/OutcomeFilter.tsx
+8 −3 packages/app-builder/src/components/Decisions/Filters/filters.ts
+89 −0 packages/app-builder/src/components/Decisions/OutcomeAndReviewStatus.tsx
+17 −8 packages/app-builder/src/components/Decisions/OutcomeTag.tsx
+51 −0 packages/app-builder/src/components/Decisions/ReviewStatusTag.tsx
+1 −1 packages/app-builder/src/components/Decisions/RulesDetail.tsx
+73 −0 packages/app-builder/src/components/Decisions/ScoreOutcomeThresholds.tsx
+1 −1 packages/app-builder/src/components/Decisions/index.ts
+51 −8 packages/app-builder/src/components/HelpCenter.tsx
+1 −1 packages/app-builder/src/components/Scenario/AstBuilder/AstBuilder.tsx
+6 −6 packages/app-builder/src/components/Scenario/Workflow/DetailPanel/DecisionCreatedNode.tsx
+7 −2 packages/app-builder/src/components/Scenario/Workflow/Nodes/DecisionCreatedTriggerContent.tsx
+1 −1 packages/app-builder/src/components/Scenario/Workflow/models/nodes.ts
+2 −2 packages/app-builder/src/components/Scenario/Workflow/models/validation.ts
+25 −3 packages/app-builder/src/models/cases.ts
+78 −0 packages/app-builder/src/models/custom-list.ts
+7 −1 packages/app-builder/src/models/decision.ts
+1 −1 packages/app-builder/src/models/editable-ast-node.ts
+6 −7 packages/app-builder/src/models/outcome.ts
+9 −9 packages/app-builder/src/models/scenario-iteration-rule.ts
+39 −10 packages/app-builder/src/models/scenario-iteration.ts
+18 −1 packages/app-builder/src/models/scenario-publication.ts
+7 −7 packages/app-builder/src/models/scenario.ts
+1 −0 packages/app-builder/src/models/webhook.ts
+14 −0 packages/app-builder/src/repositories/CaseRepository.ts
+60 −0 packages/app-builder/src/repositories/CustomListRepository.ts
+8 −1 packages/app-builder/src/repositories/DecisionRepository.ts
+20 −6 packages/app-builder/src/repositories/ScenarioRepository.ts
+2 −0 packages/app-builder/src/repositories/init.server.ts
+3 −5 packages/app-builder/src/routes/_builder+/cases+/$caseId.tsx
+12 −13 packages/app-builder/src/routes/_builder+/decisions+/$decisionId.tsx
+19 −9 packages/app-builder/src/routes/_builder+/decisions+/_index.tsx
+9 −83 packages/app-builder/src/routes/_builder+/lists+/$listId.tsx
+11 −8 packages/app-builder/src/routes/_builder+/lists+/_index.tsx
+219 −187 packages/app-builder/src/routes/_builder+/scenarios+/$scenarioId+/i+/$iterationId+/_edit-view+/decision.tsx
+18 −18 packages/app-builder/src/routes/_builder+/scenarios+/$scenarioId+/i+/$iterationId+/_edit-view+/trigger.tsx
+4 −4 packages/app-builder/src/routes/_builder+/scenarios+/$scenarioId+/i+/$iterationId+/rules.$ruleId.tsx
+15 −1 packages/app-builder/src/routes/ressources+/cases+/add-rule-snooze.tsx
+211 −0 packages/app-builder/src/routes/ressources+/cases+/review-decision.tsx
+6 −4 packages/app-builder/src/routes/ressources+/lists+/create.tsx
+5 −3 packages/app-builder/src/routes/ressources+/lists+/delete.tsx
+5 −3 packages/app-builder/src/routes/ressources+/lists+/edit.tsx
+2 −2 packages/app-builder/src/routes/ressources+/lists+/value_create.tsx
+2 −2 packages/app-builder/src/routes/ressources+/lists+/value_delete.tsx
+2 −2 packages/app-builder/src/routes/ressources+/scenarios+/$scenarioId+/$iterationId+/deactivate.tsx
+3 −1 packages/app-builder/src/routes/ressources+/scenarios+/create.tsx
+15 −13 packages/app-builder/src/routes/ressources+/scenarios+/update.tsx
+1 −1 packages/app-builder/src/services/ast-node/options.tsx
+7 −0 packages/app-builder/src/services/auth/auth.server.ts
+6 −0 packages/app-builder/src/services/documentation-href.ts
+4 −12 packages/app-builder/src/services/validation/scenario-validation-error-messages.ts
+5 −0 packages/app-builder/src/utils/routes/routes.ts
+2 −0 packages/app-builder/src/utils/routes/types.ts
+201 −86 packages/marble-api/openapis/marblecore-api.yaml
+113 −62 packages/marble-api/src/generated/marblecore-api.ts
+9 −0 packages/tailwind-preset/src/tailwind.config.ts
+9 −0 packages/tests/.eslintrc.cjs
+5 −0 packages/tests/.gitignore
+33 −0 packages/tests/README.md
+66 −0 packages/tests/e2e/001-user-signin-flow.test.ts
+54 −0 packages/tests/e2e/002-custom-lists.test.ts
+96 −0 packages/tests/e2e/003-scenario-publication.test.ts
+56 −0 packages/tests/fixtures/authentication.ts
+6 −0 packages/tests/fixtures/index.ts
+18 −0 packages/tests/package.json
+43 −0 packages/tests/page-object-models/auth-pages.ts
+88 −0 packages/tests/page-object-models/custom-lists.ts
+109 −0 packages/tests/page-object-models/firebase-auth-emulator.ts
+70 −0 packages/tests/page-object-models/formula-builder.ts
+167 −0 packages/tests/page-object-models/scenario-iteration-page.ts
+42 −0 packages/tests/page-object-models/scenarios-page.ts
+25 −0 packages/tests/page-object-models/utils.ts
+60 −0 packages/tests/playwright.config.ts
+7 −0 packages/tests/tsconfig.json
+3 −3 packages/ui-design-system/src/Select/Select.tsx
+8 −1 packages/ui-design-system/src/Tag/Tag.constants.tsx
+3 −2 packages/ui-design-system/src/Tag/Tag.tsx
+49 −5 pnpm-lock.yaml
+1 −0 tsconfig.base.json

0 comments on commit d2ecd84

Please sign in to comment.