GithubHelp home page GithubHelp logo

luccasa / lucca-ui Goto Github PK

View Code? Open in Web Editor NEW
13.0 13.0 1.0 10.37 MB

Framework Sass & Angular by Lucca

Home Page: http://luccasa.github.io/lucca-ui

License: MIT License

JavaScript 22.30% HTML 6.23% TypeScript 32.53% Batchfile 0.04% SCSS 38.91%
guilde-ux

lucca-ui's People

Contributors

alexcarpe avatar atordjmann avatar bastienguillon avatar benjaminly avatar bpaugam avatar brunopaugam avatar dependabot[bot] avatar guillaumenury avatar jbbeuzelin avatar jbosi avatar jefbinomed avatar jeremie-lucca avatar lamstutz avatar lucienbertin avatar maximestudy avatar maxmg avatar nfaugout-lucca avatar paulandrelouis avatar pierop avatar poltuu avatar sanlucca avatar srabere avatar strousset avatar vergerf avatar waffle-iron avatar

Stargazers

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

Watchers

 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  avatar  avatar  avatar  avatar  avatar

Forkers

vergerf

lucca-ui's Issues

directive luid-localized-input

add a directive allowing to edit/display a variable containing several variables

something like that

<luid-localized-input ng-model="myMultiLocalString" ng-changed=""></luid-localized-input>

when myMultiLocalString looks something like en:she loves you yeah! yeah! yeah!|fr:melodie d'amour chante le coeur d'emmanuelle|de:neune und neunzich luftballons

luid-daterange - testus

complement to issue #26

kinda had to rush the dev of the directive and had to skip testus, will add them asap

luid-select - add attribute filter:'@'

to allow calling custom filters for the displaying of choices or match

<ui-select-choices repeat="p in periodicities | filter:$select.search">
    {{p.name | translate}}
</ui-select-choices>

user-picker - display me first

Would it be possible to always have the choice "me" as first choice in the dropdown, whatever search text is entered

for example in timmi/validation, i am looking at the hoursheets awaiting vergnory's approval and i want to go back to the one awaiting my approval. as of today i must type luc to have my name available in the list of choices and select it.

would it be better if the choice Me was always available as first choice in something like this

ro (that's the search input)
me
romain vergnory
anne Roumanov

@bpaugam what do you think ?

user-picker - display a number next to each result

in the same way we handle customFilter, add the possibility to call a function with this signature

var customCnt = function(user) { return int; }

and display the returned int next to the names of the available choices like that

ro (that's the search box)
Romain Vergnory 5
Anne Roumanov 2

it would be useful to display information contextual to the page, for example the number of expense claim awaiting approbation for each available choice

Important: call this function only once you have decided on the 5- displayed choices, not when you still have N users

@bpaugam what do you think

lui button in an addon in a lui input with addon

the kind of html i want to write is this

<div class="lui input with addon">
  <input type="text" mg-model="search">
  <button class="lui button right addon" ng-click="doSearch()">Search</button>
</div>

nguibs-modal in a namespaced distrib

nguibs modal is appended to the body and as such is outside the namespaced part of the html, so the style is not applied.

find a way to inject nguibs style to the modal even if people are namespacing the distrib of lucca-ui

standard support for lui buttons in headers

i just want to write this

<h3>My title <div class="lui button">My action</div></h3>

and have a decent result with some vertical align and stuff

right now to have a decent look i have to write something like on this plunker

directive `luid-keypress` or `luid-enter`

do a directive that call a function when enter is pressed in a input or another keypress

<input luid-enter="someFunction()" ng-model="myVal" />
<input luid-keypress="otherFunction(key)" ng-model="myVal" />
$scope.someFunction = function(){ alert($scope.myVal); };
$scope.otherFunction = function(key){
    switch(key){
        case 13:    enterWasPressed(); break;
        case 27:    escapeWasPressed(); break;
    }
};

Coloring support

Themes should be able to add new colors without having to override the whole color scheme: just append a new color.

luid-userpicker - option "all users"

add the possibility to display the option "all users"

i was thinking something like that

search bar - empty
selected: pierop
All users
me: lucien (issue #50)
Guillaume
Robert
5 results / 31

and when the user starts to type the option all user disapears

lui flat button has-addons

self explenatory

<div class="lui flat button has-addons">
  <i class="lui addon check icon"></i>
  some text
  <i class="lui addon notification icon"></i>
</div>

luifDuration with unit="day" and precision="day"

When I use luifDuration with unit = 'day' and precision = 'day', I just want to display the value in luifDuration as days.

For example:
If I declare var myValue = moment.duration(36, 'h');

When I do {{ myValue | luifDuration : false : 'd' : 'd' }}
I want to display: 1.5d, not 1d12h

luid-daterange - argument format

complement to issue #26

allows to bind to the start and end properties of the provided ngModel to moments, js dates or strings in the specified format

`.right-aligned` not working inside a `lui table`

.lui.table>.thead>.tr>.th et .lui.table>tbody>tr>td have text-align:left; that gets applied over the text-align of classes .left-aligned, .center-aligned, .right-aligned and justify-aligned.

for reference, .xxx-aligned is defined in /core/definitions/_typography.less, line ~85 and lui table in /core/elements/_table.less line ~22

also there's this

.lui.table{
    ...
    &.center-align {
        text-align: center;
    }
    &.left-align {
        text-align: left;
    }
    &.right-align {
        text-align: right;
    }
    &.justified-align {
        text-align: justify;
    }
}

it's not coherent to have .right-aligned and .right-align as available classes

also this class is applied to the whole lui table and that's not what i'm after, i want to have some cells right-aligned and some other left-aligned

also i'm not sure it works as intended because you have this

.lui.table{
  > .thead > .tr > .th, > .tbody > .tr > .td, > thead > tr > th, > tbody > tr > td {
    text-align: left;
  }
  &.right-align{
    text-align: right;
  }
}

so i think the rule for a cell overrides the rule for the table

have colors 'error', 'success' and 'warning'

i liked that in the previous version you had colors for error, success and warning. in this version you just have primary, secondary and yellow, red, green, orange. no blue btw. the colors you chose seems kinda arbitrary

i know there is some kind of way to override the color module to add the colors i want when i import lucca-ui but you didn't properly document it yet so....

nguibs-dropdown in a button with a color scheme having lightondark=true

is ugly because of text-shadow

_buttons.less line 171

& when (@lightOnDark = true) {
    text-shadow: 0 1px 1px darken(@color, 5);
}

the text-shadow barely noticeable inside a button but if you have something like this, you see the text-shadow on a white background and it is not pretty

<div class="lui red button nguibs-dropdown" dropdown dropdown-toggle>
    <span>i cant see no text-shadow on this button</span>
    <ul class="dropdown-menu">
        <li>
            <a>dis iz ugly</a>
        </li>
        <li>
            <a>i iz sad :'(</a>
        </li>
    </ul>
</div>

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.