Commit Graph

1250 Commits

Author SHA1 Message Date
Christian Günter
7018a6c334
fix cloud (#1498) 2024-10-11 14:06:50 +02:00
Christian Günter
bfaf3ef4e3
fix broken link (#1496) 2024-10-11 11:41:28 +02:00
oblomov-dev
41cc55ff50
Update changelog.txt (#1494) 2024-10-10 13:02:09 +02:00
oblomov-dev
2328ae841c
fix-abap-api-exception (#1491) 2024-10-06 08:58:24 +02:00
github-actions[bot]
1012283880
Automatic Update (#1489)
* [create-pull-request] automated change

* Update z2ui5_cl_app_debugtool_js.clas.abap

---------

Co-authored-by: oblomov-dev <oblomov-dev@users.noreply.github.com>
Co-authored-by: oblomov-dev <102328295+oblomov-dev@users.noreply.github.com>
2024-10-04 10:55:22 +02:00
oblomov-dev
b3fb42a15a
Update build_ui5_stringified.yaml (#1488) 2024-10-04 09:49:51 +02:00
oblomov-dev
a4e887646f
update build stringify (#1487) 2024-10-04 09:44:38 +02:00
oblomov-dev
55df192506
update debugtool (#1486) 2024-10-04 09:16:35 +02:00
oblomov-dev
06795d18e2
update build_bsp with static files (#1485)
* update build_bsp with static files

* update

* update
2024-10-04 09:07:08 +02:00
oblomov-dev
fd2269a0eb
Update run.js (#1484) 2024-10-03 23:56:51 +02:00
oblomov-dev
d7defdfa56
saf (#1483) 2024-10-03 23:50:28 +02:00
oblomov-dev
84528da0f2
Update build_bsp.yaml (#1482)
* Update build_bsp.yaml

* Delete ci/app2bsp/README.md
2024-10-03 23:39:59 +02:00
oblomov-dev
670e69b457
Update build_bsp.yaml (#1481) 2024-10-03 23:33:18 +02:00
oblomov-dev
4cf1c07cb2
Update build_bsp.yaml (#1480) 2024-10-03 23:27:51 +02:00
oblomov-dev
f1914cac91
Update build_bsp.yaml (#1479)
* Update build_bsp.yaml

* Delete test

* Delete test.pub
2024-10-03 23:22:40 +02:00
oblomov-dev
5612685046
Update build_webapp.yaml (#1478) 2024-10-03 23:15:58 +02:00
oblomov-dev
d045999f00
Update build_bsp.yaml (#1477) 2024-10-03 23:07:16 +02:00
oblomov-dev
34fd6f97b5
Update build_webapp.yaml (#1476) 2024-10-03 23:03:52 +02:00
oblomov-dev
c9a9ac3f88
update (#1475)
* update

* update
2024-10-03 23:00:15 +02:00
oblomov-dev
e86f1c66da
New bsp (#1474)
* update

* update setup

* update
2024-10-03 22:44:53 +02:00
oblomov-dev
ae831d52a9
fix-db-cleanup-w-launchpad (#1473) 2024-10-03 12:07:20 +02:00
oblomov-dev
03d1f83723
new generated UI (#1472)
* update

* update

* update

* update

* update
2024-10-02 15:06:22 +02:00
oblomov-dev
7b47b3bba9
Update generation UI (#1471)
* update setup

* update

* Update abaplint.jsonc

* Update abaplint.jsonc
2024-10-02 00:43:43 +02:00
oblomov-dev
e0cb6990f2
cleanup session comments (#1470) 2024-10-01 19:25:20 +02:00
oblomov-dev
018970a54d
Update README.md (#1469) 2024-10-01 18:47:10 +02:00
oblomov-dev
533b863553
New frontend (#1468)
* new-frontend

* Update DebugTool.js

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update config
2024-10-01 18:34:44 +02:00
oblomov-dev
30f8cec526
New frontend test (#1466)
* update

* update ui52abap auto taransformation

* update

* commit changes

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* Update abaplint.jsonc

* update

* update

* update

* update

* update

* update

* update

* update

* Update abaplint.jsonc

* update

* update

* update

* update

* update
2024-10-01 00:25:48 +02:00
oblomov-dev
5280439bac
new-ui5-frontend (#1463)
* new app

* update structure

* update folder structure

* update

* update

* update

* Delete src/01/03/z2ui5_cl_ui5_cc_js.clas.abap

* update

* Update src/02/z2ui5_if_types.intf.abap

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

* update

* update

---------

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2024-09-29 23:36:48 +02:00
Francisco Milán
0f02f90914
Add "color_palette" method (#1462) 2024-09-29 10:36:09 +02:00
Francisco Milán
68e47230a6
Add "endIcon" & "icon" to "link" method (#1459) 2024-09-25 22:11:24 +02:00
oblomov-dev
75e90f57cd
debugtool-fix (#1458)
* debugtool-fix

* update
2024-09-25 19:37:18 +02:00
Francisco Milán
0537c6a109
Add methods "breadcrumbs" and "current_location" (#1457) 2024-09-25 18:20:53 +02:00
oblomov-dev
614368e26c
refactoring (#1456) 2024-09-25 17:29:19 +02:00
Michael Zinnöcker
26c9732fe4
sap.z2ui5.contextId not initialized on exit(termination) (#1455) 2024-09-25 17:02:06 +02:00
oblomov-dev
ff3bfc6e66
refactoring (#1452) 2024-09-25 10:18:01 +02:00
Francisco Milán
3e5f73d555
Add "enableformattedtext" to message_strip method. (#1451)
* Add "enableformattedtext" to message_strip method.

* Add "enableformattedtext" to message_strip method2

* Add "enableformattedtext" to message_strip method3

* Add "enableformattedtext" to message_strip method4
2024-09-25 08:48:48 +02:00
Francisco Milán
3a4192d3e0
Add "type" to method "object_list_item" (#1450) 2024-09-25 07:57:18 +02:00
oblomov-dev
1c9efb3561
update (#1449)
* update

* Update playwright.yml
2024-09-24 19:47:19 +02:00
oblomov-dev
a11bad5b2c
Launchpad fix (#1448)
* launchpad fix

* fix scroling cc
2024-09-24 18:54:10 +02:00
oblomov-dev
e9007c05da
New handler (#1446)
* new handler

* update

* update

* update

* update

* update

* fix statefulness

* update

* update

* update
2024-09-24 10:19:25 +02:00
oblomov-dev
6c0843cb06
refactoring debug tools (#1445)
* refactoring debug tools

* update
2024-09-22 16:41:38 +02:00
oblomov-dev
498cdc7fc7
refactoring (#1444) 2024-09-22 14:18:01 +02:00
oblomov-dev
ef4494bdb9
New UI5 frontend (#1443)
* Refactoring due to added Component support, slightly fixed session handl (#1439)

* Refactoring due to added Component support, slightly fixed session handl

* Update src/01/02/z2ui5_cl_core_http_get.clas.abap

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

---------

Co-authored-by: oblomov-dev <102328295+oblomov-dev@users.noreply.github.com>
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

* session fix + tokens

* update stateful error

* pagehide for ios devices, beforeunload for desktop and others (#1440)

* fixes

* fixes excpetions

* update

* lint fixes

* replaced root view with app for launchpad  compati

* fix missed latest changes in init - added again

* update index html

* update

* update app

* update

* Update src/01/02/z2ui5_cl_core_http_get.clas.locals_imp.abap

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

* Update src/01/02/z2ui5_cl_core_http_get.clas.locals_imp.abap

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

* fixes

* lint fixes

* update

* Update src/01/02/z2ui5_cl_core_app.clas.abap

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

* Update changelog.txt

* update

* Update src/01/02/z2ui5_cl_core_app.clas.abap

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

---------

Co-authored-by: Michael Zinnöcker <29286643+mzinnoecker@users.noreply.github.com>
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2024-09-22 13:53:11 +02:00
Francisco Milán
1c3d88fa6a
Add missing parameters to method "step_input" (#1441) 2024-09-22 09:54:09 +02:00
oblomov-dev
4940a26a46
refactoring - filter functions - sticky functions (#1437)
* refactoring - filter fucntions - sticky functions

* update

* udpate

* update
2024-09-17 19:38:43 +02:00
oblomov-dev
1fba55457c
session-stickyness (#1435)
* Added Component and Session Stateful (#1433)

- Added Component support (TODO refactoring sap.z2ui5 and view handling -> instead of .placeAt use mainView of component manifest)
- Added Session Stateful support

*add the following lines to your REST handler in order to support stateful session handling*
'''abap
    if attributes-stateful-switched = abap_true.
      server->set_session_stateful( stateful = attributes-stateful-active ).
    endif.
'''

And here is an ABAP example class for testing session handling
'''abap
"! <p class="shorttext synchronized" lang="en">Session Demo</p>
class z2ui5_cl_demo_app_session definition
  public
  create public.

  public section.
    interfaces z2ui5_if_app.
    data instance_counter type i read-only.
    data check_initialized type abap_bool read-only.
    data session_is_stateful type abap_bool read-only.
    data session_text type string read-only.
  protected section.
  private section.
    methods initialize_view
      importing
        client type ref to z2ui5_if_client.
    methods on_event
      importing
        client type ref to z2ui5_if_client.

    methods set_session_stateful
      importing
        client   type ref to z2ui5_if_client
        stateful type abap_bool.
endclass.

class z2ui5_cl_demo_app_session implementation.
  method z2ui5_if_app~main.
    if check_initialized = abap_false.
      check_initialized = abap_true.
      initialize_view( client ).
    endif.

    on_event( client ).
  endmethod.

  method initialize_view.
    set_session_stateful( client = client stateful = abap_true ).

    data(view) = z2ui5_cl_xml_view=>factory( ).

    data(page) = view->shell( )->page(
      title          = `abap2UI5 - Sample: Sticky Session`
      navbuttonpress = client->_event( 'BACK' )
      shownavbutton  = xsdbool( client->get( )-s_draft-id_prev_app_stack is not initial ) ).

    data(vbox) = page->vbox( ).
    vbox->info_label( text = client->_bind( session_text ) ).

    data(hbox) = vbox->hbox( alignitems = 'Center' ).
    hbox->label( text = 'press button to increment counter in backend session' class = 'sapUiTinyMarginEnd' ).
    hbox->button(
      text  = client->_bind( instance_counter )
      press = client->_event( 'INCREMENT' )
      type = 'Emphasized' ).

    hbox = vbox->hbox( ).
    hbox->button(
      text  = 'End session'
      press = client->_event( 'END_SESSION' ) ).

    hbox->button(
      text  = 'Start session again'
      press = client->_event( 'START_SESSION' ) ).

    client->view_display( view->stringify( ) ).
  endmethod.

  method on_event.
    case client->get( )-event.
      when 'BACK'.
        client->nav_app_leave( ).
      when 'INCREMENT'.
        instance_counter = lcl_static_container=>increment( ).
        client->view_model_update( ).
      when 'END_SESSION'.
        set_session_stateful( client = client stateful = abap_false ).
      when 'START_SESSION'.
        set_session_stateful( client = client stateful = abap_true ).
    endcase.
  endmethod.

  method set_session_stateful.
    client->set_session_stateful( stateful ).
    session_is_stateful = stateful.
    if stateful = abap_true.
      session_text = 'Session ON (stateful)'.
    else.
      session_text = 'Session OFF (stateless)'.
    endif.
    client->view_model_update( ).
  endmethod.
endclass.
'''

* Update z2ui5_cl_core_http_get.clas.abap (#1434)

updated to reflect latest changes (sorry some local changes were los)

* lint fix

* lint fix

* xml fix

---------

Co-authored-by: Michael Zinnöcker <29286643+mzinnoecker@users.noreply.github.com>
2024-09-16 16:45:41 +02:00
oblomov-dev
1e929668b0
Update README.md (#1432) 2024-09-16 08:11:58 +02:00
oblomov-dev
e9d557737c
refactoring (#1431) 2024-09-15 18:37:38 +02:00
oblomov-dev
fd5183b16b
refactoring (#1430) 2024-09-15 18:00:25 +02:00
oblomov-dev
ae603290cb
Update handler (#1428)
* update handler

* update handler

* update

* lint fixes

* update

* Update src/01/02/z2ui5_cl_core_http_get.clas.abap

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

* update

* Update src/01/02/z2ui5_cl_core_http_get.clas.abap

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

---------

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2024-09-14 10:39:27 +02:00