Commit graph

30 commits

Author SHA1 Message Date
Jack Anderson
d8d776a1b8 Update Tests Copyright 2021-03-30 19:22:43 +01:00
Dillon-Brown
674af51eea Update test namespaces
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:22:42 +01:00
Dillon-Brown
06a6932496 Fix unit tests
- Update unit test bootstrap pathing
- Move new theme images to new legacy path
- Fix AccountsNewByMonthMock unit test warning
- Change startLegacyApp to follow the correct method signature

Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:22:36 +01:00
Jack Anderson
e9b9819e7d Accounts Chart Implementation 2021-03-30 19:22:36 +01:00
Clemente Raposo
bfed5ae78e Fix editview metadata loading for Users module
- Properly load the legacy app and router
-- Fixes user module metadata loading
- Adjust unit tests
2021-03-30 19:22:36 +01:00
j.anderson
004247656f Opportunities Chart Implementation 2021-03-30 19:22:35 +01:00
j.anderson
035762ff27 Activities and History Subpanel Changes 2021-03-30 19:22:35 +01:00
Clemente Raposo
bb19193aa1 Use sidebar widgets in list view
- Update list view folder to follow new structure
-- Move list view related components to list view folder
-- Move list view store to list view folder
-- Move list view adapters to list view folder

- Remove old implementation of list view charts
- Use sidebar widgets component

- Add support for declaring list view sidebar widgets
-- Replace ChartDefinitionProvider with ListViewSidebarWidgetDefinitionProvider
-- Add default configuration for list view sidebar widgets

- Add ListQueryDataHandler
-- Allows to easily get the list view query for the criteria set
-- Allows to override query parts and execute it

- Configure leads sidebar widget
- Add LeadsByStatusCount series statistic provider
-- Add unit tests

- Update unit tests
2021-03-30 19:22:35 +01:00
j.anderson
a778e0e504 Add Contracts Subpanel Implementation 2021-03-30 19:22:35 +01:00
j.anderson
6065c9c22a Campaign subpanel implementation 2021-03-30 19:22:35 +01:00
j.anderson
68a9e70345 Add quotes insight 2021-03-30 19:22:34 +01:00
j.anderson
4db1d03190 Tidy Invoice Subpanel Insight 2021-03-30 19:22:34 +01:00
j.anderson
65a1dd98b5 testing 2021-03-30 19:22:34 +01:00
j.anderson
9855c638c6 Invoice Subpanel implementation 2021-03-30 19:22:34 +01:00
j.anderson
adca306c93 Add Cases Subpanel Implementation 2021-03-30 19:22:34 +01:00
Dillon-Brown
2114e123d8 Implement skipped tests
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:22:34 +01:00
j.anderson
9fdfb4c73d Add Contact Subpanel implementation 2021-03-30 19:22:34 +01:00
j.anderson
abb164315c Fix Test Files 2021-03-30 19:22:34 +01:00
j.anderson
eb7ec59014 Add History Subpanel implementation 2021-03-30 19:22:34 +01:00
j.anderson
0d9c019b57 Add Activities Implementation 2021-03-30 19:22:34 +01:00
j.anderson
f57828ca69 Add event subpanel implementation 2021-03-30 19:22:33 +01:00
j.anderson
06a9cb9742 Add CasesPerAccount and CaseAccountDateEntered Statistics 2021-03-30 19:22:33 +01:00
Clemente Raposo
69325626aa Add Opportunity Size Analysis statistic
- Add OpportunitiesForUser statistic
- Add OpportunitySizeAnalysis statistic
- Add PreparedStatementHandler
- Add number statistic builder method
- Add codeception unit tests
2021-03-30 19:22:33 +01:00
Dillon-Brown
661f23f04a Update test mock namespaces
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:22:33 +01:00
j.anderson
48900113aa Add Tasks Top Widget 2021-03-30 19:22:32 +01:00
Clemente Raposo
68d0d07a1e Add RecordView configurable SidebarWidgets
- Add dynamic sidebar widget component
- Move history-timeline to sidebar widget component
- Add chart sidenar widget componet
- Add charts-data store
- Add multiseries-statistics store
- Add support for recordView defs sidebarWidget configuration
- Apply formatting to yAxis ticks
- re-factor currency and number formatting to be re-usable
-- Add NumberFormatting and CurrencyFormatting services
-- Change corresponding pipes to use services
- Move utils to app-common
- Re-factor charts component
-- to be able to receive data an configs from backend
- Re-factor widget into widget-panel
- Move front-end data lisview charts to list-chart component

- Add support for fetching several rows in SubpanelDataQueryHandler

- Adjust and standardize Statistic API structure
-- Add SeriesResponse Model
-- Add multi-series response building helper methods

- Adjust tests
2021-03-30 19:22:32 +01:00
Dillon-Brown
a267325698 Update codeception namespaces
- Refactor codeception test namespaces
- Remove local config files in favor of dist
- Update test environment with doctrine and nelmio configurations

Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:22:32 +01:00
j.anderson
aeff40fec1 Add tests for Case Days Open 2021-03-30 19:22:32 +01:00
Clemente Raposo
857296f935 Add LeadsDaysOpen Statistic
- Add Statistic implementation class
- Add codeception unit test
-- change mock sql results handling
2021-03-30 19:22:32 +01:00
Clemente Raposo
d5a86261f4 Add OpportunitySalesStageTimeSpan Statistic
- Add OpportunitySalesStageTimeSpan statistic provider
- Add AuditQueryingTrait to have it re-usable
- Add common methods to StatisticsHandlingTrait
- Add support to send labelKey in the statistic response
- Add top widget reloading on save
-- Add refreshOnRecordUpdate flag to allow configuration
- Only do top widget and subpanel calls after record data returns
2021-03-30 19:22:32 +01:00