Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Issues Updating to Latest Version #1581


User avatar
0
gconey created

Hi, I've had a few issues updating my app to the latest version 1.11 - it is a tricky process! There are some mistakes in the change log which didn't help, specifically the correct version of ABP is 10.3.1 and not 10.1.3. And the version of Module Zero needs to be 0.10.1. But now I have a running application!

Now I have a few issues and questions:

  1. The Change Log says that this release upgraded Metronic to v4.6. I didn't see any changes in the metronic files when I merged the changes from 1.11 into my application (which was previously 1.10.1). So how can I check I have the Metronic update?
  2. Same question as above but for angular ui grid v3.2.1
  3. The Chat button on the form header doesn't work correctly. Nothing happens when I click it or hover over it but if I subsequently reload the page after clicking it then the chat sidebar appears. I can only make the sidebar stay by pinning it. I've checked all script ad css files and other files and everything seems to be in line with the files from 1.11 downloaded from Git.
  4. There are some formatting issues in the chat sidebar when it does appear. The bottom of the last chat entry is trimmed off.
  5. When I pin the chat sidebar it overlays the form. It should push the form left so I can keep working in the app when chatting.
  6. Can the host admin chat to tenant users and vice versa? This would be the most useful use of this feature for support. At the moment I don't seem to be able to do this.

Thanks.

Regards, George Coney


7 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Here are my answers,

    1. The Change Log says that this release upgraded Metronic to v4.6. I didn't see any changes in the metronic files when I merged the changes from 1.11 into my application (which was previously 1.10.1). So how can I check I have the Metronic update?

    <span style="color:#0000FF">There are some small changes if you look at this commit <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/commit/07006a210e85aac50ae257ad6c4a9aac9ac9a9d8">https://github.com/aspnetzero/aspnet-ze ... ac9ac9a9d8</a>. Because of line endings github shows all lines removed and new lines added, but actually there are just a few lines changed for some files. Metronic also does not make so many changes for the files that we use. We dont add m</span>ost of the plugins used by metronic in our project. We left it to you, and you can add those files when you need them.

    <span style="color:#0000FF">By the way, panel is opened when you click the chat button right now.</span>

    1. Same question as above but for angular ui grid v3.2.1

    <span style="color:#0000FF">According to this commit there are some changes, especially in ui-grid.js <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/commit/15cc9dddb93a79f80d63c55591d53d35c9826156">https://github.com/aspnetzero/aspnet-ze ... 35c9826156</a> Can you check the version number in your ui-grid.js ?</span>

    1. The Chat button on the form header doesn't work correctly.

    <span style="color:#0000FF">Nothing happens when I click it or hover over it but if I subsequently reload the page after clicking it then the chat sidebar appears. I can only make the sidebar stay by pinning it. I've checked all script ad css files and other files and everything seems to be in line with the files from 1.11 downloaded from Git.</span>

    <span style="color:#0000FF">Which browser and version doy you test with ? And is it single page app or multi page app ? We didn't get such a case but maybe we missed something.</span>

    1. There are some formatting issues in the chat sidebar when it does appear. The bottom of the last chat entry is trimmed off.

    <span style="color:#0000FF">I will test this according to your browser and version info.</span>

    1. When I pin the chat sidebar it overlays the form. It should push the form left so I can keep working in the app when chatting.

    <span style="color:#0000FF">We are thinking of opening chat panel when user moves mouse to the most right of the page, but I dont know when it will be implemented and released. But you can do it in your project easily.</span>

    1. Can the host admin chat to tenant users and vice versa? This would be the most useful use of this feature for support. At the moment I don't seem to be able to do this.

    <span style="color:#0000FF">_Yes,

    There are 3 features which you can see when you are editing a Edition which are. You can set those features for editions, and assign editions to tenants.

    Chat > Chat with other tenants > Chat with host users_</span>

  • User Avatar
    0
    gconey created

    Hi, Thanks for the prompt reply. 1 & 2: I found the Metronic and Grid changes - I do have the new versions.

    3 & 4: It's a SPA running in Chrome 52.0.2743.116 I've tried clearing the cache. The problem is exactly the same in IE 11 and in MS Edge

    5: Pinning the chat sidebar currently overlays the application. It would be better if it pushed the form left and the pinned chat window went to the right of the form.

    6: I hadn't realized you need to friend .\admin to chat to the host.

    Regards, George

  • User Avatar
    0
    gconey created

    Hi,

    Re point 4 - the issue is just that the chat window doesn't scroll to show the most recent message. So if there are multiple messages the bottom ones appear clipped until you scroll down. Nothing major.

    The issue 3 of not being able to open the chat window is the most serious.

    Regards, George

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    For number 5, we did think exactly like you did but we decided to implement it just like metronic. Implementing the way you said is a bit hard for metronic html structure right now. But we will definitely consider this.

    For the major problem, if it's not going to be a problem, please send your project to me in a private email and I will try to understand your problem. Because I cannot reproduce it with our version.

    Thanks,

  • User Avatar
    0
    gconey created

    Thanks. I'm getting this error in Chrome on page load:

    angular.js:13642 ReferenceError: QuickSidebar is not defined at chatbar.js:267 at angular.js:19308 at e (angular.js:5912) at angular.js:6191

    I can't see why as my files are in line with yours for ver 1.11

  • User Avatar
    0
    gconey created

    I found the issue, I was missing the quick-sidebar.js line in AppBundleConfig.cs:

    bundles.Add(
                  new ScriptBundle("~/Bundles/App/metronic/js")
                      .Include(
                          "~/metronic/assets/global/scripts/app.js",
                          "~/metronic/assets/admin/layout4/scripts/layout.js",
                          "~/metronic/assets/layouts/global/scripts/quick-sidebar.js"
                      ).ForceOrdered()
                  );
    

    Thanks for your help.

  • User Avatar
    0
    ismcagdas created
    Support Team

    I am gald that you have solved it :)