Commit graph

433 commits

Author SHA1 Message Date
Clemente Raposo
f315b3f839 Setup warning messages
- Set them do auto cole after preset timeout
- Allow setting label key
2021-03-30 19:22:35 +01:00
Clemente Raposo
801632388b Add field type validators
- Add validators for specific field types
2021-03-30 19:22:35 +01:00
Clemente Raposo
ba542821c2 Fix field mapping to internal format
- Use user format when building field formControl
- Fix phone formatter regex
- Add edit mode option to currency user formatting
- Cleanup date and datetime formatters
- Fix toInternalFormat processing
2021-03-30 19:22:35 +01:00
Clemente Raposo
bb8d75a38b Temporarily disable date and datetime edit components
- Date and datetime edit compoenents aren't working properly
- Fallback to varchar edit
- Keep date / datetime validations
2021-03-30 19:22:35 +01:00
Clemente Raposo
f0d198141d Add frontend validation structure
- Move FieldManager to a service
- Add formControl to Field interface
- Initialize FormControl in FieldManagerBuild
- Setup field validations when building field
-- Add StandardValidatorFn, StandardValidationErrors interfaces
-- Add Validation Manager
--- Look at fieldDefinitions
--- Look at type definitions
-- Add required validation
- Replace 2way databinding usages with formControl in fields
- Convert input value to internal format, on change
-- Add DataTypeFormatter to BaseField
-- Add and implement toInternalFormat on all formatters
-- Add phone and date formatters
- Display error messages in generic field component
- Call validate up save
-- Only allow saving when all fields are valid
2021-03-30 19:22:35 +01:00
Clemente Raposo
fccb03ca52 Add dynamic labels
- Add dynamic label service
-- Add micro string template parsing
- Add dynamic label component
- Add karma/jasmine tests
2021-03-30 19:22:35 +01:00
Clemente Raposo
2c8b31dd0f Install lodash 2021-03-30 19:22:35 +01:00
Clemente Raposo
4515a53063 Merge editviewdefs into record view definitions
- Read editviewdefs displayParams
-- Read readOnly and required attributes
-- Merge into current definition
- Read detailviewdefs displayPara,s
-- Read readOnly and required attributes
2021-03-30 19:22:35 +01:00
Clemente Raposo
f00a920cfd Remove deprecated submit field component 2021-03-30 19:22:35 +01:00
Clemente Raposo
f22144049f Remove deprecated collection component 2021-03-30 19:22:35 +01:00
Clemente Raposo
bac3d7d0ca Remove deprecated assignedusername component 2021-03-30 19:22:35 +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
balumahendran
af00ddacdd Navbar Styling 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
Clemente Raposo
f80c50f72a Remove deprecated button field
- deprecated code.
2021-03-30 19:22:35 +01:00
balumahendran
7282aaa068 Title Header Module Alignment 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
60a44c9868 Add Default Subpanel Stat 2021-03-30 19:22:34 +01:00
j.anderson
8498cf2f19 Enhance Insights for Custom Relationships 2021-03-30 19:22:34 +01:00
Dillon-Brown
6569b061e8 Fix inspections
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
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
Clemente Raposo
ca4b9ced9a Fix Accounts per month chart
- Remove wrong data format parsing
-- now the backend data always comes in db format
2021-03-30 19:22:34 +01:00
Clemente Raposo
2d67efde52 Fix OpportunitySalesStageTimeSpan Statistic
- Remove order_by leftover
-- Caused issues when sql_mode=only_full_group_by is enabled
2021-03-30 19:22:34 +01:00
j.anderson
af75e70c97 Fix infinite loading on subpanel 2021-03-30 19:22:34 +01:00
j.anderson
18453d52aa Fix infinite loading on widget 2021-03-30 19:22:34 +01:00
Dillon-Brown
952d635ff9 Update Composer
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:22:34 +01:00
Dillon-Brown
d726904517 NPM Update
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:22:34 +01:00
Dillon-Brown
9dc999d5a5 Fix OpportunitySalesStageTimeSpanTest
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:22:34 +01:00
Dillon-Brown
2d6128e09e Add compiled CSS files to gitignore
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:22:34 +01:00
Dillon-Brown
12c9bec2a1 Fix statistics unit tests
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:22:34 +01:00
j.anderson
ff3c901ff0 Remove days from task completion 2021-03-30 19:22:34 +01:00
j.anderson
420bd2fc85 Change datetime to date for events subpanel 2021-03-30 19:22:34 +01:00
j.anderson
e08f641f31 Add html for label and changes to stats 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
Clemente Raposo
7477586d03 Send SubPanelActivitiesNextDate insight dates in db format
- Send dates in db format as expected by the frontend
- Fix unit tests
2021-03-30 19:22:34 +01:00
Clemente Raposo
611d7a9999 Fix Record Deletion
- Use Bean retrieve method instead of BeanFactory getBean
-- doesn't work with mark_deleted and related records
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
Clemente Raposo
09bcf1c871 Message component enhancements
- Adjust alert position
- Add ability to close when clicking in any part of the alert
- Add timer to auto-close success messages
-- Make timeout configurable through the backend
- Add fade in and fade out effects
- Add min width to alerts
- Add karma / jasmine tests
2021-03-30 19:22:34 +01:00
Clemente Raposo
ba06de710d Fix Activities and History subpanel definition loading
- Retrieve correct header definition for collection subpanels
- Fix subpanel buttons for actions pointing to other modules
2021-03-30 19:22:33 +01:00
Clemente Raposo
3a1f48ae08 Align top widget value and label 2021-03-30 19:22:33 +01:00
Clemente Raposo
05b221913f Remove border from panel component 2021-03-30 19:22:33 +01:00