Commit Graph

34 Commits

Author SHA1 Message Date
Avgustin Marinov
10da0288d9 Fix sonar findings (#2572)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-07-30 10:13:23 +03:00
Florian BEZANNIER
d2b8e74056 Improve Simple UI (#2554)
* feat[Simple-UI]: add action status list

* fix[Simple-UI]: various ui issues

* chore: add devtool

* feat[Simple-UI: add DS metadata

* feat[Simple-UI]: add sort in DS view

* feat[Simple-UI]: add created at to DS view

* style[Simple-UI]: remove id from DS view

* feat[Simple-UI]: add rsql filter & url filter

* feat[Simple-UI]: if one ds in result show details

* feat[Simple-UI]: add filter from url to targetview

* feat[Simple-UI]: add link from target details view to DS

* feat[Simple-UI]: add sort & version on target view

* refacto[Simple-UI]: linkted text area

* feat[Simple-UI]: dynamic homepage depending on permissions

* feat[Simple-UI]: sort by newest version

* feat[Simple-UI]: add target address

* feat[Simple-UI]: sort by last modified target

* fix[Simple-UI]: securityToken null if no permission

* fix[Simple-UI]: green circle on bad update

* feat[Simple-UI]: use local date format

* docs: update user config

* fix: tag filter

* feat[Simple-UI]: search on multiple attributes

* refacto: rename TargetActions -> TargetActionsHistory

* refacto: move TargetActionsHistory to a new file
2025-07-28 16:07:25 +03:00
Stanislav Trailov
51ba6b9a1a Group support in create target dialog (#2552)
Signed-off-by: strailov <Stanislav.Trailov@bosch.io>
2025-07-16 09:36:05 +03:00
Stanislav Trailov
b4793fcce1 Introduce target grouping (#2538)
* Introduce target grouping

Signed-off-by: strailov <Stanislav.Trailov@bosch.io>

* minor refactor

Signed-off-by: strailov <Stanislav.Trailov@bosch.io>

* throw validation exception instead direct returning bad request response

Signed-off-by: strailov <Stanislav.Trailov@bosch.io>

* fix group query parameter

Signed-off-by: strailov <Stanislav.Trailov@bosch.io>

* remove wrongly added import

Signed-off-by: strailov <Stanislav.Trailov@bosch.io>

* add review fixes

Signed-off-by: strailov <Stanislav.Trailov@bosch.io>

* apply latest review changes

Signed-off-by: strailov <Stanislav.Trailov@bosch.io>

* apply latest changes after sybnc/review

Signed-off-by: strailov <Stanislav.Trailov@bosch.io>

* fix after review

Signed-off-by: strailov <Stanislav.Trailov@bosch.io>

---------

Signed-off-by: strailov <Stanislav.Trailov@bosch.io>
2025-07-14 15:48:37 +03:00
Avgustin Marinov
047f94d4cb [#2527]: Simple UI/TargetView - handle no last poll (#2530)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-07-03 09:08:40 +03:00
Avgustin Marinov
8c6d56f177 Make some test timeouts (await) configurable (#2525)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-07-02 12:45:26 +03:00
Avgustin Marinov
5586e4b302 Fix Sonar findings (#2489)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-06-23 10:19:43 +03:00
Mohamed Zenadi
838e3e06f5 simple-ui: close the details panel when filtering (#2485) 2025-06-23 09:07:49 +03:00
Mohamed Zenadi
8262fc05c6 simple-ui: add poll-time to the TargetView's details (#2484) 2025-06-23 08:39:31 +03:00
Avgustin Marinov
2098dc6223 Unifies security configurations (#2448)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-06-12 09:06:50 +03:00
Avgustin Marinov
85ef8652fc Refactoring/simplifying rest resources code (2) (#2444)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-06-10 15:14:43 +03:00
Avgustin Marinov
e643707d41 Refactoring/simplifying rest resources code (#2443)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-06-10 14:06:43 +03:00
Avgustin Marinov
d166dd6224 Fix some sonar findings (#2433)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-06-06 13:42:02 +03:00
Mohamed Zenadi
c020cc9d92 simple-ui: add support for side panel vs grid details (#2428)
This fixes a major issue with the jumpy UI when using the details view for each cell.
2025-06-06 11:07:28 +03:00
Mohamed Zenadi
d3341f7c73 SimpleUI: support target's tags edition, display installed & assigned distribution sets, and action history (#2409)
* simple-ui: fix flaky OAuth2TokenManager bean creation

* simple-ui: add Assigned / installed tab

This is inspired by the original hawkbit interface; however, as we've got more space it merges both Assigned and Installed into the same tab

* simple-ui: add assign and unassign to targets, and create tags

* simple-ui: add action history tab

This allows tracking the actions, see their status, and cancel / force / force cancel them; just like the previous ui

This has some limitations though; the previous UI had access to the Action's main class, whereas we're dealing with the rest dto; hence we're missing some information to make the ui simpler to create.

* use textblock with generic line-separator

* fix tags not shown due to missing badge import

* improve the action's status by combining the four statuses into one icon
2025-06-04 10:47:38 +03:00
Mohamed Zenadi
424520bb72 SimpleUI: add oauth2 support (#2400)
* simple-ui: add oauth2 support

This uses a trick to ensure that the id token is refreshed; it needs to be revisited after Spring Security 6.5 is released

* fixed style and added a way to enable / disable oauth2 client
2025-05-20 09:59:41 +03:00
Mohamed Zenadi
045ba66738 SimpleUI: Add Poll Status and Update Status + improve target filtering (#2404)
* simple-ui: improve target filters

- improve the overall ui of the filters by using the proper icons and layout
- add target filter update and the ability to duplicate filters

Signed-off-by: Mohamed Zenadi <mohamed.zenadi@wattsense.com>

* simple-ui: add poll status and target update status icons

Signed-off-by: Mohamed Zenadi <mohamed.zenadi@wattsense.com>

* apply official style + improve update / create listeners

* one last clean up - revert import bad changes

---------

Signed-off-by: Mohamed Zenadi <mohamed.zenadi@wattsense.com>
2025-05-19 11:58:58 +03:00
Mohamed Zenadi
c306ed2d4f SimpleUI: improve dialogs and add delete confirmation dialog (#2401)
* simple-ui: add systematic prompt before deletion

Signed-off-by: Mohamed Zenadi <mohamed.zenadi@wattsense.com>

* simple-ui: fix the dialogs layouts

Signed-off-by: Mohamed Zenadi <mohamed.zenadi@wattsense.com>

---------

Signed-off-by: Mohamed Zenadi <mohamed.zenadi@wattsense.com>
2025-05-15 09:32:47 +03:00
Denislav Prinov
08f8c528fd Merge pull request #2346 from maass-hamburg/simple_ui_add_assign_targets
simple_ui: add assign function in Target view
2025-04-29 08:45:12 +03:00
Avgustin Marinov
30c0ae3cc2 SoftwareModuleView small improvements (#2377)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-04-28 12:19:11 +03:00
Fin Maaß
88a0ac7256 simple_ui: SoftwareModuleView: add option for distributionSet (#2360)
This commit adds a new option, when creating a new SoftwareModule, to
also create a new distributionSet, based on the created SoftwareModule.
This is useful for cases, where software modules and distributionSets
have a 1:1 relation.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-04-28 09:36:52 +03:00
Fin Maaß
bce1c79c14 simple_ui: Utils: add actionTypeControls function
add actionTypeControls function to be able to share the code between
RolloutView and TargetView.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-04-15 16:47:07 +02:00
Fin Maaß
5a884661ed simple_ui: add assign function in Target view
add assign function in Target view

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-04-15 16:41:21 +02:00
Oleksandr Andrushchenko
970a434339 simple-ui: Also show target attributes in Target's view (#2304)
It is useful to see target attributes in the Target's view: for instance
SWUpdate can deliver values from the platform which identify some
features of it. This can include an arbitrary data, e.g. platform HW
revision, component's versions etc.
Thus, add a possibility to see those attributes in the dedicated view.

Signed-off-by: Oleksandr Andrushchenko <andr2000@gmail.com>
2025-02-28 13:50:56 +02:00
Avgustin Marinov
beda747c67 Remove unnecessary JsonProperty annotations (#2296)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-02-25 08:40:14 +02:00
Avgustin Marinov
97027de9a8 SDK: Add unified Link download (using auth contexts) (#2270)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-02-12 18:32:18 +02:00
Avgustin Marinov
b108762d54 Simple UI: Streaming upload (#2254)
thus not loading whole artifact into memory

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-01-29 13:44:31 +02:00
Avgustin Marinov
c766fd76da Sonar Fixes (#2240)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-01-27 11:45:14 +02:00
Avgustin Marinov
bbb2193d74 Sonar Fix (#2239)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-01-24 20:10:28 +02:00
Avgustin Marinov
d488203b5f Sonar Fixes (#2230)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-01-24 13:41:17 +02:00
Avgustin Marinov
a0d149cc1d Sonar Fixes (9) (#2221)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-01-23 15:02:03 +02:00
Avgustin Marinov
bbb5f40207 Sonar Fixes (6) (#2214)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-01-21 16:13:43 +02:00
Avgustin Marinov
7cb617007a Code refactoring of hawkbit-mgmt (#2055)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2024-11-17 13:35:51 +02:00
Avgustin Marinov
ef216840a7 Move Simple UI at root level (#2005)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2024-11-11 16:13:08 +02:00