Resources

10 Tips for Enhancing User Experience in Enterprise Web Apps Using Ext JS

10 Tips for Enhancing User Experience in Enterprise Web Apps Using Ext JS

Most Ext JS UX advice is a feature tour: the framework has responsive configs, charts and ARIA roles, so your app will have good UX. It won’t. An enterprise screen that people use for six hours a day gets judged on small things, like how fast a grid scrolls, what a validation message says and whether Tab goes where the user expects.

Ext JS is a JavaScript framework from Sencha with grids, forms, charts, trees and layouts built in, so the components are rarely the weak point. The configuration is. Some common assumptions about UX in Ext JS apps hold up, and plenty don’t.

Is a responsive layout automatic in Ext JS?

No. Nothing changes for a phone until you say what should change, and that is the job of the responsive plugin and its responsiveConfig. Each rule is an expression on width or height, and the matching config is applied when the viewport changes.

Diagram of an Ext JS panel switching its title at a 600 px width breakpoint using responsiveConfig

Ext.define('App.view.summary.Manufacturing', {
    extend: 'Ext.panel.Panel',

    items: [{
        xtype: 'panel',
        plugins: 'responsive',

        responsiveConfig: {
            'width >= 600': {
                title: 'Manufacturing Summary'
            },
            'width < 600': {
                title: 'Mfg Summary'
            }
        }
    }]
});

Obviously, you want breakpoints that match devices your users really have.

A built-in component is not a finished screen

Slow software annoys people more than ugly software.

Ext JS lets you load data in portions, only when it is needed, and run work in the background so the interface does not freeze. It will not choose that for you, and a grid that pulls thousands of rows in one request is slow in any toolkit, however good the framework underneath it is. Fix the request before you touch anything else.

Accessibility works the same way. Sencha says Ext JS complies with Section 508 and ships ARIA roles, keyboard navigation, focus styling and screen reader support in its components. That covers the framework’s own markup and nothing you add on top. Custom components and icon-only buttons need labels from you, and the only real test is finishing a whole workflow without a mouse.

The framework gives youYou still decide
Menus, trees and toolbarsWhich tasks sit one click away and which get buried in admin screens
Charting and drawing widgetsWhether a chart is the right answer at all, and keeping one color for one status across screens
Stores, models and proxiesHow the proxy talks to your API and what happens when it fails
Saved state for user settingsWhich settings are worth remembering

Sencha’s own post on the enterprise software development process covers the planning side.

For design thinking that is not tied to one framework, there is a piece on why web app UX goes beyond visual design.

The most common annoyance is a form that rejects input and doesn’t say why. Use a vtype, write the invalidText in plain words and keep Submit clickable, so the click itself can explain what is wrong.

Ext.create('Ext.form.Panel', {
    title: 'Error Handling Form',
    items: [{
        xtype: 'textfield',
        fieldLabel: 'Email',
        vtype: 'email',
        invalidText: 'Invalid email address'
    }],
    buttons: [{
        text: 'Submit',
        handler: function() {
            this.up('form').getForm().isValid() ? Ext.Msg.alert('Success', 'Form is valid') : Ext.Msg.alert('Error', 'Form contains errors');
        }
    }]
});

Theming has a hard edge too. A combo box that adds an x-theme-dark class does nothing until someone writes styles for that class.

Exceptions

Skip most of this on a public brochure site. Ext JS is a heavy choice there.

Inside an enterprise app the advice bends as well, and it is actually the data that decides how far. A trading desk or a dispatch board wants dense screens, so extra white space can cost more than it gives. Padding on panels and fieldsets is cheap and usually worth it, but not when operators scan fifty rows at a time.

AdviceLeave it out when
Responsive rulesevery user sits at a fixed desktop
Charts on dashboardspeople need exact numbers, where a sorted table is faster to read
Saved personal settingsseveral people share one workstation
Extra white spaceoperators scan long, dense lists all day

Tuning for speed has no exception.

Questions people ask about Ext JS UX

How do I integrate external data sources with Ext JS?

Define a data model, then create a store with the right proxy configuration.

Why is Ext JS used for enterprise web applications?

Sencha points to its rich UI components and data management, and its list of features includes MVVM architecture, built-in themes, cross-browser compatibility, extensive documentation, performance tuning and security features. For internal, data-heavy tools that list is accurate enough. Whether it beats a lighter stack depends on how many of those parts you would otherwise build yourself.

How do I collect user feedback inside the app?

A feedback button on every screen that posts the page name and a short message to your backend is enough. Someone has to read it, though, and that is where it usually stalls. Sencha also offers a free trial of Ext JS if you want to test these ideas on your own data.

Bogdan Sandu

Stay sharp. Ship better code.

Every week: one curated article, one tool worth knowing, one tip you can use tomorrow. No noise, no padding.