Commit Graph

9 Commits

Author SHA1 Message Date
Matan Baruch
4e26101a95 feat: Display STF version in Web UI (#858)
* feat: Display STF version in Web UI

Adds the STF application version to the main menu in the Web UI.

Changes:
- Modified `lib/units/app/index.js` to read the version from `package.json` and make it available to the frontend via the `GLOBAL_APPSTATE.config.stfVersion` variable.
- Updated `res/app/menu/menu.pug` to display this version in the top navigation bar, near the help icon. The format is "vX.Y.Z".
- Added an E2E test (`res/test/e2e/menu/menu-spec.js`) to verify the presence and correct format of the version string in the UI.

Signed-off-by: matanbaruch <matan.baruch@unity3d.com>

* Update menu-spec.js

Signed-off-by: matanbaruch <matan.baruch@unity3d.com>

* fix: lint

Signed-off-by: matanbaruch <matan.baruch@unity3d.com>

* feat: Add application state to root scope and style version text in menu

- Introduced a new run block in `app.js` to attach the application state to the `$rootScope`.
- Added CSS styles for the version text in the menu to enhance its visibility and layout.

Signed-off-by: matanbaruch <matan.baruch@unity3d.com>

* fix: Correct path to package.json in index.js

Updated the import statement for package.json in lib/units/app/index.js to use the correct relative path, ensuring proper access to the application version information.

Signed-off-by: matanbaruch <matan.baruch@unity3d.com>

---------

Signed-off-by: matanbaruch <matan.baruch@unity3d.com>
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-05-23 12:31:20 +02:00
Denis Barbaron
489ba0427e Add maintenance banner on UI (#797)
* fix bug on email separator

Signed-off-by: Denis barbaron <denis.barbaron@orange.com>

* allow group name change

Signed-off-by: Denis barbaron <denis.barbaron@orange.com>

* add maintenance banner on UI

Signed-off-by: Denis barbaron <denis.barbaron@orange.com>

* removes unnecessary comments

Signed-off-by: Denis barbaron <denis.barbaron@orange.com>

---------

Signed-off-by: Denis barbaron <denis.barbaron@orange.com>
2024-07-19 10:33:52 +02:00
Gunther Brunner
e12df4c0cb Cleanup code for all views. 2015-08-31 17:18:50 +09:00
Gunther Brunner
afd20491be Separate a new span for the title because angular-gettext-tools text scrapper is not smart enough. 2015-07-28 18:20:18 +09:00
Gunther Brunner
43fff42ec6 Removed stf-site from STF.
Moved stf-graphics to res/common/logo.
2015-06-22 19:56:21 +09:00
Gunther Brunner
8934078708 Fix tab bar font size. 2015-06-15 22:18:38 +09:00
Gunther Brunner
0570ef2319 Small devices improvings. 2014-05-29 14:10:08 +09:00
Gunther Brunner
6d7f5dbc99 Menu resized to 44px from 46px. 2014-05-27 23:05:32 +09:00
Gunther Brunner
efed9aefce - Using new generator-stf.
- Refactored top bar to menu partial.
- Added new page-visibility directive.
2014-03-18 21:49:24 +09:00