This commit is contained in:
@@ -1422,7 +1422,21 @@ BUILD 8.0.0-beta.0.11 CHANGES OF NOTE
|
||||
- Changed "Service" role translation to "Service manager" (and other languages equivalent)
|
||||
- admin -> attachments not using correct icon, changed to paperclip from folder icon
|
||||
- History form event "utility file downloaded" wasn't properly enabled, fixed
|
||||
- refactor
|
||||
*** TODO: check that about form properly shows user name and some other fields due to removing this. from template
|
||||
- refactored many forms source code, should be no visible difference
|
||||
- Report editor multiple changes
|
||||
- updated the report editor component to a much newer version
|
||||
- added "linting" (error checking) for javascript
|
||||
will now show a red squiggly line if there is a syntax or semantic error in the js code, hover over the line to see the error message
|
||||
this means that it will point out errors in the code that should be fixed, please open all reports and check the prepare data code for errors and fix
|
||||
the most common error I've seen will be undeclared variables shown as "cannot find name 'xxx' (2304)" when you hover the mouse over the red squiggly
|
||||
this means a variable used without declaration so for example "for (EachGroup of ayData.ayReportData) " will show error on EachGroup as it's not declared.
|
||||
to fix this put "const" in front unless the variable will be later reassigned in which case put "let" in front. Easiest way is put const in front and it will give an error if it should be let
|
||||
so the above example would turn into "for (const EachGroup of ayData.ayReportData) "
|
||||
Any other non-obvious errors it shows let me know it may be something I need to tweak
|
||||
|
||||
- added intellisense (actually part of above error checking but it's a side bonus)
|
||||
Will now show intellisense when you type for the built in functions like ayGetFromAPI() etc with prompts on what to enter
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user