View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
5179 | Composr | core | public | 2022-12-20 16:52 | 2023-01-27 20:34 |
Reporter | PDStig | Assigned To | Guest | ||
Priority | normal | Severity | feature | ||
Status | new | Resolution | open | ||
Summary | 5179: Refactor attach_message types | ||||
Description | There exists a colour in the theme wizard, warning_color . It is off-yellow. Originally, the colour was not used at all until I recently changed the "warn" buttons on forum posts to this colour. Also, we could add a green "success" to easily visually indicate to the user their action was successful. I think we should make use of this colour in Composr. Many UIs (Bootstrap, command terminals, logging systems) utilise multi-tier levels which include warn / warning and use a form of yellow colour. I think Composr should as well. --- Proposal: Use the following types for attach_message: inform - For general information (seed colour) Example: You are running dev mode. notice - For important information (seed colour) Example: This product is low on stock. warn - For very important information or user error (yellow) Example: This product is out of stock; this content is not yet validated by staff; you did not fill out the form correctly; your password expired and you must change it now. [new] error - For PHP / Composr errors (red, and make sure attach_message error handling uses this type instead of warn) Example: Cannot find theme image; PHP errors [new] success - For action successful messages (green) Example: Your action was successful. Your profile has been updated. | ||||
Tags | No tags attached. | ||||
Attach Tags | |||||
Time estimation (hours) | 2.5 | ||||
Sponsorship open | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2022-12-20 16:52 | PDStig | New Issue | |
2022-12-20 20:49 | PDStig | Description Updated | |
2022-12-20 21:08 | Chris Graham | Time estimation (hours) | => 2.5 |
2022-12-20 21:09 | Chris Graham | Category | General => core |
2023-01-27 20:33 | PDStig | Summary | Make use of the warning colour in attach message; add a "danger" type => Refactor attach_message types |
2023-01-27 20:33 | PDStig | Description Updated | |
2023-01-27 20:34 | PDStig | Note Added: 0007886 |