Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IVYPORTAL-17427 Remove old statistics document #1041

Merged
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,52 +3,6 @@
Additional Components
=====================

.. _components-additional-component-task-analysis:

Task Analysis
-------------

.. _components-additional-component-task-analysis-introduction:

Introduction
^^^^^^^^^^^^

The Portal's Task Analysis component provides features in accordance with the
user's permission :bdg-ref-warning:`🔑StatisticAnalyzeTask <StatisticAnalyzeTask>`. Refer to
:dev-url:`Security section in Cockpit
</doc/|version|/engine-guide/reference/engine-cockpit/security.html>` to
analyze not only tasks but also cases. These features are:

#. Sets of filters for both tasks and cases which allow to filter
and find tasks and cases easier. Additionally, user can create and
manage their own filter sets.

#. Dynamic result table with lots of information for both task and case.

#. Export results into an Excel files (currently we only support .xlsx
extension).

|task-analysis|

.. _components-additional-component-task-analysis-how-to-use:

How to Use
^^^^^^^^^^

The Task Analysis component is integrated into the Statistics widget. You can
use this component directly when opening the Statistics widget. If you want to
use this component, you only have to redirect to the Task Analysis component
with the following code:

.. code-block:: java

import com.axonivy.portal.components.publicapi.ProcessStartAPI;
import java.util.HashMap;
import javax.faces.context.FacesContext;

String taskAnalysisUrl = ProcessStartAPI.findRelativeUrlByProcessStartFriendlyRequestPath("Start Processes/PortalStart/showTaskAnalysis.ivp");
FacesContext.getCurrentInstance().getExternalContext().redirect(taskAnalysisUrl);

.. _components-additional-component-global-growl:

Global Growl
Expand Down Expand Up @@ -136,6 +90,5 @@ This decorator offers the following parameters:
:widths: 20 10 25 45


.. |task-analysis| image:: ../../screenshots/components/task-analysis.png
.. |example-global-growl-finished-task| image:: ../../screenshots/components/example-global-growl-finished-task.png
.. |example-global-growl-cancelled-task| image:: ../../screenshots/components/example-global-growl-cancelled-task.png

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ You find ``portal-developer-examples`` in the engine demo mode or import them in
task-delegation
task-item-details
case-item-details
default-chart
default-chart-colors
change-password-process
logout-process
navigate-back
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Menu And Default Homepage In User Profile
Introduction
------------

The Portal main menu has five default items: Dashboard, Processes, Tasks, Cases and Statistics.
The Portal main menu has four default items: Dashboard, Processes, Tasks and Cases.

|default-menu-items|

Expand Down Expand Up @@ -151,7 +151,7 @@ The basic JSON structure of a custom menu item
Hide default menu items
-----------------------

You can hide four default menu items: Processes, Tasks, Cases and Statistics from the main menu
You can hide four default menu items: Processes, Tasks and Cases from the main menu
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Watch for spelled numbers -- four <> set.size({processes, tasks, cases})
;-)

by using :ref:`Portal permissions <settings-permission-settings-others>`.

.. |default-menu-items| image:: ../../screenshots/dashboard/expanded-left-menu.png
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,6 @@ You can customize the Portal styles in ``custom.css``.
.. warning::
- Do not change ``font-family`` property values.

- Limitation: the task priority color customization hasn't changed the task priority colors in statistic.

If you want to custom color of statistics please refer to :ref:`Override Statistic color <override-Statistic-colors>`

.. |css_variable| raw:: html

<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties" target="_blank">CSS Variable</a>
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,6 @@ Migrate 9.3 To 9.4

#. The ``DefaultChartColor.p.json`` subprocess has been removed, in case you use it in your project, please remove override this subprocess and switch to using
:dev-url:`Engine Branding </doc/|version|/designer-guide/user-interface/branding/branding-engine.html>` to customize chart, data labels, legend color.
Refer to :ref:`Default chart colors <customization-default-chart-colors>`.

#. Deploy :download:`portal-migration-9.4.0.iar <documents/portal-migration-9.4-9.4.0.iar>` project to your Ivy application and run it by access link
``your_host/your_application/pro/portal-migration/175F92F71BC45295/startMigrateConfiguration.ivp``
Expand All @@ -355,7 +354,6 @@ Migrate 9.2 To 9.3
* Run migration process only once

#. We changed the way to navigate to Task Analysis component. Process ``Start Processes/TaskAnalysis/start.ivp`` is moved to new place ``Start Processes/PortalStart/showTaskAnalysis.ivp``.
Refer to :ref:`Task Analysis call<components-additional-component-task-analysis-how-to-use>` for details.

#. We moved the configuration of announcement, thirdparty applications, default statistic charts, application favorite processes, public external links and express processes from the BusinessData tovariables.

Expand Down Expand Up @@ -482,6 +480,11 @@ Release notes
This part lists all relevant changes since the last official product
releases of |ivy|.

Changes in 12
-------------

- The old statistic chart is removed, use new :ref:`statistic-chart` instead.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use new --> use the new


Changes in 11.2.0
-----------------

Expand Down Expand Up @@ -525,7 +528,7 @@ Changes in 9.4

- Introduced the ``Formatting language setting`` to format values, for example the decimal separator is displayed differently in different regions of the world.

- Removed subprocess ``DefaultChartColor.p.json``, introduced some Portal variables for customizing the default chart color. See details: :ref:`Default chart colors <customization-default-chart-colors>`.
- Removed subprocess ``DefaultChartColor.p.json``, introduced some Portal variables for customizing the default chart color.

- Introduce some components in new ``portal-components`` project.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,6 @@ Portal General Permissions

- Granted to role Everybody by default

- _`AccessFullStatisticsList`
- Permission to access the statistics section. See :ref:`full-statistic-list`.

- Granted to role Everybody by default

- _`TaskCaseAddNote`
- Permission to add notes to a task/case

Expand Down Expand Up @@ -261,19 +256,6 @@ Portal Absence And Substitute Permissions
- _`UserReadSubstitutes`
- Permission to read substitutes of all users


Portal Statistic Permissions
----------------------------

- _`StatisticAddDashboardChart`
- Permission to add dashboard charts

- Granted to role Everybody by default

- _`StatisticAnalyzeTask`
- Permission to analyze, filter tasks and export data to excel for advanced analysis


Portal Express Permissions
--------------------------

Expand Down
Loading
Loading