Javi Martín
4cbf945228
Infer type for component specs automatically
2021-09-08 12:39:36 +02:00
Javi Martín
6df7f7d052
Simplify changing controllers in component tests
2021-08-10 15:00:26 +02:00
Javi Martín
c66a5a30ef
Allow using table actions in different namespaces
...
This way we can reuse it in sections like SDGManagement and URLs will be
automatically generated as expected.
2021-01-14 17:35:38 +01:00
Javi Martín
fb23df2e5b
Allow additional links in table actions component
...
This way we'll be able to make these links consistent.
2020-10-21 13:19:49 +02:00
Javi Martín
e3753b1ad9
Allow custom options in links to actions
...
Some links were using options like `remote: true`.
2020-10-19 18:56:02 +02:00
Javi Martín
497963817c
Allow different confirmation texts in destroy link
2020-10-19 18:56:02 +02:00
Javi Martín
b1f9ca4ad5
Allow custom URLs in links to actions
...
There were a couple of cases where these links didn't point to the
default actions.
2020-10-19 18:56:02 +02:00
Javi Martín
738646a565
Allow different texts in links to actions
...
The texts were different for a few models, so the component needs to be
updated.
2020-10-19 18:56:02 +02:00
Javi Martín
10c095d821
Move table actions partial to a component
...
This partial was going to get too complex since in some places we've got
different texts, different URLs or different confirmation messages.
While we should probably try to be more consistent and that would make
the partial work in most cases, there'll always be some exceptions, and
using a partial (with, perhaps, some helper methods) will become messy
really quickly.
2020-10-19 18:56:02 +02:00