3 files changed
+5
-5
lines changed- .golangci.yml+23
- .vscode/launch.json+20-7
- .vscode/settings.json+1-2
- Dockerfile+1-1
- README.md+5-1
- api/handle_cases.go+31
- api/handle_datamodel.go+8-54
- api/handle_decision.go+10-10
- api/handle_scenario_iterations.go+2-2
- api/handle_scenario_publications.go+6-30
- api/handle_snoozes.go+1-1
- api/routes.go+2-2
- dto/api_key_dto.go
- dto/case_dto.go+9-3
- dto/custom_list_dto.go+6-37
- dto/data_model_dto.go+46-59
- dto/decision_dto.go+66-59
- dto/dto_ast_node.go+5-5
- dto/dto_ast_node_test.go+2-2
- dto/func_attributes_dto.go+2-2
- dto/openapi.go+7-1
- dto/organization_dto.go-13
- dto/rule_dto.go+9-29
- dto/rule_snoozes.go+1-1
- dto/scenario_iterations.go+39-27
- dto/scenario_publications.go+33-9
- dto/scenario_validation_dto.go+2-2
- dto/scenarios.go+7-5
- dto/upload_log_dto.go+3-3
- dto/webhooks.go+2-2
- go.mod+2-2
- go.sum+2-2
- integration_test/api_end_to_end_test.go+13-7
- integration_test/batch_ingestion_and_execution_test.go+2-2
- integration_test/generate_usecases.go+1-4
- integration_test/scenario_flow_test.go+34-33
- models/ast/evaluation_error_dto.go+1-1
- models/ast/node_evaluation_dto.go+4-4
- models/case.go+7
- models/case_event.go+6-5
- models/decision.go+18
- models/outcome.go+9-13
- models/scenario_iterations.go+6-6
- models/scenario_publications.go+4-4
- models/scenario_validation.go+6-9
- models/webhook.go+15
- repositories/analytics_views/decisions.sql-1
- repositories/dbmodels/db_decision.go+2
- repositories/dbmodels/db_scenario_iterations.go+15-12
- repositories/decisions_repository.go+38-4
- repositories/migrations/20240909134500_new_outcome_block_and_review.sql+24
- repositories/migrations/20240909164400_workflows_migrate_new_outcome.sql+18
- repositories/migrations/20240909165500_decisions_review_status.sql+12
- repositories/migrations/20240909173500_decisions_drop_error_code.sql+14
- repositories/migrations/20240910221600_decision_rules_org_id_idx.sql+13
- repositories/scenario_iterations_write.go+13-11
- specs/public_api.yaml+12-3
- usecases/case_usecase.go+99
- usecases/decision_usecase.go+5-3
- usecases/evaluate_scenario/evaluate_scenario.go+6-4
- usecases/scenario_iterations_usecase.go+10-5
- usecases/scenario_usecase_test.go+2-2
- usecases/scenarios/scenario_validation.go+14-15
- usecases/scenarios/scenario_validation_test.go+8-8
- usecases/scheduledexecution/export_schedule_execution.go+1-1
- usecases/security/enforce_security_user.go+24-5
- usecases/user_usecase.go+5-1
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
- .prettierignore+5-1
- packages/app-builder/public/locales/en/cases.json+12
- packages/app-builder/public/locales/en/decisions.json+5
- packages/app-builder/public/locales/en/scenarios.json+9-7
- packages/app-builder/src/components/Auth/SignInWithEmailAndPassword.tsx+10-2
- packages/app-builder/src/components/Cases/CaseDecisions.tsx+86-25
- packages/app-builder/src/components/Cases/CaseEvents.tsx+74-3
- packages/app-builder/src/components/Cases/CaseStatus.tsx+9-2
- packages/app-builder/src/components/Decisions/DecisionsList.tsx+32-16
- packages/app-builder/src/components/Decisions/Filters/DecisionFiltersContext.tsx+53-14
- packages/app-builder/src/components/Decisions/Filters/FilterDetail/CaseInboxFilter.tsx+40
- packages/app-builder/src/components/Decisions/Filters/FilterDetail/FilterDetail.tsx+6-3
- packages/app-builder/src/components/Decisions/Filters/FilterDetail/OutcomeAndReviewStatusFilter.tsx+89
- packages/app-builder/src/components/Decisions/Filters/FilterDetail/OutcomeFilter.tsx-48
- packages/app-builder/src/components/Decisions/Filters/filters.ts+8-3
- packages/app-builder/src/components/Decisions/OutcomeAndReviewStatus.tsx+89
- packages/app-builder/src/components/Decisions/OutcomeTag.tsx+17-8
- packages/app-builder/src/components/Decisions/ReviewStatusTag.tsx+51
- packages/app-builder/src/components/Decisions/RulesDetail.tsx+1-1
- packages/app-builder/src/components/Decisions/ScoreOutcomeThresholds.tsx+73
- packages/app-builder/src/components/Decisions/index.ts+1-1
- packages/app-builder/src/components/HelpCenter.tsx+51-8
- packages/app-builder/src/components/Scenario/AstBuilder/AstBuilder.tsx+1-1
- packages/app-builder/src/components/Scenario/Workflow/DetailPanel/DecisionCreatedNode.tsx+6-6
- packages/app-builder/src/components/Scenario/Workflow/Nodes/DecisionCreatedTriggerContent.tsx+7-2
- packages/app-builder/src/components/Scenario/Workflow/models/nodes.ts+1-1
- packages/app-builder/src/components/Scenario/Workflow/models/validation.ts+2-2
- packages/app-builder/src/models/cases.ts+25-3
- packages/app-builder/src/models/custom-list.ts+78
- packages/app-builder/src/models/decision.ts+7-1
- packages/app-builder/src/models/editable-ast-node.ts+1-1
- packages/app-builder/src/models/outcome.ts+6-7
- packages/app-builder/src/models/scenario-iteration-rule.ts+9-9
- packages/app-builder/src/models/scenario-iteration.ts+39-10
- packages/app-builder/src/models/scenario-publication.ts+18-1
- packages/app-builder/src/models/scenario.ts+7-7
- packages/app-builder/src/models/webhook.ts+1
- packages/app-builder/src/repositories/CaseRepository.ts+14
- packages/app-builder/src/repositories/CustomListRepository.ts+60
- packages/app-builder/src/repositories/DecisionRepository.ts+8-1
- packages/app-builder/src/repositories/ScenarioRepository.ts+20-6
- packages/app-builder/src/repositories/init.server.ts+2
- packages/app-builder/src/routes/_builder+/cases+/$caseId.tsx+3-5
- packages/app-builder/src/routes/_builder+/decisions+/$decisionId.tsx+12-13
- packages/app-builder/src/routes/_builder+/decisions+/_index.tsx+19-9
- packages/app-builder/src/routes/_builder+/lists+/$listId.tsx+9-83
- packages/app-builder/src/routes/_builder+/lists+/_index.tsx+11-8
- packages/app-builder/src/routes/_builder+/scenarios+/$scenarioId+/i+/$iterationId+/_edit-view+/decision.tsx+219-187
- packages/app-builder/src/routes/_builder+/scenarios+/$scenarioId+/i+/$iterationId+/_edit-view+/trigger.tsx+18-18
- packages/app-builder/src/routes/_builder+/scenarios+/$scenarioId+/i+/$iterationId+/rules.$ruleId.tsx+4-4
- packages/app-builder/src/routes/ressources+/cases+/add-rule-snooze.tsx+15-1
- packages/app-builder/src/routes/ressources+/cases+/review-decision.tsx+211
- packages/app-builder/src/routes/ressources+/lists+/create.tsx+6-4
- packages/app-builder/src/routes/ressources+/lists+/delete.tsx+5-3
- packages/app-builder/src/routes/ressources+/lists+/edit.tsx+5-3
- 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+2-2
- packages/app-builder/src/routes/ressources+/scenarios+/create.tsx+3-1
- packages/app-builder/src/routes/ressources+/scenarios+/update.tsx+15-13
- packages/app-builder/src/services/ast-node/options.tsx+1-1
- packages/app-builder/src/services/auth/auth.server.ts+7
- packages/app-builder/src/services/documentation-href.ts+6
- packages/app-builder/src/services/validation/scenario-validation-error-messages.ts+4-12
- packages/app-builder/src/utils/routes/routes.ts+5
- packages/app-builder/src/utils/routes/types.ts+2
- packages/marble-api/openapis/marblecore-api.yaml+201-86
- packages/marble-api/src/generated/marblecore-api.ts+113-62
- packages/tailwind-preset/src/tailwind.config.ts+9
- packages/tests/.eslintrc.cjs+9
- packages/tests/.gitignore+5
- packages/tests/README.md+33
- packages/tests/e2e/001-user-signin-flow.test.ts+66
- packages/tests/e2e/002-custom-lists.test.ts+54
- packages/tests/e2e/003-scenario-publication.test.ts+96
- packages/tests/fixtures/authentication.ts+56
- packages/tests/fixtures/index.ts+6
- packages/tests/package.json+18
- packages/tests/page-object-models/auth-pages.ts+43
- packages/tests/page-object-models/custom-lists.ts+88
- packages/tests/page-object-models/firebase-auth-emulator.ts+109
- packages/tests/page-object-models/formula-builder.ts+70
- packages/tests/page-object-models/scenario-iteration-page.ts+167
- packages/tests/page-object-models/scenarios-page.ts+42
- packages/tests/page-object-models/utils.ts+25
- packages/tests/playwright.config.ts+60
- packages/tests/tsconfig.json+7
- packages/ui-design-system/src/Select/Select.tsx+3-3
- packages/ui-design-system/src/Tag/Tag.constants.tsx+8-1
- packages/ui-design-system/src/Tag/Tag.tsx+3-2
- pnpm-lock.yaml+49-5
- tsconfig.base.json+1
0 commit comments