Skip to content
Snippets Groups Projects

Draft: Add method to extract formulas from Element Types

Closed Tsering Paljor requested to merge 2063-granual-perms-1-extract-formulas into develop

Closing this MR in favor of !2500 (merged)

Context

After doing some rebasing, this branch got into a weird situation where rebasing it against the latest develop became painful due to a lot of merge conflicts.

I created a new branch named 2063-granual-perms-1-extract-formulas-rebase, which is based on the latest develop. I then cherry-picked the commits from this branch and moved them to the new one. Thus, the work for this will now continue in the new MR

Edited by Tsering Paljor

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Tsering Paljor changed milestone to %AB v1.26

    changed milestone to %AB v1.26

  • added application builder + 1 deleted label

  • assigned to @paljort

  • Tsering Paljor added 7 commits

    added 7 commits

    • c4bab2e2 - Add formula_fields class property to ElementFormulaMixin. Add...
    • 797c75c1 - Ensure collection field's formula fields are processed
    • 34194cc9 - Add optional_formula_fields dict to help handle optional formula fields
    • 7d8963d7 - Add helper method: should_skip_optional_formula_field()
    • c79359bf - Refactor CollectionElementWithFieldsTypeMixin: ensure optional formula fields are skipped
    • 4c9f8682 - Update TagsCollectionFieldType with optional formula fields
    • 05779630 - Ensure LinkCollectionFieldType's formula_fields includes NavigationElementManager.formula_fields

    Compare with previous version

  • 🤖 Merge Request Complexity Robot 🤖

    Complexity Check Failed

    This merge request has 39 non-test files changed and 1091 non-test lines added/removed.

    This exceeds the maximum of 30 non-test files changed or 1000 non-test lines changed.

  • Tsering Paljor added 228 commits

    added 228 commits

    • 05779630...c9f846f7 - 216 commits from branch 2498-hide-element-depending-on-role
    • c9f846f7...fd5dc0f8 - 2 earlier commits
    • f5fc02cd - Add ElementFormulaMixin mixin to ElementType
    • 623854fb - Override formula_generator() in CollectionElementTypeMixin and...
    • c961d79e - Add formula_fields to ElementTypes
    • 94610eb4 - Add formula_fields class property to ElementFormulaMixin. Add...
    • 262313df - Ensure collection field's formula fields are processed
    • c5d22293 - Add optional_formula_fields dict to help handle optional formula fields
    • 8f3689dd - Add helper method: should_skip_optional_formula_field()
    • 94e4f567 - Refactor CollectionElementWithFieldsTypeMixin: ensure optional formula fields are skipped
    • a180ece5 - Update TagsCollectionFieldType with optional formula fields
    • 48eb583f - Ensure LinkCollectionFieldType's formula_fields includes NavigationElementManager.formula_fields

    Compare with previous version

  • 🤖 Merge Request Complexity Robot 🤖

    Complexity Check Passed

    This merge request now has 6 non-test files changed and 95 non-test lines added/removed resulting in it now passing the complexity check :).

  • Tsering Paljor added 5 commits

    added 5 commits

    • 834940c0 - Add formula_fields attribute to NotificationWorkflowActionType and OpenPageWorkflowActionType
    • bb149d01 - Add formula_fields property to various *ServiceType classes
    • c364ab70 - Add ElementFormulaMixin to ServiceType
    • ce956672 - Add ElementFormulaMixin to WorkflowActionType
    • 7ef4bf1e - Override formula_generator() for LocalBaserowTableServiceType() to handle...

    Compare with previous version

  • Tsering Paljor added 246 commits

    added 246 commits

    • 7ef4bf1e...a4f46b9a - 229 commits from branch 2498-hide-element-depending-on-role
    • a4f46b9a...24437147 - 7 earlier commits
    • 70992630 - Add optional_formula_fields dict to help handle optional formula fields
    • 5fac9eef - Add helper method: should_skip_optional_formula_field()
    • 2768676f - Refactor CollectionElementWithFieldsTypeMixin: ensure optional formula fields are skipped
    • eb1836e3 - Update TagsCollectionFieldType with optional formula fields
    • d9291845 - Ensure LinkCollectionFieldType's formula_fields includes NavigationElementManager.formula_fields
    • 4fe08d28 - Add formula_fields attribute to NotificationWorkflowActionType and OpenPageWorkflowActionType
    • ac05ece7 - Add formula_fields property to various *ServiceType classes
    • 6631bd43 - Add ElementFormulaMixin to ServiceType
    • ba2af8bd - Add ElementFormulaMixin to WorkflowActionType
    • d4349164 - Override formula_generator() for LocalBaserowTableServiceType() to handle...

    Compare with previous version

  • Tsering Paljor added 22 commits

    added 22 commits

    • d4349164...430280d7 - 5 commits from branch 2498-hide-element-depending-on-role
    • 430280d7...0a4f009b - 7 earlier commits
    • e9f605dc - Add optional_formula_fields dict to help handle optional formula fields
    • 61d31689 - Add helper method: should_skip_optional_formula_field()
    • 5cc6504f - Refactor CollectionElementWithFieldsTypeMixin: ensure optional formula fields are skipped
    • d06efc19 - Update TagsCollectionFieldType with optional formula fields
    • 1c25b0c0 - Ensure LinkCollectionFieldType's formula_fields includes NavigationElementManager.formula_fields
    • 7e276fa2 - Add formula_fields attribute to NotificationWorkflowActionType and OpenPageWorkflowActionType
    • da1ea6e8 - Add formula_fields property to various *ServiceType classes
    • 0938c324 - Add ElementFormulaMixin to ServiceType
    • 028f2454 - Add ElementFormulaMixin to WorkflowActionType
    • 20652005 - Override formula_generator() for LocalBaserowTableServiceType() to handle...

    Compare with previous version

  • Tsering Paljor added 22 commits

    added 22 commits

    • 20652005...fa8b2db3 - 5 commits from branch 2498-hide-element-depending-on-role
    • fa8b2db3...041c4ff0 - 7 earlier commits
    • 0f3cfa6f - Add optional_formula_fields dict to help handle optional formula fields
    • 1719706d - Add helper method: should_skip_optional_formula_field()
    • 8cacdc20 - Refactor CollectionElementWithFieldsTypeMixin: ensure optional formula fields are skipped
    • 65c34a7a - Update TagsCollectionFieldType with optional formula fields
    • 42b308ed - Ensure LinkCollectionFieldType's formula_fields includes NavigationElementManager.formula_fields
    • 5d5a6f80 - Add formula_fields attribute to NotificationWorkflowActionType and OpenPageWorkflowActionType
    • 28814003 - Add formula_fields property to various *ServiceType classes
    • 5074b494 - Add ElementFormulaMixin to ServiceType
    • ac6e1509 - Add ElementFormulaMixin to WorkflowActionType
    • e5daaf14 - Override formula_generator() for LocalBaserowTableServiceType() to handle...

    Compare with previous version

  • Tsering Paljor added 2 commits

    added 2 commits

    • f9344b1f - Add 'filters' to LocalBaserowGetRowUserServiceType::formula_fields
    • 977c4ce8 - Add formula_fields and formula_generator() to BuilderWorkflowServiceActionType...

    Compare with previous version

  • Tsering Paljor added 20 commits

    added 20 commits

    • 138f59a3 - 1 commit from branch 2498-hide-element-depending-on-role
    • 138f59a3...6e5b169f - 9 earlier commits
    • 032e5ad7 - Refactor CollectionElementWithFieldsTypeMixin: ensure optional formula fields are skipped
    • bf3757c4 - Update TagsCollectionFieldType with optional formula fields
    • 09129cfe - Ensure LinkCollectionFieldType's formula_fields includes NavigationElementManager.formula_fields
    • 05e9a3e7 - Add formula_fields attribute to NotificationWorkflowActionType and OpenPageWorkflowActionType
    • c062dd71 - Add formula_fields property to various *ServiceType classes
    • 9c8353a1 - Add ElementFormulaMixin to ServiceType
    • ed09e056 - Add ElementFormulaMixin to WorkflowActionType
    • 87533629 - Override formula_generator() for LocalBaserowTableServiceType() to handle...
    • df5a59b4 - Add 'filters' to LocalBaserowGetRowUserServiceType::formula_fields
    • 3915fc3f - Add formula_fields and formula_generator() to BuilderWorkflowServiceActionType...

    Compare with previous version

  • Tsering Paljor added 21 commits

    added 21 commits

    • 3915fc3f...870c73b0 - 2 commits from branch 2498-hide-element-depending-on-role
    • 870c73b0...c6270d5e - 9 earlier commits
    • 01fe463e - Refactor CollectionElementWithFieldsTypeMixin: ensure optional formula fields are skipped
    • db675588 - Update TagsCollectionFieldType with optional formula fields
    • c10aacc8 - Ensure LinkCollectionFieldType's formula_fields includes NavigationElementManager.formula_fields
    • 91a7ff14 - Add formula_fields attribute to NotificationWorkflowActionType and OpenPageWorkflowActionType
    • 97568134 - Add formula_fields property to various *ServiceType classes
    • d2b7f411 - Add ElementFormulaMixin to ServiceType
    • 2b615a92 - Add ElementFormulaMixin to WorkflowActionType
    • 7c0ae08e - Override formula_generator() for LocalBaserowTableServiceType() to handle...
    • 55c8b7d2 - Add 'filters' to LocalBaserowGetRowUserServiceType::formula_fields
    • 7226547f - Add formula_fields and formula_generator() to BuilderWorkflowServiceActionType...

    Compare with previous version

  • Tsering Paljor added 23 commits

    added 23 commits

    • 7226547f...83e569f4 - 4 commits from branch 2498-hide-element-depending-on-role
    • 83e569f4...3eecdc9a - 9 earlier commits
    • 41a94a32 - Refactor CollectionElementWithFieldsTypeMixin: ensure optional formula fields are skipped
    • d891fa32 - Update TagsCollectionFieldType with optional formula fields
    • c1def1bd - Ensure LinkCollectionFieldType's formula_fields includes NavigationElementManager.formula_fields
    • 59f99326 - Add formula_fields attribute to NotificationWorkflowActionType and OpenPageWorkflowActionType
    • 262de7c9 - Add formula_fields property to various *ServiceType classes
    • 63b368e3 - Add ElementFormulaMixin to ServiceType
    • 2208eac0 - Add ElementFormulaMixin to WorkflowActionType
    • 41a3a27f - Override formula_generator() for LocalBaserowTableServiceType() to handle...
    • 6b344704 - Add 'filters' to LocalBaserowGetRowUserServiceType::formula_fields
    • 6b8cdcfe - Add formula_fields and formula_generator() to BuilderWorkflowServiceActionType...

    Compare with previous version

  • 🤖 Merge Request Complexity Robot 🤖

    Complexity Check Failed

    This merge request has 47 non-test files changed and 1413 non-test lines added/removed.

    This exceeds the maximum of 30 non-test files changed or 1000 non-test lines changed.

  • Tsering Paljor added 273 commits

    added 273 commits

    • 6b8cdcfe...ef840f38 - 254 commits from branch 2498-hide-element-depending-on-role
    • ef840f38...0392a649 - 9 earlier commits
    • 5d3a3eaa - Refactor CollectionElementWithFieldsTypeMixin: ensure optional formula fields are skipped
    • 15b67ba6 - Update TagsCollectionFieldType with optional formula fields
    • 45004812 - Ensure LinkCollectionFieldType's formula_fields includes NavigationElementManager.formula_fields
    • 497bba01 - Add formula_fields attribute to NotificationWorkflowActionType and OpenPageWorkflowActionType
    • 23b5216e - Add formula_fields property to various *ServiceType classes
    • b18e0394 - Add ElementFormulaMixin to ServiceType
    • 7b6ac026 - Add ElementFormulaMixin to WorkflowActionType
    • 67a2a2b3 - Override formula_generator() for LocalBaserowTableServiceType() to handle...
    • 103e372f - Add 'filters' to LocalBaserowGetRowUserServiceType::formula_fields
    • c99d5fde - Add formula_fields and formula_generator() to BuilderWorkflowServiceActionType...

    Compare with previous version

  • Tsering Paljor added 3 commits

    added 3 commits

    • ca87f6ed - Add formula_fields to OpenPageWorkflowActionType
    • 9acbe6e0 - Override formula_generator() in CollectionFieldType
    • da4397b8 - Lint fix backend

    Compare with previous version

  • added 1 commit

    • 74c091a6 - Remove specific prop_name check for HeadingElementType.

    Compare with previous version

  • Tsering Paljor added 10 commits

    added 10 commits

    • f2eb7e78 - Remove 'if prop_name...' check from InputTextElementType
    • b085bef6 - Add missing test for the import/export behavior of TextElementType
    • 4e4380d0 - Remove 'if prop_name' check in TextElementType.
    • b9e74ed9 - Add missing test for the import/export behavior of FormContainerElementType
    • 579af383 - Remove 'if prop_name' check in FormContainerElementType.
    • f3a9ce7a - Add missing test for the import/export behavior of LinkElementType
    • 9632b97d - Add missing import/export test for Link CollectionField
    • a52f16af - Add call to formula_generator() inside CollectionElementWithFieldsTypeMixin
    • 5d502b77 - Remove 'if prop_name' check in LinkCollectionFieldType
    • 352ae1db - Lint fix backend

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading