What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Anybody else having issues with package `spryker/gui` > 3.40.0? In Zed UI, the sidebar navigation

U01LKKBK97T
U01LKKBK97T Posts: 287 πŸ§‘πŸ»β€πŸš€ - Cadet

Anybody else having issues with package spryker/gui > 3.40.0? In Zed UI, the sidebar navigation doesn't expand anymore, instead I'm getting JS errors.
Seems that this commit is breaking things: https://github.com/spryker/gui/compare/3.40.0...3.40.1
Could somebody confirm that this is reproducable?

Comments

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    Current demo shops are ok in this aspect.
    B2b, for example, has 3.40.1 and works ok - https://backoffice.de.b2b.demo-spryker.com/.

  • U01LKKBK97T
    U01LKKBK97T Posts: 287 πŸ§‘πŸ»β€πŸš€ - Cadet

    Hm, strange.
    I'm building the zed ui by

    docker/sdk console frontend:zed:install-dependencies
    docker/sdk console frontend:zed:build
    

    Am I missing anything?

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    That could answer our FE devs probably. For example @UQRP02SP2.

  • giovanni.piemontese
    giovanni.piemontese Spryker Solution Partner Posts: 871 πŸ§‘πŸ»β€πŸš€ - Cadet

    U need to update oryx-for-zed if i remember right

  • giovanni.piemontese
    giovanni.piemontese Spryker Solution Partner Posts: 871 πŸ§‘πŸ»β€πŸš€ - Cadet

    we have this one
    "@spryker/oryx-for-zed": "~2.11.3", and it works..

  • U01LKKBK97T
    U01LKKBK97T Posts: 287 πŸ§‘πŸ»β€πŸš€ - Cadet

    I don't have this package at all.
    Nevertheless, these commands are working without it, it seems:

    docker/sdk console frontend:zed:install-dependencies
    docker/sdk console frontend:zed:build
    
  • U01LKKBK97T
    U01LKKBK97T Posts: 287 πŸ§‘πŸ»β€πŸš€ - Cadet

    Updating oryx helped, thanks. Seems that we needed 2.11.0 at least: https://github.com/spryker/oryx-for-zed/releases/tag/2.11.0
    Btw, what does new application endpoint name in the release notes refer to? Is it just a renaming from Zed to Backoffice or is there more to it?

    But now the assets are getting built twice, in public/Zed and public/Backoffice. Checking the browser console it turns out that the assets from public/Zed are being loaded. So what are the other ones in public/Backoffice used for?

  • giovanni.piemontese
    giovanni.piemontese Spryker Solution Partner Posts: 871 πŸ§‘πŸ»β€πŸš€ - Cadet

    yes is right... frontend is builded in backoffice and copied in zed folder for backwards compatibilty...

    Yes everything is due new backoffice.!

  • giovanni.piemontese
    giovanni.piemontese Spryker Solution Partner Posts: 871 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited February 2022

    If u did not migrate your project to new construct
    β€’ backoffice
    β€’ backend-gateway
    β€’ backend-api
    then u can have a look to release notes and migrate your project too

  • UM4BZSK7T
    UM4BZSK7T Posts: 174 πŸ§‘πŸ»β€πŸš€ - Cadet

    Till now we didn't know and wow another upgrade we have to do

  • UM4BZSK7T
    UM4BZSK7T Posts: 174 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited February 2022

    About which release notes are you talking about?

  • giovanni.piemontese
    giovanni.piemontese Spryker Solution Partner Posts: 871 πŸ§‘πŸ»β€πŸš€ - Cadet

    I don't know anymore what was precisly but u can just try to find out it here -> https://api.release.spryker.com/release-history or just try to check the releases of spryker/application in github

  • UM4BZSK7T
    UM4BZSK7T Posts: 174 πŸ§‘πŸ»β€πŸš€ - Cadet
  • giovanni.piemontese
    giovanni.piemontese Spryker Solution Partner Posts: 871 πŸ§‘πŸ»β€πŸš€ - Cadet

    yes, right..! The migration take a good time...

  • USZ0XG6SK
    USZ0XG6SK Posts: 111 πŸ§‘πŸ»β€πŸš€ - Cadet

    is there any official documentation regarding new structure
    β€’ backoffice
    β€’ backend-gateway
    β€’ backend-api

  • USZ0XG6SK
    USZ0XG6SK Posts: 111 πŸ§‘πŸ»β€πŸš€ - Cadet

    @UL65CH0MC from which version did you migrate? Approx how long did it take?

  • U01LKKBK97T
    U01LKKBK97T Posts: 287 πŸ§‘πŸ»β€πŸš€ - Cadet

    Thx for your support.

  • U01LKKBK97T
    U01LKKBK97T Posts: 287 πŸ§‘πŸ»β€πŸš€ - Cadet

    No official tech documentation or migration guide?

  • U01LKKBK97T
    U01LKKBK97T Posts: 287 πŸ§‘πŸ»β€πŸš€ - Cadet

    I'm asking rather for something like an overview of the "new" backoffice. What's different compared to the old backend, what needs to be done to migrate, can I run old and new backend in parallel?

  • U01LKKBK97T
    U01LKKBK97T Posts: 287 πŸ§‘πŸ»β€πŸš€ - Cadet

    Reading here and there about backoffice, it sounds like a big deal, but it seems that there's no official guidance at all.

  • giovanni.piemontese
    giovanni.piemontese Spryker Solution Partner Posts: 871 πŸ§‘πŸ»β€πŸš€ - Cadet

    Yes u can both parallel