sq-ui / ng-sq-ui Goto Github PK
View Code? Open in Web Editor NEWFlexible and easily customizable UI-kit for Angular 11+
License: MIT License
Flexible and easily customizable UI-kit for Angular 11+
License: MIT License
As a consumer, I want to be able to create my own custom templates for:
Is your feature request related to a problem? Please describe.
I want to interact with the examples in the documentation.
Describe the solution you'd like
Remove GIF images. Add stackblitz.
Developer should be able to specify displayName$Key that will be used for the name of the option. This key should be present in the value object.
<sq-typeahead
name="trainWagons"
formControlName="trainWagons"
[searchResults]="availableWagons"
(onUserInputEnd)="searchMethod($event)"
controlLabel="Wagons*"
displayName="wagonName"
[multiple]="true"
controlPlaceholder="Add or remove wagons from this train">
</sq-typeahead>
As a developer I want a nice nav bar + mobile layout.
Acceptance criteria:
This component should be part of the ng-sq-ui/common module.
Mobile layout should expand with animation.
Menu items should be configurable programmatically (e.g: as an array of objects, where one object represents a single menu item)
Reward: 0.5 DEV
I want to use custom templates and custom icons in the datetime picker component.
Should be super awesome and easy to use.
Describe the bug
The value returned by the datetime-picker component does not get updated real-time when I change the hours and/or minutes of the integrated time-picker.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The hours and/or minutes of the integrated time-picker should be reflected in the value returned by the datetime-picker component.
Screenshots
No screenshots but a Stackblitz preview of the problem:
https://stackblitz.com/edit/sq-datetime-picker-timepicker-bug
Desktop (please complete the following information):
Smartphone (please complete the following information):
Not applicable.
Update to latest angular:
This includes all libraries and subprojects.
Improvements:
Describe the bug
Title is wrong
To Reproduce
Steps to reproduce the behavior:
Expected behavior
To see the correct title
As a developer I want to have a loading bar that fills to 100%.
Additional context
Improve documentation. Should use the scrollToBottom directive.
It would be awesome if you create a date picker, time picker and datetime picker UI components with abilities to set, get and pick a date programmatically and from the UI. This also includes date/time formatters for the UI component to be able to display date and time in different formats.
A simple web component which should wrap the native <textarea> element
In a new empty directory on computer with:
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
@angular-devkit/architect 0.6.8
@angular-devkit/core 0.6.8
@angular-devkit/schematics 0.6.8
@schematics/angular 0.6.8
@schematics/update 0.6.8
rxjs 6.2.1
typescript 2.7.2
I run the following commands:
npm install -g @angular/cli
ng new my-app
cd my-app
ng serve --open
in ./src/app/app.module.ts
added
import { NgSqUiModule } from '@sq-ui/ng-sq-ui';
and
NgSqUiModule, // in imports
Added styles to angular.json
"./node_modules/@sq-ui/ng-sq-ui/sq-ui-theme.scss",
"./node_modules/font-awesome/scss/font-awesome.scss"
line 25 and 75
Added
some stuff in the app.component
TS:
dropdownOptions: LabelValuePair[] = [
{
label: 'option1',
value: 'someVal1'
},
{
label: 'option2',
value: 'someVal2'
},
{
label: 'option3',
value: 'someVal3'
}
];
HTML:
Previously I run into errors in the console, but then - probably the problems were on my side. Right now the styles are not being applied. Something small that I'm missing...
Help us improve our code quality.
Function ngOnChanges
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
Reward for completing refactoring: 5 DEV
Describe the solution you'd like
Migrate code to angular 8 guide
Migrate to angular 9
As a developer I want to have tooltip component / directive.
Acceptance criteria:
The tooltip directive / component should be created as part of the ng-sq-ui/common module.
Tooltip should detect the edges of the screen and prevent displaying out of the window.
Reward for completing this feature: 0.5 DEV
Function onUserInput
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring.
This task has a bounty of 10 DEVs!
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Add support for ng-add schematics, to automate the initial setup.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Refer angular material, where they have schematics support.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
https://material.angular.io/guide/getting-started#alternative-2-angular-devkit-6-
Is it compatible with Mobile browsers?
Function transformToLabelValuePairList has a Cognitive Complexity of 7 (exceeds 5 allowed)
This task has a bounty of 10 DEVs!
From community review feedback
A very frequent case with date pickers is having a from - to date to choose. It is infinitely more useful to have the option to have a separate FromToDatePicker, or a DatePicker type="from-to" which basically unites two regular date pickers, but provides their values in a single handler to make validation easier.
https://www.figma.com/file/P4QpiVvlqVriAtd4JSN9JT?node-id=1:5589#125184362
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.