Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 5.4.0 #461

Merged
merged 123 commits into from
Nov 5, 2020
Merged

Release 5.4.0 #461

merged 123 commits into from
Nov 5, 2020

Conversation

iCollin
Copy link
Collaborator

@iCollin iCollin commented Nov 4, 2020

Completed Features

Completed Bug Fixes/Enhancements

AKalinich-Luxoft and others added 30 commits March 4, 2020 10:36
* External OnSystemRequest retry fxes

* Address comment fixes
Window capabilities structure has been updated to reflect
all the latest changes in app template switching.
Now it will be calculated according to registered app HMI
type.
Also were removed keyword WEB_ENGINE as there is no
such template name.
jacobkeeler and others added 28 commits October 15, 2020 10:56
…_in_nav_view

Fix/326 no display mode change in nav view
In case when commands organized in a tree hierarchy there
might be a case when applicaiton deletes command with
childs. In that case SDL removes parent command first and then
all its childs starting from the bottom one. In case when SDL
tries to remove the last child, HMI responds with INVALID_ID
because it can't find that node by menu_id as its parent was
deleted first.
To fix that issue, logic of commands removal was updated so
now HMI responds with SUCCESS if commandsList contain
the array by menuID. It makes more sense because parent
node could be deleted first.
* vr USER_EXIT command type changed to application so it appears in all views

* use exit action for application vr command exit
…s_list

Fix app permissions view when groups are removed
There was noticed that in several cases promise statement
continues to execute even after resolve()/reject() was called
in early if statement. This is because JS has the concept
"run to completion". Unless an error is thrown, a function is
executed until a return statement or its end is reached.
To fix that, return statements have been placed for cases
where resolve/reject is called early. This prevents functions
to execute unnecessary code.
Since the return value of the callback is ignored, we can save a
line by returning the reject/resolve statement.
…s provided (#344)

* Fix PerformInteraction + ScrollableMessage response

* Fix Show + SetGlobalProperties response

* Fix UpdateTurnList + ShowConstantTBT + SendLocation response

* Fix AlertManeuverPopUp response

* Fix AddCommand + AddSubMenu response

* fixup! Fix AddCommand + AddSubMenu response

* fixup! Fix AddCommand + AddSubMenu response

Co-authored-by: YarikMamykin <ymamykin@gmail.com>
Co-authored-by: Andrii Kalinich <AKalinich@luxoft.com>
#368)

* Fix softButton is not displayed properly in day/night/highlighted mode

* updated fix softButton is not displayed properly in day/night/highlighted mode

* fixup! updated fix softButton is not displayed properly in day/night/highlighted mode

Co-authored-by: yurii <ypostolov>
Co-authored-by: Andrii Kalinich <AKalinich@luxoft.com>
* Replace multiple getters with a signgle variable

* Fix TypeError while iterating veHelp

Was added one more check to verify if vrHelp item
contains image object or not as it might be not mandatory
according to HMI_API.

* fixup! Fix TypeError while iterating veHelp

* fixup! Fix TypeError while iterating veHelp
* Fix sending errorneous response with params

According to SDL specification there is no custom API params
expected in "data" section of erorneous response by desgin.
By that reason SDL just cuts off all such params and ignores
their values. In particular case, SDL ignores `tryAgainTime`
of SubtleAlert errorneous response and does not forward it
to mobile.
To avoid such issues, errorneous responses with custom
params from API should be sent in the `result` section of
response. Corresponding function has been updated to cover
this test case. For case of errorneous response without custom
params, errorneous message can be sent as usual.

* send warnings with info in error format

* move result adjustment to after error check

* remove info from success schema, apply to all interfaces

* fixup! remove info from success schema, apply to all interfaces

fix whitespace in ttsrpc.js

* apply for any success code, add TODO note

* remove result code check from sendError on each interface

* Update ffw/NavigationRPC.js

Co-authored-by: JackLivio <jack@livio.io>

* apply params changes to each interface

* fix spelling and whitespace

Co-authored-by: Andrii Kalinich <AKalinich@luxoft.com>
Co-authored-by: JackLivio <jack@livio.io>
…d_SubtleAlert_related_text_fields

Added SubtleAlert RPC missing text fields in UI.GetCapabilities response
Fix vehicle data issues found during testing
…ource_processing

Process remaining show message params in case of UNSUPPORTED_RESOURCE
…on messages (#437)

Co-authored-by: yurii <ypostolov>
HMI internal commands should be added by default for each
application and should not depend on HMI settings.
Added check to make an exception for such commands.
* Fix AlertManeuver buttons behavior

Do not display system defined close button when soft
buttons are shown.
To keep context for AlertManeuver, HMI should reset
timeout using TTS interface as SDL does not listen to
UI part.

* Add default action to close button

Also action was replaced with actionUp to avoid
unnecessary buttonUp events capturing by controls
on the bottom view.
* Fix response params forwarding

There was noticed a regression that HMI does not forward
params in case of error. This is because of complicated and
wrong logic of calculation of some corner cases.
To avoid that, condition was reformatted as a more readable
separate function.

* Apply fix for the rest of interfaces
HMI should not sent empty permission consents to SDL as
this is invalid notification according to API.
Also, was fixed appID parameter for a selected application.
* Add template images support for POI list

There was missing button template type for a left text overlay.
Also, template style was not applied when list items were
constructed initially

* Added image mode support for missing elements
The was noticed a wrong image validation logic in mentioned
rpcs. In all cases HMI responds twice - first time with
regular result code and the second time with the result of
images validation.
To fix that, image validation has been placed into the proper
place in the code and appropriate breaks were added.
Also, was added timer stop for AlertManeuver popup.
@iCollin iCollin merged commit 3bbcd28 into master Nov 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants