Base solution for your next web application

Activities of "gconey"

Question

Hi, I've recently started developing my application with the framework and so far I'm very impressed. The framework has given me a fantastic head start. I have one question: Why do all the grids (uiGrids) have a fixed height and only show 10 rows? e.g. user grid, roles, etc. This is not making good use of the available screen space. Is there a recommended way of making them use all the visible space? Will this change in the next release? Thanks.

Answer

Thanks a lot. I already read that. I really just want the grid to take up the available space because I'll often have many rows. For now I just did this which is working:

<div class="portlet-body" style="height:80vh;"> <div busy-if="vm.loading" style="height:100%;"> <div ui-grid="vm.textTypeGridOptions" ui-grid-pagination ui-grid-resize-columns style="height:100%;" dir=@(CultureHelper.IsRtl ? "rtl" : "")></div> </div> </div>

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

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

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

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

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.

Hi,

I am creating an application which allows tenants to have their own specific custom fields on certain records (using the EAV pattern). As part of this I'd like to be able to configure tenant specific text entries for labels for these tenant specific fields.

So is it possible to create texts which are specific to a single tenant? i.e. tenant A has a field in the UI which is specific to them and is not used by any other tenant. I'd like them to be able to create a text for the field label and configure the text values for each language for that text. Tenant B has no need for that field or text entry and so shouldn't see it at all.

So I'd like my tenant to be able to configure their own private text entries I don't want to have to put keys and default values for these text entries in the localization XML file as I have no idea what these text entries will be until the tenant configures their specific requirements.

The AbpLanguageText table structure looks like it supports what I want but putting an entry in there which is not in the XML file doesn't seem to work.

Regards, George

Hi, Yes caching was the issue. This is perfect and just what I need. Great to find that the Framework already supports my requirements! Thanks a lot.

Hi,

If you have more than a few permissions then the permissions tree becomes huge and ungainly. To solve this can I suggest the following change to the app.css file to make the tree scrollable:

/* Make permissions tree scrollable */ .permission-tree { height:650px; overflow:auto; }

Is adding this to app.css the right place to do this? Do I also need to put this in app.less and/or app.min.css ?

Regards, George

Showing 1 to 10 of 40 entries