mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-12-23 17:46:09 +01:00
Commit graph

15 commits

Author SHA1 Message Date
Oliver Klee
cda38af84b
[FEATURE] Add a delete functionality for the Tea FE editor (#876)
The delete action is triggered using a form with a submit button,
causing a POST request to be sent instead of a GET request.
This is because GET requests should not modify (or delete) data,
but only read it and be idempotent. Also, the request then
is guaranteed to not get cached.

From a usability perspective, a button instead of a link also
is semantically more correct: A link is expected to bring you
to some place, whereas a button is expected to trigger some
action.

Closes #871
2023-06-23 11:55:19 +02:00
Oliver Klee
82e7e95487
[FEATURE] Allow creating a new tea in the FE (#874)
Part of #871
2023-06-22 20:30:12 +02:00
Oliver Klee
ad460b20b3
[FEATURE] Add FE editing for existing tea records (#872)
Part of #871
2023-06-22 14:20:14 +02:00
Oliver Klee
1f263d8839
[FEATURE] Add a list view for the FE tea editor (#864)
This is one more part of building CRUD functionality.
2023-06-22 11:17:51 +00:00
Oliver Klee
ea915289df
[TASK] Drop incorrectly placed scope HTML attribute (#862)
The `scope` attribute only makes sense for `th` elements, but not for
`td` elements.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td
2023-06-21 11:37:30 +00:00
Oliver Klee
bb2476d783
[TASK] Restructure the label keys (#863)
Label keys should be specific to their context. This allows having
different labels for the same thing in different contexts (e.g.,
having different headings for the tea title in the regular list view
and the FE editor).

We take the plugin as the context here, which allows us to reuse labels
between different actions of the same plugin (e.g., between the list view
and single view).
2023-06-21 13:33:59 +02:00
Łukasz Uznański
2484f6d8ca
[TASK] Replace switchable controller actions (#575) 2022-09-27 11:53:43 +02:00
Oliver Klee
2344557abc
[CLEANUP] Autoformat all files (#175)
This will reduce unrelated autoformatting changes in other commits
(and it also makes the code more readable).
2020-12-01 23:12:34 +01:00
Łukasz Uznański
d4ec80de29
[FEATURE] Add frontend linting (#120)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
Co-authored-by: Oliver Klee <typo3-coding@oliverklee.de>
2020-10-31 15:04:44 +01:00
Łukasz Uznański
11e27d01ae
[TASK] Use official xmlns in templates (#98) 2020-09-05 12:29:57 +02:00
Oliver Klee
3e1fd7416f
[FEATURE] Tea single view (#26) 2018-05-28 17:05:39 +02:00
Oliver Klee
436a10b9d6
[FEATURE] Tea plugin with TeaController and index action (#19) 2018-05-26 20:46:55 +02:00
Oliver Klee
4b7ffe0546 [CLEANUP] Empty out the extensions 2017-12-22 22:20:43 +01:00
Oliver Klee
f4d5287239 [FEATURE] Testimonial showAction 2017-12-09 18:05:05 +01:00
Oliver Klee
ee93fac2b7 [FEATURE] Add missing files for indexAction. 2013-11-05 12:41:20 +01:00