Details
-
Type: Story
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.4.0
-
Fix Version/s: 4.11.0-b1
-
Component/s: Client Interface
-
Labels:None
Description
Add summary boxes to the top of the client area dashboard, that provides a quick overview of the account. May need to create a method by which plugins can create their own boxes here, and be enabled/disabled in the admin interface. We may wish to ship, installed by default, a plugin that renders standard boxes that we ship with Blesta, and allow other plugins to create their own.
If there are more than 4, then we can either create a scroller, or wrap them onto the next line pushing down the other content. I would probably prefer to have them wrap onto the next line.
I've mocked up an example, attached. Colors, exact design, and content of default boxes yet to be determined.
This will be a plugin based functionality. Plugins should be able to define a list of "Cards". In spite of the screenshot, these cards should be displayed at the top of the client profile but below the message box.
Create a new table plugin_cards
- id INT(10) UNSIGNED AUTOINCREMENT primary key
- plugin_id INT(10) UNSIGNED NOT NULL
- level ENUM('client', 'staff') NOT NULL DEFAULT 'client'
- value_callback VARCHAR(255) NULL DEFAULT NULL
- label VARCHAR(255) NULL DEFAULT NULL
- html_callback VARCHAR(255) NULL DEFAULT NULL
- background_color VARCHAR(255) NULL DEFAULT NULL
- background_image VARCHAR(255) NULL DEFAULT NULL
- enabled TINYINT(1) NOT NULL DEFAULT '1'
The Plugin class should add a new method getCards() similar to getActions(). Each card should support the following fields:
- level: The level this card should be displayed on (client or staff) (optional, default client)
- value_callback: A method defined by the plugin class for calculating the value of the Card. This method should at the least receive a $client_id parameter.
- label: A string or language key appearing under the value as a label
- html_callback: overrides the value_callback and label fields allowing plugins to insert an custom html in their place through a callback method
- link: The link url to use for wrapping the card in an <a> (optional)
- background-color: The default background color for this card (optional)
- background-image: The path to the default background image for this card (optional)
- enabled: Whether this card appears on client profiles by default (optional, default true)
Info on these cards, like actions, should be stored in the database and updated automatically on upgrade.
A new settings page should be created Company >> Look and Feel >> Client Layout (don't forget to add permissions for this page).
- Card order should be changeable here
- Card background-color should be changeable here
- A graphical preview of the cards section should appear here
- Cards should be enabled/disabled from here
A new plugin should be created for the basic cards
- The name of the plugin should be Client Cards
- The plugin should include the following cards: Services [Active/Suspended] and Invoices [Proforma/Open (active w/ no date_closed)]
- The plugin should be installed with Blesta by default (like the System Overview)
- The plugin should be installed when upgrading Blesta to 4.11
The Support Manager should be updated to include a card:
- value_callback: Method returning the number of open support tickets from the client
- label: Tickets
- link: client_uri + plugin/support_manager/client_tickets/
- background-color: TBD
The Order plugin should be updated to include a card:
- value_callback: Method returning the number of pending or accepted orders from the client
- label: Orders
- link: client_uri + plugin/order/orders/
- background-color: TBD
1. |
Create infrastructure for plugin cards | Closed | Abdy Franco |
|
|||||||||
2. |
Create client layout settings page | Closed | Abdy Franco |
|
|||||||||
3. |
Client Cards: Create plugin | Closed | Abdy Franco |
|
|||||||||
4. |
Support Manager: Create new Tickets Card | Closed | Abdy Franco |
|
|||||||||
5. |
Order: Create new Orders Card | Closed | Abdy Franco |
|
Activity
Field | Original Value | New Value |
---|---|---|
Rank | Ranked higher |
Rank | Ranked higher |
Description |
Add summary boxes to the top of the client area dashboard, that provides a quick overview of the account. May need to create a method by which plugins can create their own boxes here, and be enabled/disabled in the admin interface. We may wish to ship, installed by default, a plugin that renders standard boxes that we ship with Blesta, and allow other plugins to create their own.
If there are more than 4, then we can either create a scroller, or wrap them onto the next line pushing down the other content. I would probably prefer to have them wrap onto the next line. I've mocked up an example, attached. Colors, exact design, and content of default boxes yet to be determined. |
Add summary boxes to the top of the client area dashboard, that provides a quick overview of the account. May need to create a method by which plugins can create their own boxes here, and be enabled/disabled in the admin interface. We may wish to ship, installed by default, a plugin that renders standard boxes that we ship with Blesta, and allow other plugins to create their own.
If there are more than 4, then we can -either create a scroller, or- wrap them onto the next line pushing down the other content. I would probably prefer to have them wrap onto the next line. I've mocked up an example, attached. Colors, exact design, and content of default boxes yet to be determined. |
Rank | Ranked higher |
Sprint | 4.11.0 Sprint 2 [ 109 ] |
Rank | Ranked lower |
Sprint | 4.11.0 Sprint 2 [ 109 ] |
Rank | Ranked higher |
Story Points | 13 |
Issue Type | New Feature [ 2 ] | Story [ 7 ] |
Sprint | 4.11.0 Sprint 2 [ 109 ] |
Rank | Ranked lower |
Fix Version/s | 4.11.0-b1 [ 11401 ] | |
Fix Version/s | Short Term [ 10800 ] |
Assignee | Abdy Franco [ abdy ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Remaining Estimate | 0 minutes [ 0 ] | |
Time Spent | 1 hour, 24 minutes [ 5040 ] | |
Worklog Id | 13662 [ 13662 ] |
Description |
Add summary boxes to the top of the client area dashboard, that provides a quick overview of the account. May need to create a method by which plugins can create their own boxes here, and be enabled/disabled in the admin interface. We may wish to ship, installed by default, a plugin that renders standard boxes that we ship with Blesta, and allow other plugins to create their own.
If there are more than 4, then we can -either create a scroller, or- wrap them onto the next line pushing down the other content. I would probably prefer to have them wrap onto the next line. I've mocked up an example, attached. Colors, exact design, and content of default boxes yet to be determined. |
Add summary boxes to the top of the client area dashboard, that provides a quick overview of the account. May need to create a method by which plugins can create their own boxes here, and be enabled/disabled in the admin interface. We may wish to ship, installed by default, a plugin that renders standard boxes that we ship with Blesta, and allow other plugins to create their own.
If there are more than 4, then we can -either create a scroller, or- wrap them onto the next line pushing down the other content. I would probably prefer to have them wrap onto the next line. I've mocked up an example, attached. Colors, exact design, and content of default boxes yet to be determined. ---- This will be a plugin based functionality. Plugins should be able to define a list of "Cards". In spite of the screenshot, these cards should be displayed at the top of the client profile but below the message box. Each card should support the following fields: * value_callback: A method defined by the plugin class for calculating the value of the Card. This method should at the least receive a $client_id parameter. * label: A string or language key |
Description |
Add summary boxes to the top of the client area dashboard, that provides a quick overview of the account. May need to create a method by which plugins can create their own boxes here, and be enabled/disabled in the admin interface. We may wish to ship, installed by default, a plugin that renders standard boxes that we ship with Blesta, and allow other plugins to create their own.
If there are more than 4, then we can -either create a scroller, or- wrap them onto the next line pushing down the other content. I would probably prefer to have them wrap onto the next line. I've mocked up an example, attached. Colors, exact design, and content of default boxes yet to be determined. ---- This will be a plugin based functionality. Plugins should be able to define a list of "Cards". In spite of the screenshot, these cards should be displayed at the top of the client profile but below the message box. Each card should support the following fields: * value_callback: A method defined by the plugin class for calculating the value of the Card. This method should at the least receive a $client_id parameter. * label: A string or language key |
Add summary boxes to the top of the client area dashboard, that provides a quick overview of the account. May need to create a method by which plugins can create their own boxes here, and be enabled/disabled in the admin interface. We may wish to ship, installed by default, a plugin that renders standard boxes that we ship with Blesta, and allow other plugins to create their own.
If there are more than 4, then we can -either create a scroller, or- wrap them onto the next line pushing down the other content. I would probably prefer to have them wrap onto the next line. I've mocked up an example, attached. Colors, exact design, and content of default boxes yet to be determined. ---- This will be a plugin based functionality. Plugins should be able to define a list of "Cards". In spite of the screenshot, these cards should be displayed at the top of the client profile but below the message box. Each card should support the following fields: * value_callback: A method defined by the plugin class for calculating the value of the Card. This method should at the least receive a $client_id parameter. * label: A string or language key appearing under the value as a label * link: The link url to use for wrapping the card in an <a> (optional) * background-color: The default background color for this card (optional) * enabled: Whether this card appears on client profiles by default (optional, default true) A new settings page should be created Company >> Look and Feel >> Client Layout (don't forget to add permissions for this page). * Card order should be changeable here * Card background-color should be changeable here * A graphical preview of the cards section should appear here * Cards should be enabled/disabled from here A new plugin should be created |
Description |
Add summary boxes to the top of the client area dashboard, that provides a quick overview of the account. May need to create a method by which plugins can create their own boxes here, and be enabled/disabled in the admin interface. We may wish to ship, installed by default, a plugin that renders standard boxes that we ship with Blesta, and allow other plugins to create their own.
If there are more than 4, then we can -either create a scroller, or- wrap them onto the next line pushing down the other content. I would probably prefer to have them wrap onto the next line. I've mocked up an example, attached. Colors, exact design, and content of default boxes yet to be determined. ---- This will be a plugin based functionality. Plugins should be able to define a list of "Cards". In spite of the screenshot, these cards should be displayed at the top of the client profile but below the message box. Each card should support the following fields: * value_callback: A method defined by the plugin class for calculating the value of the Card. This method should at the least receive a $client_id parameter. * label: A string or language key appearing under the value as a label * link: The link url to use for wrapping the card in an <a> (optional) * background-color: The default background color for this card (optional) * enabled: Whether this card appears on client profiles by default (optional, default true) A new settings page should be created Company >> Look and Feel >> Client Layout (don't forget to add permissions for this page). * Card order should be changeable here * Card background-color should be changeable here * A graphical preview of the cards section should appear here * Cards should be enabled/disabled from here A new plugin should be created |
Add summary boxes to the top of the client area dashboard, that provides a quick overview of the account. May need to create a method by which plugins can create their own boxes here, and be enabled/disabled in the admin interface. We may wish to ship, installed by default, a plugin that renders standard boxes that we ship with Blesta, and allow other plugins to create their own.
If there are more than 4, then we can -either create a scroller, or- wrap them onto the next line pushing down the other content. I would probably prefer to have them wrap onto the next line. I've mocked up an example, attached. Colors, exact design, and content of default boxes yet to be determined. ---- This will be a plugin based functionality. Plugins should be able to define a list of "Cards". In spite of the screenshot, these cards should be displayed at the top of the client profile but below the message box. Each card should support the following fields: * value_callback: A method defined by the plugin class for calculating the value of the Card. This method should at the least receive a $client_id parameter. * label: A string or language key appearing under the value as a label * link: The link url to use for wrapping the card in an <a> (optional) * background-color: The default background color for this card (optional) * enabled: Whether this card appears on client profiles by default (optional, default true) A new settings page should be created Company >> Look and Feel >> Client Layout (don't forget to add permissions for this page). * Card order should be changeable here * Card background-color should be changeable here * A graphical preview of the cards section should appear here * Cards should be enabled/disabled from here A new plugin should be created for the basic cards * The name of the plugin should be Client Cards * The plugin should include the following cards: |
Description |
Add summary boxes to the top of the client area dashboard, that provides a quick overview of the account. May need to create a method by which plugins can create their own boxes here, and be enabled/disabled in the admin interface. We may wish to ship, installed by default, a plugin that renders standard boxes that we ship with Blesta, and allow other plugins to create their own.
If there are more than 4, then we can -either create a scroller, or- wrap them onto the next line pushing down the other content. I would probably prefer to have them wrap onto the next line. I've mocked up an example, attached. Colors, exact design, and content of default boxes yet to be determined. ---- This will be a plugin based functionality. Plugins should be able to define a list of "Cards". In spite of the screenshot, these cards should be displayed at the top of the client profile but below the message box. Each card should support the following fields: * value_callback: A method defined by the plugin class for calculating the value of the Card. This method should at the least receive a $client_id parameter. * label: A string or language key appearing under the value as a label * link: The link url to use for wrapping the card in an <a> (optional) * background-color: The default background color for this card (optional) * enabled: Whether this card appears on client profiles by default (optional, default true) A new settings page should be created Company >> Look and Feel >> Client Layout (don't forget to add permissions for this page). * Card order should be changeable here * Card background-color should be changeable here * A graphical preview of the cards section should appear here * Cards should be enabled/disabled from here A new plugin should be created for the basic cards * The name of the plugin should be Client Cards * The plugin should include the following cards: |
Add summary boxes to the top of the client area dashboard, that provides a quick overview of the account. May need to create a method by which plugins can create their own boxes here, and be enabled/disabled in the admin interface. We may wish to ship, installed by default, a plugin that renders standard boxes that we ship with Blesta, and allow other plugins to create their own.
If there are more than 4, then we can -either create a scroller, or- wrap them onto the next line pushing down the other content. I would probably prefer to have them wrap onto the next line. I've mocked up an example, attached. Colors, exact design, and content of default boxes yet to be determined. ---- This will be a plugin based functionality. Plugins should be able to define a list of "Cards". In spite of the screenshot, these cards should be displayed at the top of the client profile but below the message box. Each card should support the following fields: * value_callback: A method defined by the plugin class for calculating the value of the Card. This method should at the least receive a $client_id parameter. * label: A string or language key appearing under the value as a label * link: The link url to use for wrapping the card in an <a> (optional) * background-color: The default background color for this card (optional) * enabled: Whether this card appears on client profiles by default (optional, default true) A new settings page should be created Company >> Look and Feel >> Client Layout (don't forget to add permissions for this page). * Card order should be changeable here * Card background-color should be changeable here * A graphical preview of the cards section should appear here * Cards should be enabled/disabled from here A new plugin should be created for the basic cards * The name of the plugin should be Client Cards * The plugin should include the following cards: Services [Active], Invoices [Open], |
Security | Private [ 10000 ] |
Description |
Add summary boxes to the top of the client area dashboard, that provides a quick overview of the account. May need to create a method by which plugins can create their own boxes here, and be enabled/disabled in the admin interface. We may wish to ship, installed by default, a plugin that renders standard boxes that we ship with Blesta, and allow other plugins to create their own.
If there are more than 4, then we can -either create a scroller, or- wrap them onto the next line pushing down the other content. I would probably prefer to have them wrap onto the next line. I've mocked up an example, attached. Colors, exact design, and content of default boxes yet to be determined. ---- This will be a plugin based functionality. Plugins should be able to define a list of "Cards". In spite of the screenshot, these cards should be displayed at the top of the client profile but below the message box. Each card should support the following fields: * value_callback: A method defined by the plugin class for calculating the value of the Card. This method should at the least receive a $client_id parameter. * label: A string or language key appearing under the value as a label * link: The link url to use for wrapping the card in an <a> (optional) * background-color: The default background color for this card (optional) * enabled: Whether this card appears on client profiles by default (optional, default true) A new settings page should be created Company >> Look and Feel >> Client Layout (don't forget to add permissions for this page). * Card order should be changeable here * Card background-color should be changeable here * A graphical preview of the cards section should appear here * Cards should be enabled/disabled from here A new plugin should be created for the basic cards * The name of the plugin should be Client Cards * The plugin should include the following cards: Services [Active], Invoices [Open], |
Add summary boxes to the top of the client area dashboard, that provides a quick overview of the account. May need to create a method by which plugins can create their own boxes here, and be enabled/disabled in the admin interface. We may wish to ship, installed by default, a plugin that renders standard boxes that we ship with Blesta, and allow other plugins to create their own.
If there are more than 4, then we can -either create a scroller, or- wrap them onto the next line pushing down the other content. I would probably prefer to have them wrap onto the next line. I've mocked up an example, attached. Colors, exact design, and content of default boxes yet to be determined. ---- This will be a plugin based functionality. Plugins should be able to define a list of "Cards". In spite of the screenshot, these cards should be displayed at the top of the client profile but below the message box. Each card should support the following fields: * value_callback: A method defined by the plugin class for calculating the value of the Card. This method should at the least receive a $client_id parameter. * label: A string or language key appearing under the value as a label * link: The link url to use for wrapping the card in an <a> (optional) * background-color: The default background color for this card (optional) * enabled: Whether this card appears on client profiles by default (optional, default true) A new settings page should be created Company >> Look and Feel >> Client Layout (don't forget to add permissions for this page). * Card order should be changeable here * Card background-color should be changeable here * A graphical preview of the cards section should appear here * Cards should be enabled/disabled from here A new plugin should be created for the basic cards * The name of the plugin should be Client Cards * The plugin should include the following cards: Services [Active] and Invoices [Open], |
Description |
Add summary boxes to the top of the client area dashboard, that provides a quick overview of the account. May need to create a method by which plugins can create their own boxes here, and be enabled/disabled in the admin interface. We may wish to ship, installed by default, a plugin that renders standard boxes that we ship with Blesta, and allow other plugins to create their own.
If there are more than 4, then we can -either create a scroller, or- wrap them onto the next line pushing down the other content. I would probably prefer to have them wrap onto the next line. I've mocked up an example, attached. Colors, exact design, and content of default boxes yet to be determined. ---- This will be a plugin based functionality. Plugins should be able to define a list of "Cards". In spite of the screenshot, these cards should be displayed at the top of the client profile but below the message box. Each card should support the following fields: * value_callback: A method defined by the plugin class for calculating the value of the Card. This method should at the least receive a $client_id parameter. * label: A string or language key appearing under the value as a label * link: The link url to use for wrapping the card in an <a> (optional) * background-color: The default background color for this card (optional) * enabled: Whether this card appears on client profiles by default (optional, default true) A new settings page should be created Company >> Look and Feel >> Client Layout (don't forget to add permissions for this page). * Card order should be changeable here * Card background-color should be changeable here * A graphical preview of the cards section should appear here * Cards should be enabled/disabled from here A new plugin should be created for the basic cards * The name of the plugin should be Client Cards * The plugin should include the following cards: Services [Active] and Invoices [Open], |
Add summary boxes to the top of the client area dashboard, that provides a quick overview of the account. May need to create a method by which plugins can create their own boxes here, and be enabled/disabled in the admin interface. We may wish to ship, installed by default, a plugin that renders standard boxes that we ship with Blesta, and allow other plugins to create their own.
If there are more than 4, then we can -either create a scroller, or- wrap them onto the next line pushing down the other content. I would probably prefer to have them wrap onto the next line. I've mocked up an example, attached. Colors, exact design, and content of default boxes yet to be determined. ---- This will be a plugin based functionality. Plugins should be able to define a list of "Cards". In spite of the screenshot, these cards should be displayed at the top of the client profile but below the message box. The Plugin class should add a new method getCards() similar to getActions(). Each card should support the following fields: * value_callback: A method defined by the plugin class for calculating the value of the Card. This method should at the least receive a $client_id parameter. * label: A string or language key appearing under the value as a label * html_callback: overrides the value_callback and label fields allowing plugins to insert an custom html in their place through a callback method * link: The link url to use for wrapping the card in an <a> (optional) * background-color: The default background color for this card (optional) * enabled: Whether this card appears on client profiles by default (optional, default true) Info on these cards, like actions, should be stored in the database and updated automatically on upgrade. A new settings page should be created Company >> Look and Feel >> Client Layout (don't forget to add permissions for this page). * Card order should be changeable here * Card background-color should be changeable here * A graphical preview of the cards section should appear here * Cards should be enabled/disabled from here A new plugin should be created for the basic cards * The name of the plugin should be Client Cards * The plugin should include the following cards: Services [Active/Suspended] and Invoices [Proforma/Open (active w/ no date_closed)] * The plugin should be installed with Blesta by default (like the System Overview) * The plugin should be installed when upgrading Blesta to 4.11 The support manager should be updated to include a card: * value_callback: Method returning the number of open support tickets from the client * label: Tickets * link: |
Description |
Add summary boxes to the top of the client area dashboard, that provides a quick overview of the account. May need to create a method by which plugins can create their own boxes here, and be enabled/disabled in the admin interface. We may wish to ship, installed by default, a plugin that renders standard boxes that we ship with Blesta, and allow other plugins to create their own.
If there are more than 4, then we can -either create a scroller, or- wrap them onto the next line pushing down the other content. I would probably prefer to have them wrap onto the next line. I've mocked up an example, attached. Colors, exact design, and content of default boxes yet to be determined. ---- This will be a plugin based functionality. Plugins should be able to define a list of "Cards". In spite of the screenshot, these cards should be displayed at the top of the client profile but below the message box. The Plugin class should add a new method getCards() similar to getActions(). Each card should support the following fields: * value_callback: A method defined by the plugin class for calculating the value of the Card. This method should at the least receive a $client_id parameter. * label: A string or language key appearing under the value as a label * html_callback: overrides the value_callback and label fields allowing plugins to insert an custom html in their place through a callback method * link: The link url to use for wrapping the card in an <a> (optional) * background-color: The default background color for this card (optional) * enabled: Whether this card appears on client profiles by default (optional, default true) Info on these cards, like actions, should be stored in the database and updated automatically on upgrade. A new settings page should be created Company >> Look and Feel >> Client Layout (don't forget to add permissions for this page). * Card order should be changeable here * Card background-color should be changeable here * A graphical preview of the cards section should appear here * Cards should be enabled/disabled from here A new plugin should be created for the basic cards * The name of the plugin should be Client Cards * The plugin should include the following cards: Services [Active/Suspended] and Invoices [Proforma/Open (active w/ no date_closed)] * The plugin should be installed with Blesta by default (like the System Overview) * The plugin should be installed when upgrading Blesta to 4.11 The support manager should be updated to include a card: * value_callback: Method returning the number of open support tickets from the client * label: Tickets * link: |
Add summary boxes to the top of the client area dashboard, that provides a quick overview of the account. May need to create a method by which plugins can create their own boxes here, and be enabled/disabled in the admin interface. We may wish to ship, installed by default, a plugin that renders standard boxes that we ship with Blesta, and allow other plugins to create their own.
If there are more than 4, then we can -either create a scroller, or- wrap them onto the next line pushing down the other content. I would probably prefer to have them wrap onto the next line. I've mocked up an example, attached. Colors, exact design, and content of default boxes yet to be determined. ---- This will be a plugin based functionality. Plugins should be able to define a list of "Cards". In spite of the screenshot, these cards should be displayed at the top of the client profile but below the message box. The Plugin class should add a new method getCards() similar to getActions(). Each card should support the following fields: * value_callback: A method defined by the plugin class for calculating the value of the Card. This method should at the least receive a $client_id parameter. * label: A string or language key appearing under the value as a label * html_callback: overrides the value_callback and label fields allowing plugins to insert an custom html in their place through a callback method * link: The link url to use for wrapping the card in an <a> (optional) * background-color: The default background color for this card (optional) * background-image: The default background image for this card (optional) * enabled: Whether this card appears on client profiles by default (optional, default true) Info on these cards, like actions, should be stored in the database and updated automatically on upgrade. A new settings page should be created Company >> Look and Feel >> Client Layout (don't forget to add permissions for this page). * Card order should be changeable here * Card background-color should be changeable here * A graphical preview of the cards section should appear here * Cards should be enabled/disabled from here A new plugin should be created for the basic cards * The name of the plugin should be Client Cards * The plugin should include the following cards: Services [Active/Suspended] and Invoices [Proforma/Open (active w/ no date_closed)] * The plugin should be installed with Blesta by default (like the System Overview) * The plugin should be installed when upgrading Blesta to 4.11 The support manager should be updated to include a card: * value_callback: Method returning the number of open support tickets from the client * label: Tickets * link: client_uri + plugin/support_manager/client_tickets/ * background-color: TBD |
Description |
Add summary boxes to the top of the client area dashboard, that provides a quick overview of the account. May need to create a method by which plugins can create their own boxes here, and be enabled/disabled in the admin interface. We may wish to ship, installed by default, a plugin that renders standard boxes that we ship with Blesta, and allow other plugins to create their own.
If there are more than 4, then we can -either create a scroller, or- wrap them onto the next line pushing down the other content. I would probably prefer to have them wrap onto the next line. I've mocked up an example, attached. Colors, exact design, and content of default boxes yet to be determined. ---- This will be a plugin based functionality. Plugins should be able to define a list of "Cards". In spite of the screenshot, these cards should be displayed at the top of the client profile but below the message box. The Plugin class should add a new method getCards() similar to getActions(). Each card should support the following fields: * value_callback: A method defined by the plugin class for calculating the value of the Card. This method should at the least receive a $client_id parameter. * label: A string or language key appearing under the value as a label * html_callback: overrides the value_callback and label fields allowing plugins to insert an custom html in their place through a callback method * link: The link url to use for wrapping the card in an <a> (optional) * background-color: The default background color for this card (optional) * background-image: The default background image for this card (optional) * enabled: Whether this card appears on client profiles by default (optional, default true) Info on these cards, like actions, should be stored in the database and updated automatically on upgrade. A new settings page should be created Company >> Look and Feel >> Client Layout (don't forget to add permissions for this page). * Card order should be changeable here * Card background-color should be changeable here * A graphical preview of the cards section should appear here * Cards should be enabled/disabled from here A new plugin should be created for the basic cards * The name of the plugin should be Client Cards * The plugin should include the following cards: Services [Active/Suspended] and Invoices [Proforma/Open (active w/ no date_closed)] * The plugin should be installed with Blesta by default (like the System Overview) * The plugin should be installed when upgrading Blesta to 4.11 The support manager should be updated to include a card: * value_callback: Method returning the number of open support tickets from the client * label: Tickets * link: client_uri + plugin/support_manager/client_tickets/ * background-color: TBD |
Add summary boxes to the top of the client area dashboard, that provides a quick overview of the account. May need to create a method by which plugins can create their own boxes here, and be enabled/disabled in the admin interface. We may wish to ship, installed by default, a plugin that renders standard boxes that we ship with Blesta, and allow other plugins to create their own.
If there are more than 4, then we can -either create a scroller, or- wrap them onto the next line pushing down the other content. I would probably prefer to have them wrap onto the next line. I've mocked up an example, attached. Colors, exact design, and content of default boxes yet to be determined. ---- This will be a plugin based functionality. Plugins should be able to define a list of "Cards". In spite of the screenshot, these cards should be displayed at the top of the client profile but below the message box. The Plugin class should add a new method getCards() similar to getActions(). Each card should support the following fields: * value_callback: A method defined by the plugin class for calculating the value of the Card. This method should at the least receive a $client_id parameter. * label: A string or language key appearing under the value as a label * html_callback: overrides the value_callback and label fields allowing plugins to insert an custom html in their place through a callback method * link: The link url to use for wrapping the card in an <a> (optional) * background-color: The default background color for this card (optional) * background-image: The default background image for this card (optional) * enabled: Whether this card appears on client profiles by default (optional, default true) Info on these cards, like actions, should be stored in the database and updated automatically on upgrade. A new settings page should be created Company >> Look and Feel >> Client Layout (don't forget to add permissions for this page). * Card order should be changeable here * Card background-color should be changeable here * A graphical preview of the cards section should appear here * Cards should be enabled/disabled from here A new plugin should be created for the basic cards * The name of the plugin should be Client Cards * The plugin should include the following cards: Services [Active/Suspended] and Invoices [Proforma/Open (active w/ no date_closed)] * The plugin should be installed with Blesta by default (like the System Overview) * The plugin should be installed when upgrading Blesta to 4.11 The Support Manager should be updated to include a card: * value_callback: Method returning the number of open support tickets from the client * label: Tickets * link: client_uri + plugin/support_manager/client_tickets/ * background-color: TBD The Order plugin should be updated to include a card: * value_callback: Method returning the number of pending or accepted orders from the client * label: Orders * link: client_uri + plugin/order/orders/ * background-color: TBD |
Description |
Add summary boxes to the top of the client area dashboard, that provides a quick overview of the account. May need to create a method by which plugins can create their own boxes here, and be enabled/disabled in the admin interface. We may wish to ship, installed by default, a plugin that renders standard boxes that we ship with Blesta, and allow other plugins to create their own.
If there are more than 4, then we can -either create a scroller, or- wrap them onto the next line pushing down the other content. I would probably prefer to have them wrap onto the next line. I've mocked up an example, attached. Colors, exact design, and content of default boxes yet to be determined. ---- This will be a plugin based functionality. Plugins should be able to define a list of "Cards". In spite of the screenshot, these cards should be displayed at the top of the client profile but below the message box. The Plugin class should add a new method getCards() similar to getActions(). Each card should support the following fields: * value_callback: A method defined by the plugin class for calculating the value of the Card. This method should at the least receive a $client_id parameter. * label: A string or language key appearing under the value as a label * html_callback: overrides the value_callback and label fields allowing plugins to insert an custom html in their place through a callback method * link: The link url to use for wrapping the card in an <a> (optional) * background-color: The default background color for this card (optional) * background-image: The default background image for this card (optional) * enabled: Whether this card appears on client profiles by default (optional, default true) Info on these cards, like actions, should be stored in the database and updated automatically on upgrade. A new settings page should be created Company >> Look and Feel >> Client Layout (don't forget to add permissions for this page). * Card order should be changeable here * Card background-color should be changeable here * A graphical preview of the cards section should appear here * Cards should be enabled/disabled from here A new plugin should be created for the basic cards * The name of the plugin should be Client Cards * The plugin should include the following cards: Services [Active/Suspended] and Invoices [Proforma/Open (active w/ no date_closed)] * The plugin should be installed with Blesta by default (like the System Overview) * The plugin should be installed when upgrading Blesta to 4.11 The Support Manager should be updated to include a card: * value_callback: Method returning the number of open support tickets from the client * label: Tickets * link: client_uri + plugin/support_manager/client_tickets/ * background-color: TBD The Order plugin should be updated to include a card: * value_callback: Method returning the number of pending or accepted orders from the client * label: Orders * link: client_uri + plugin/order/orders/ * background-color: TBD |
Add summary boxes to the top of the client area dashboard, that provides a quick overview of the account. May need to create a method by which plugins can create their own boxes here, and be enabled/disabled in the admin interface. We may wish to ship, installed by default, a plugin that renders standard boxes that we ship with Blesta, and allow other plugins to create their own.
If there are more than 4, then we can -either create a scroller, or- wrap them onto the next line pushing down the other content. I would probably prefer to have them wrap onto the next line. I've mocked up an example, attached. Colors, exact design, and content of default boxes yet to be determined. ---- This will be a plugin based functionality. Plugins should be able to define a list of "Cards". In spite of the screenshot, these cards should be displayed at the top of the client profile but below the message box. Create a new table plugin_cards * id INT(10) UNSIGNED AUTOINCREMENT primary key * plugin_id INT(10) UNSIGNED NOT NULL * level ENUM('client', 'staff') NOT NULL DEFAULT 'client' * value_callback VARCHAR(255) NULL DEFAULT NULL * label VARCHAR(255) NULL DEFAULT NULL * html_callback VARCHAR(255) NULL DEFAULT NULL * background_color VARCHAR(255) NULL DEFAULT NULL * background_image VARCHAR(255) NULL DEFAULT NULL * enabled TINYINT(1) NOT NULL DEFAULT '1' The Plugin class should add a new method getCards() similar to getActions(). Each card should support the following fields: * level: The level this card should be displayed on (client or staff) (optional, default client) * value_callback: A method defined by the plugin class for calculating the value of the Card. This method should at the least receive a $client_id parameter. * label: A string or language key appearing under the value as a label * html_callback: overrides the value_callback and label fields allowing plugins to insert an custom html in their place through a callback method * link: The link url to use for wrapping the card in an <a> (optional) * background-color: The default background color for this card (optional) * background-image: The path to the default background image for this card (optional) * enabled: Whether this card appears on client profiles by default (optional, default true) Info on these cards, like actions, should be stored in the database and updated automatically on upgrade. A new settings page should be created Company >> Look and Feel >> Client Layout (don't forget to add permissions for this page). * Card order should be changeable here * Card background-color should be changeable here * A graphical preview of the cards section should appear here * Cards should be enabled/disabled from here A new plugin should be created for the basic cards * The name of the plugin should be Client Cards * The plugin should include the following cards: Services [Active/Suspended] and Invoices [Proforma/Open (active w/ no date_closed)] * The plugin should be installed with Blesta by default (like the System Overview) * The plugin should be installed when upgrading Blesta to 4.11 The Support Manager should be updated to include a card: * value_callback: Method returning the number of open support tickets from the client * label: Tickets * link: client_uri + plugin/support_manager/client_tickets/ * background-color: TBD The Order plugin should be updated to include a card: * value_callback: Method returning the number of pending or accepted orders from the client * label: Orders * link: client_uri + plugin/order/orders/ * background-color: TBD |
Status | In Progress [ 3 ] | In Review [ 5 ] |
Resolution | Fixed [ 1 ] |
Sprint | 4.11.0 Sprint 2 [ 109 ] | 4.11.0 Sprint 3 [ 110 ] |
Rank | Ranked lower |
Time Spent | 1 hour, 24 minutes [ 5040 ] | 4 hours, 33 minutes [ 16380 ] |
Worklog Id | 13709 [ 13709 ] |
Time Spent | 4 hours, 33 minutes [ 16380 ] | 6 hours, 11 minutes [ 22260 ] |
Worklog Id | 13726 [ 13726 ] |
Time Spent | 6 hours, 11 minutes [ 22260 ] | 6 hours, 26 minutes [ 23160 ] |
Worklog Id | 13732 [ 13732 ] |
Time Spent | 6 hours, 26 minutes [ 23160 ] | 1 day, 6 hours, 20 minutes [ 51600 ] |
Worklog Id | 13733 [ 13733 ] |
Time Spent | 1 day, 6 hours, 20 minutes [ 51600 ] | 2 days, 2 hours, 57 minutes [ 68220 ] |
Worklog Id | 13734 [ 13734 ] |
Sprint | 4.11.0 Sprint 3 [ 110 ] | 4.11.0 Sprint 4 [ 111 ] |
Rank | Ranked higher |
Time Spent | 2 days, 2 hours, 57 minutes [ 68220 ] | 2 days, 5 hours, 40 minutes [ 78000 ] |
Worklog Id | 13745 [ 13745 ] |
Status | In Review [ 5 ] | Closed [ 6 ] |