Commit graph

3135 commits

Author SHA1 Message Date
Dillon-Brown
17fedebf06 Add record-view header new button
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:21:39 +01:00
Dillon-Brown
76ea67dd8a Add record header component title
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:21:39 +01:00
Garry Henderson
353210fada Add dividing line & adjust padding by screen size 2021-03-30 19:21:39 +01:00
Garry Henderson
022918f786 Footer stays at bottom of page 2021-03-30 19:21:39 +01:00
Dillon-Brown
c4b7604ae1 Implement record-view routing
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:21:39 +01:00
Garry Henderson
c37dd88cd1 Correct row stripe colours, remove border 2021-03-30 19:21:39 +01:00
Garry Henderson
360cbd7990 Fix font size/spacing and button height 2021-03-30 19:21:39 +01:00
Clemente Raposo
ad9c2f21a0 Add proper module route resolver errors
- Catch resolver errors properly
- Add message in case of error
- Only change the current module and action when there are no errors
- Remove base list resolver as all can be within the base module resolver
2021-03-30 19:21:39 +01:00
Clemente Raposo
58886232f6 Add message to ListView when no records are found
- Check if there are records and show message if list is empty
2021-03-30 19:21:39 +01:00
Clemente Raposo
f66a7ff649 Fix list view rendering issue
- field name not properly picked up for some modules
2021-03-30 19:21:39 +01:00
Dillon-Brown
59d440726b Update list-view app routing to include all modules 2021-03-30 19:21:39 +01:00
Dillon-Brown
5cbc4311e9 Implement record-view history widget
- Add base sidebar widget for record-view
- Add dynamic widget title for list-view and record-view

Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:21:39 +01:00
Dillon-Brown
5a411afe08 Implement record-view structure
- Add record-container component.
- Add record-header component.
- Add status-bar component.
- Add subpanel component.
- Add widget types to widget component.
- Add initial SASS styling for record-view.

Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:21:39 +01:00
Dillon-Brown
c5ee6b4f8e Implement record-view routing
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:21:39 +01:00
Dillon-Brown
573fed6d2b Implement chart loading splash 2021-03-30 19:21:39 +01:00
Pedro Ernst
c2b92c8967 Line Actions Fixes
Correctly set labels on line actions
Increase spacing between line action icons
Fix return module after creating related record
2021-03-30 19:21:39 +01:00
Clemente Raposo
f837f50f17 Add accounts types per month chart
- Add line chart rendering in charts component
- Rename chart to account_types_per_month
- Show all month number on x axis
- Group account data
- Add date parsing using luxon
-- Add luxon library
- Remove pipeline-chart to make chart centered
2021-03-30 19:21:39 +01:00
Dillon-Brown
118f523066 Add accounts chart 2021-03-30 19:21:38 +01:00
Pedro Ernst
91a1469662 Fix login with new users breaking the auth process 2021-03-30 19:21:38 +01:00
Clemente Raposo
2932630c1d Change Filter Panel label 2021-03-30 19:21:38 +01:00
Clemente Raposo
4809bf5be9 Add leads by status list view charts
- Add pie-grid-chart component
- Add leads by status data source
- Adjust charts component
2021-03-30 19:21:38 +01:00
Clemente Raposo
07e9dbfd99 Add pipeline-by-sales-stage chart
- Add re-usable vertical-bar-chart with expected data source
- Add pipeline-by-sales-stage that implements the vertical-bar-chart data source
- Add keyed charts to charts component to add more in the future
- Add sample y axis formatting
- Add sample tooltip formatting
2021-03-30 19:21:38 +01:00
Dillon-Brown
a4797775de Implement chart module UI 2021-03-30 19:21:38 +01:00
Pedro Ernst
1c35bdd580 Feature #11505 List View Line Actions
Add line actions to listview to allow creating related records
2021-03-30 19:21:38 +01:00
Clemente Raposo
8011c20cbc Add link field navigation
- Remove link from varchar component
- Add link to generic field component to apply to several types of fields
-- Add record property to generic field component
-- Add link generation based on the record and module
- Add module information to list view metadata field
- Pass record information on list view table field rendering
- Rename interfaces to have a clear meaning

Add link field navigation

- Remove link from varchar component
- Add link to generic field component to apply to several types of fields
-- Add record property to generic field component
-- Add link generation based on the record and module
- Add module information to list view metadata field
- Pass record information on list view table field rendering
- Rename interfaces to have a clear meaning
2021-03-30 19:21:38 +01:00
Dillon-Brown
c9dc2217c3 Create base email component 2021-03-30 19:21:38 +01:00
Dillon-Brown
8debeb560d Add link to base varchar component 2021-03-30 19:21:38 +01:00
Dillon-Brown
5eed974fa2 Remove hardcoded email field from list-view 2021-03-30 19:21:38 +01:00
Clemente Raposo
d8179f5324 Add listview menu action improvements
- Add actionLabelKeys to the navbar api
- Use actionLabelKeys in action-menu
- Filter out the List / View action in te action-menu
- Change module-navigation getActionLabel to support declaring the labelKey to use
- Fix unit test
2021-03-30 19:21:38 +01:00
Clemente Raposo
f027fc5a75 Remove ending colon on app strings and mod strings
- Remove the ending colon on the legacy handlers as the labels get cached afterwards
2021-03-30 19:21:38 +01:00
Pedro Ernst
13cf4119dd Feature #10442 List Bulk Delete Action
Implement bulk delete handler and process
2021-03-30 19:21:38 +01:00
Garry Henderson
cf76c0e020 Replace grey panel border with shadow 2021-03-30 19:21:38 +01:00
Clemente Raposo
2c7d4a91e6 Fix Karma tests
- Fix ExportBulkAction mock
- Add listview_column_limits to mock system configs
2021-03-30 19:21:38 +01:00
l.wilson
1919cc1d21 CSS style fixes to List View
- Align action and option buttons to the right

- Css fix bulk action text vertical alignment

- Css fix left side alignment of list body

- Css fix nav home icon offset
2021-03-30 19:21:38 +01:00
Clemente Raposo
bc3a124835 Fix list view table column display on mobile view 2021-03-30 19:21:38 +01:00
Clemente Raposo
ee454f7195 Set list view table layout as fixed
- Set table layout as fixed for better display and support displaying cells with long content
2021-03-30 19:21:38 +01:00
l.wilson
f3a4dd6488 Change bulk action dropdown hover color, border and size 2021-03-30 19:21:38 +01:00
l.wilson
aa7b063947 CSS fixes to list view checkbox column width and select checkbox size 2021-03-30 19:21:38 +01:00
Dillon-Brown
29544dd524 Add chart button display when available 2021-03-30 19:21:38 +01:00
Garry Henderson
e5fba6e3fb [Legacy] Add entry to configHandler & charts label 2021-03-30 19:21:38 +01:00
Garry Henderson
2eca6056da Display/hide listview columns by screen size 2021-03-30 19:21:38 +01:00
Garry Henderson
f00ec67432 apply table-striped bootstrap class 2021-03-30 19:21:38 +01:00
l.wilson
05e4028265 Filter style fixes and hide saved/quick filter buttons 2021-03-30 19:21:38 +01:00
Clemente Raposo
cd7c611069 Set symfony profiler to track exceptions only
- Avoid having huge volume of cached data
2021-03-30 19:21:38 +01:00
Clemente Raposo
2a4e209614 Add Csv export bulk action
- Add CsvExportBulkAction process handler to provide the download information
- Extract legacy filter handling code to the LegacyFilterMapper.php service
- Add ExportBulkAction angular service to download the file using the info provided
2021-03-30 19:21:38 +01:00
Clemente Raposo
8881bc85f9 Add Merge bulk action
- Add base frontend bulk action handling
-- Add max min validations
-- Add generic backend bulk action process call
- Add front end redirect handler
-- Can be re-used by several bulk actions if needed
- Add MergeRecordsBulkAction.php backend handler
-- Handle the the bulk action process request
-- Tells front end if extra handling is needed

- Fix bug list view metadata sent to the front end
2021-03-30 19:21:38 +01:00
Dillon-Brown
8a5a002e76 Add chart type selection dropdown 2021-03-30 19:21:37 +01:00
Dillon-Brown
2f5472f3c3 Add initial chart configuration for listview
- Create charts.yaml configuration.
- Add chart interface.
- Add chart service to fetch chart config.
2021-03-30 19:21:37 +01:00
Dillon-Brown
a41ab09f58 Fix the ViewDefinitions API not sending types 2021-03-30 19:21:37 +01:00
Clemente Raposo
e8112140af Enable new list view for a set of modules 2021-03-30 19:21:37 +01:00