Commit graph

6 commits

Author SHA1 Message Date
Clemente Raposo
a1d95fa3dd Add eslint back
- re-configure eslint to match the new structure
2021-03-30 19:22:47 +01:00
Clemente Raposo
139ad660b8 Add RecordView configurable TopWidgets
- Structure re-factor
-- Move record view components to record view folder
-- Move record view store to record view folder
-- Add containers folder
--- add @containers alias
-- Move Subpanels to containers folder
-- Move subpanel-statistics.store to single-value-statistics.store

- Make administration repair a cache reset action

- Add dynamic top widget component
- Add statistics top widget component
- Add support for recordView defs topWidget configuration

- Adjust and standardize Statistic API structure
-- Add metadata to response.
--- Metadata should drive widgets behavior
-- Change existing StatisticsProviderInterface implementations to send back metadata

- Add SubpanelDataQueryHandler to make custom queries easier
-- Allows to get the query done to fetch subpanel data
-- Allows to run custom queries
- Add WonOpportunityAmountByYear using custom query
- Implement SubpanelOpportunitiesTotal using custom query

- Add karma/jasmine tests
2021-03-30 19:22:31 +01:00
Clemente Raposo
994b2c69bf Update list view api data retrieval
- Update ListViewHandler to use new method to retrieve data
- Update View definitions api to send fieldDefinitions as sub-object
- Update table and list view components to use new data format
- Move common front end interfaces to a common module
- UnEscape and sanitize html characters in varchar field
-- Add htmlSanitize pipe
- Update unit tests
2021-03-30 19:22:29 +01:00
Clemente Raposo
013d5c2919 Configure eslint typescript imports
- Fix false positive errors on eslist ts imports
- Add eslint-import-resolver-alias
-- Add typescript path aliases as eslint alias
- Add eslint-import-resolver-typescript
2021-03-30 19:21:35 +01:00
Clemente Raposo
f10cc2812f Display selected module on navbar
- Add current module and action to AppState
- Calculate current module and action in BaseModuleResolver
-- Add logic to show current module as active on
--- import and find duplicates
- Update legacy handler method to retrieve available modules
-- Also send invisible modules, to
--- Allow to display invisible modules as the selected module
-- Update module name mape
- Retrieve number of navbar items from backed

- Fix grouped tab links
- Simplify navbar abstract by simplifying parameters
-- passing language map instead of individual language
-- passing navigation object instead of individual parts
- Create smaller components for repeated parts of navbar
-- grouped-menu-item
-- menu-item
-- menu-item-link
-- menu-item-list
-- home-menu-item
-- home-menu-recently-viewed

- Removing "jsdoc/no-types" from eslint
-- To avoid conflicts with jsdoc/require-param-type
2021-03-30 19:21:35 +01:00
Dillon-Brown
0df81cbb98 Add eslintrc and all necessary dependencies to handle linting javascript/typescript
- Add engines to specify the engines needed to build and run the project.
- Add browserslist to dynamically handle our supported browsers with for all our automated tooling and inspections.
- Add typescript-eslint/eslint-plugin and typescript-eslint/parser to handle typescript parsing.
- Add eslint-plugin-compat to share configurations between our automated tools.
- Add eslint-plugin-import in order to create an eslint that matches our existing tslint config without losing functionality.
- Add eslint-plugin-jsdoc in order to create an eslint that matches our current tslint config without losing functionality.
- Add eslint-plugin-jasmine to provide support for jasmine testing.
- Removed unused tslint.json
2021-03-30 19:21:32 +01:00