Commit 9898aa1
Migrate baserow formulas to object (baserow#4080)
* Iimplement the migration
* Further improvements to FormulaField. Introducing JSONFormulaField so that CollectionField.config works correctly. Updating so.. so many tests.
* Further backend tweaks. Found issues in builder and dashboard.
* Further backend tweaks to support the 'used properties' checks.
* Add support for view filter component placeholders. For now it just used in ViewFilterTypeText.
* Lots of frontend changes in AB/WA/Integrations to support the new formula object.
* Fix link resolution
* Re-create the migrations
* Improvements added to JSONFormulaField to support multiple formula properties. Fixing oh-so-many tests in builder, premium and database.
* Fixing frontend tests.
* Addressing AI field feedback, adding BaserowFormulaObjectSerializer
* Fixing e2e tests.
---------
Co-authored-by: peter_baserow <peter@baserow.io>1 parent 420ba13 commit 9898aa1
File tree
127 files changed
+2194
-889
lines changed- backend
- src/baserow
- contrib
- automation
- builder
- api/elements
- elements
- migrations
- workflow_actions
- dashboard/widgets
- integrations
- api/core
- core
- api
- local_baserow
- api
- migrations
- core
- formula
- services
- tests/baserow
- contrib
- automation
- api/nodes
- builder
- api
- data_sources
- domains
- elements
- workflow_actions
- elements
- workflow_actions
- dashboard
- api/data_sources
- integrations
- core
- local_baserow
- service_types
- core
- service
- e2e-tests/tests/builder/elements
- enterprise/backend/src/baserow_enterprise/builder/elements
- web-frontend
- modules
- automation/components
- builder
- components
- elements/components
- collectionField/form
- forms/general
- locales
- core
- assets/scss/components
- components/formula
- formula
- database
- components/view
- mixins
- integrations
- localBaserow
- components/services
- locales
- test/unit
- builder
- components/elements/components
- __snapshots__
- utils
- core/components
- database/components/view/__snapshots__
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
127 files changed
+2194
-889
lines changedLines changed: 11 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
33 | | - | |
34 | | - | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
37 | 42 | | |
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
267 | | - | |
| 267 | + | |
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| |||
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
366 | | - | |
| 366 | + | |
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
| |||
408 | 408 | | |
409 | 409 | | |
410 | 410 | | |
411 | | - | |
412 | | - | |
413 | 411 | | |
414 | 412 | | |
415 | 413 | | |
| |||
Lines changed: 10 additions & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | 35 | | |
38 | 36 | | |
39 | 37 | | |
| |||
45 | 43 | | |
46 | 44 | | |
47 | 45 | | |
48 | | - | |
| 46 | + | |
49 | 47 | | |
50 | 48 | | |
51 | 49 | | |
| |||
56 | 54 | | |
57 | 55 | | |
58 | 56 | | |
59 | | - | |
60 | | - | |
61 | 57 | | |
62 | 58 | | |
63 | 59 | | |
| |||
87 | 83 | | |
88 | 84 | | |
89 | 85 | | |
90 | | - | |
| 86 | + | |
91 | 87 | | |
92 | 88 | | |
93 | 89 | | |
94 | 90 | | |
95 | 91 | | |
96 | 92 | | |
97 | 93 | | |
98 | | - | |
99 | | - | |
100 | 94 | | |
101 | 95 | | |
102 | 96 | | |
| |||
171 | 165 | | |
172 | 166 | | |
173 | 167 | | |
174 | | - | |
175 | | - | |
176 | 168 | | |
177 | 169 | | |
178 | 170 | | |
| |||
238 | 230 | | |
239 | 231 | | |
240 | 232 | | |
241 | | - | |
| 233 | + | |
242 | 234 | | |
243 | | - | |
| 235 | + | |
244 | 236 | | |
245 | 237 | | |
246 | 238 | | |
247 | 239 | | |
248 | 240 | | |
249 | 241 | | |
250 | 242 | | |
251 | | - | |
252 | | - | |
253 | 243 | | |
254 | 244 | | |
255 | 245 | | |
256 | 246 | | |
257 | | - | |
258 | | - | |
259 | 247 | | |
260 | 248 | | |
261 | 249 | | |
| |||
291 | 279 | | |
292 | 280 | | |
293 | 281 | | |
294 | | - | |
| 282 | + | |
295 | 283 | | |
296 | 284 | | |
297 | 285 | | |
298 | 286 | | |
299 | 287 | | |
300 | 288 | | |
301 | 289 | | |
302 | | - | |
303 | | - | |
304 | 290 | | |
305 | 291 | | |
306 | 292 | | |
| |||
316 | 302 | | |
317 | 303 | | |
318 | 304 | | |
319 | | - | |
320 | | - | |
| 305 | + | |
| 306 | + | |
321 | 307 | | |
322 | 308 | | |
323 | 309 | | |
324 | 310 | | |
325 | 311 | | |
326 | 312 | | |
327 | 313 | | |
328 | | - | |
329 | | - | |
330 | 314 | | |
331 | 315 | | |
332 | 316 | | |
333 | 317 | | |
334 | | - | |
335 | | - | |
336 | 318 | | |
337 | 319 | | |
0 commit comments