Project

General

Profile

Actions

Bug #94321

closed

Story #94322: Inconsistencies in showing page TSconfig in Info module

Info => Page TSconfig: Sort order

Added by Sybille Peters almost 3 years ago. Updated 11 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2021-06-12
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Update : It is probably better to have the same sort order as in the select list!


Sort order should be case insensitive?

You get

RTE
TCEFORM
TCEMAIN
mod

It might be better to have:

mod
RTE
TCAdefaults
TCEFORM
TCEMAIN
...

Especially since the order is different in the select box.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #94320: Have collapse / expand in list of page TSconfig in Info moduleClosed2021-06-12

Actions
Actions #1

Updated by Sybille Peters almost 3 years ago

  • Related to Feature #94320: Have collapse / expand in list of page TSconfig in Info module added
Actions #2

Updated by Sybille Peters almost 3 years ago

  • Related to Story #94322: Inconsistencies in showing page TSconfig in Info module added
Actions #3

Updated by Sybille Peters almost 3 years ago

  • Subject changed from Info => Page TSconfig: Sort order should be case insensitive? to Info => Page TSconfig: Sort order
  • Description updated (diff)
  • Parent task set to #94322
Actions #4

Updated by Benni Mack over 2 years ago

  • Status changed from New to Needs Feedback

Hey sybille,

care to create a patch?

Actions #5

Updated by Gerrit Code Review 11 months ago

  • Status changed from Needs Feedback to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79165

Actions #6

Updated by Sybille Peters 11 months ago

@Benni Mack

Hey sybille, care to create a patch?

The change is no longer as relevant because the rework of the TSconfig module is frankly quite great and does not need much further tweaking (from what I have seen).

The sort order is still case sensitive, but since the items are now collapsed it is not as irritating.

For basic coredev installation it looks like this:

  • TCEFORM
  • TCEMAIN
  • mod

I can try to change the sort order to be case-insensitive (see patch), but I think it would be better to (long term) unify the naming so that the top-level items are all lowercase.

In TypoScript, by convention the type of the "objects" are uppercase (e.g. PAGE) and the "objects" themselves are lowercase. So I think TCEFORM, TCEMAIN etc. should be changed to lowercase. (This sometimes mixing of type and "object" and inconsistent usage of terms is something which was not just noticed and pointed out by me, we already make some changes in the "TypoScript Reference" to address this).

Actions #7

Updated by Gerrit Code Review 11 months ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79165

Actions #8

Updated by Sybille Peters 11 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF