Giter Club home page Giter Club logo

uxaspects's Introduction

UX Aspects

UX Aspects is an open source user interface framework for building modern, responsive, mobile big data applications on the web.

Installation

  1. Install Node.js (choose the LTS version), which provides the npm package manager.
  2. Install the UX Aspects package:
npm install @ux-aspects/ux-aspects --save

Documentation and Examples

See the documentation site for full details and interactive examples of UX Aspects components:

https://uxaspects.github.io/UXAspects/

Contributing

Pull requests are welcome; see the contributing guide and developer standard for more information.

License

UX Aspects code is released under the Apache 2.0 License. Licenses for 3rd party code included in this repository can be found in the licenses summary.

uxaspects's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

uxaspects's Issues

"Unable to resolve dependency tree" with the latest version of angular (13.2.2)

While trying to create a new angular/ux-aspects project, I keep getting the following error when I try to install ux-aspects:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/rxjs
npm ERR!   rxjs@"~7.5.0" from the root project
npm ERR!   peer rxjs@"^6.5.3 || ^7.4.0" from @angular/[email protected]
npm ERR!   node_modules/@angular/core
npm ERR!     @angular/core@"~13.2.0" from the root project
npm ERR!     peer @angular/core@">=12.0.0 <14.0.0" from @ux-aspects/[email protected]
npm ERR!     node_modules/@ux-aspects/ux-aspects
npm ERR!       @ux-aspects/ux-aspects@"*" from the root project
npm ERR!     6 more (@angular/animations, @angular/cdk, @angular/common, ...)
npm ERR!   3 more (@angular/cdk, @angular/common, @angular/forms)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer rxjs@"^6.3.3" from [email protected]
npm ERR! node_modules/ng2-charts
npm ERR!   peer ng2-charts@">=2.3.0 <3.0.0" from @ux-aspects/[email protected]
npm ERR!   node_modules/@ux-aspects/ux-aspects
npm ERR!     @ux-aspects/ux-aspects@"*" from the root project

The steps have been pretty easy to duplicate. Just simply run the following:

$ ng new hello
$ cd hello
$ npm install @ux-aspects/ux-aspects

OS: Windows 11
Node: v16.13.1
NPM: 8.1.2

toggle button will be trigged twice by mistake in Edge

ux-select/ux-combobox are not updated on change to the same item

Steps to reproduce:

  1. Open official docs for select, which contain demo inside
    https://uxaspects.github.io/UXAspects/#/components/select#select
  2. In combobox select "Afganistan"
  3. Now instead of word "Afganistan" in editable input type two whitespaces. --> No results will be
  4. Delete your two whitespaces and click on "Afganistan;' again.

Expected result:

  1. After step 4 - "Afganistan" should be rendered as current selection.

Actual result:

  1. Input remains empty as nothing selected, while previous selection is unchanged.
  2. +corrent "Afganistan" will be rendered if user click outside (will cause change detection from parent component)

Date & Time Picker example throwing error

Date & Time Picker example which is refered on https://uxaspects.github.io/UXAspects/#/components/date-time-picker#date-time-picker page throws error.
Please let me know if this error can be ignored.

Steps to reproduce:

  1. Open https://uxaspects.github.io/UXAspects/#/components/date-time-picker#date-time-picker
  2. Click on the first Edit in Plunker link.
  3. Open the browser console for the Plunker tab.
  4. Click on the calender icon.

Observation:
An error appears on the console.
ERROR TypeError: Cannot read property 'name' of undefined
at timezoneComparator (date-time-picker.utils.ts:82)
at tryCatcher (tryCatch.ts:7)
at DistinctUntilChangedSubscriber._next (distinctUntilChanged.ts:111)
at DistinctUntilChangedSubscriber.Subscriber.next (Subscriber.ts:102)
at BehaviorSubject.Subject.next (Subject.ts:62)
at BehaviorSubject.next (BehaviorSubject.ts:40)
at DateTimePickerComponent.set [as timezone] (date-time-picker.component.ts:66)
at updateProp (provider.ts:446)
at checkAndUpdateDirectiveInline (provider.ts:182)
at checkAndUpdateNodeInline (view.ts:429)

Expectation:
No error should appear on the console while picking the date.

Defect: Popover position in a scrollable div is not right when user scrolls

As the title shows, and here is the demo and screenshot.

image

Chrome Version 94.0.4606.81.

As I see, the reason is the scroll event in the target .wrapper doesn't bubble to the .cdk-overlay-container. So, the scroll event is not caught, thus it didn't update the position.
Also, the element out of the .wrapper is not scrollable. So, there is no scroll event triggered in the .cdk-overlay-container.

Bug: selected page-header item is selected again after deselect and *ngIf

CodeSandbox repro

demo

Steps to reproduce

  1. Click "Go to settings page"
  2. Click "Toggle analysis tab"
  3. Click "Toggle analysis tab" again
  4. Expect Analytics tab is not selected while it is selected
  5. Click "Toggle analysis tab" again
  6. Click "Toggle analysis tab" again
  7. Expect the route to equal "/settings" while it equals "/analytics"
// navigation-item.component.ts 
// this is the reason for 7 in your source code I think.
    ngAfterViewInit(): void {
        this._pageHeaderService.selected$.pipe(tick(), takeUntil(this._onDestroy)).subscribe(selectedItem => {

            // Update selected state for this item
            this._pageHeaderService.updateItem(this.item, selectedItem);

            if (selectedItem && this.isOpen) {
                this.isOpen = false;
            }
        });
    }

Environment

Angular@15-16
UXAspects@latest

Angular 5

Have anybody tried to use this Framework in Angular 5?
Are there any changes necessary for the UpgradeAdapter or something??

Is Adobe Xd supported?

Hello, I was wondering if I could use UX Aspects in Adobe Xd. Any help would be greatly appreciated!

Dashboard widgets with settings

Hello, can we get options to allow custom setting with a gear icon inside the header of the widget & header of the dashboard.

For e.g.

  • Print
  • Export to PRF/Excel/Word
  • Share widget Id
  • Set permissions on Widget (Super Admins)
  • Change Graph type from chart to plot etc.
  • Change data source

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.