Content
View differences
Updated by Parimal Satyal about 1 year ago
We introduced a `AdminSettingsFormComponent` which automatically limits the width of settings pages, to be used like this:
```ruby
module WorkPackages
module Types
class SettingsComponent < AdminSettingsFormComponent
...
end
end
end
```
**Current usage**
This is currently used in:
* WorkPackages → Types → Settings
* WorkPackages → Types → FormConfiguration
**Acceptance criteria**
This should also be used in these other _administration pages_ where the form has already been Primerised:
* Work packages → Status → {Create/edit a status}
* Work packages → Priorities → {Create/edit a priority}
* Work packages → Progress tracking
* Projects → Project lifecycle → {Edit stage or gate}
* ~~Projects Projects → Project attributes → {Create/edit a project attribute}~~ attribute}
* _\[open\] This is not Primerised, is it?_
* Time and costs → Defaults
* Time tab
* Costs tab
* Time and costs → time tracking activities → {Edit/create an activity}
* Files → Categories → {Edit/create a category}
* Custom Fields (only type hierarchy) -> Details
* Open:
* WorkPackages → Types → GeneratePDF
**Out of scope**
The new container should **not** be used in where table index pages are used, for example:
* Work packages → Priorities (index)
* Projects → Project lifecyle (index)
* Projects → Project attributes (index)
* Time and costs → Time tracking activities (index)
* Files → Categories (index)
* Files → External file storages (index)
* Authentication → OAuth applications (index)
* Authentication → SAML providers (index, box table)
* Authentication → OpenID providers (index, box table)
It should also **not** be used when forms are _contained_ in box tables, for example:
* Files → External file storages → {Edit/create a storage}
* Authentication → OAuth applications → {Edit/create an OAuth application}
* Authentication → SAML providers → {Edit/create a SAML provider)
* Authentication → OpenID providers → {Edit/create an OpenID provider}
```ruby
module WorkPackages
module Types
class SettingsComponent < AdminSettingsFormComponent
...
end
end
end
```
**Current usage**
This is currently used in:
* WorkPackages → Types → Settings
* WorkPackages → Types → FormConfiguration
**Acceptance criteria**
This should also be used in these other _administration pages_ where the form has already been Primerised:
* Work packages → Status → {Create/edit a status}
* Work packages → Priorities → {Create/edit a priority}
* Work packages → Progress tracking
* Projects → Project lifecycle → {Edit stage or gate}
* ~~Projects
* _\[open\] This is not Primerised, is it?_
* Time and costs → Defaults
* Time tab
* Costs tab
* Time and costs → time tracking activities → {Edit/create an activity}
* Files → Categories → {Edit/create a category}
* Custom Fields (only type hierarchy) -> Details
* Open:
* WorkPackages → Types → GeneratePDF
**Out of scope**
The new container should **not** be used in where table index pages are used, for example:
* Work packages → Priorities (index)
* Projects → Project lifecyle (index)
* Projects → Project attributes (index)
* Time and costs → Time tracking activities (index)
* Files → Categories (index)
* Files → External file storages (index)
* Authentication → OAuth applications (index)
* Authentication → SAML providers (index, box table)
* Authentication → OpenID providers (index, box table)
It should also **not** be used when forms are _contained_ in box tables, for example:
* Files → External file storages → {Edit/create a storage}
* Authentication → OAuth applications → {Edit/create an OAuth application}
* Authentication → SAML providers → {Edit/create a SAML provider)
* Authentication → OpenID providers → {Edit/create an OpenID provider}