Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idea for new component #22

Open
KonScyence opened this issue Jun 9, 2018 · 3 comments
Open

Idea for new component #22

KonScyence opened this issue Jun 9, 2018 · 3 comments
Labels

Comments

@KonScyence
Copy link

KonScyence commented Jun 9, 2018

Hi, in my project, I have several modifications on the template to improve it and I thought that I could share my ideas and perhaps be able to improve! So here is:

1. Modification of textarea

I thought textarea was too much like material design. In addition, I did not find it so intuitive (no edge)
Demo: http://klam.shost.ca/test/
textarea

Also, I added a feature with a library, allowing to adjust the size of the textarea based on typed text.

Added to now-ui-dashboard.js:

$(document).ready(function() {
// [...]
     autosize($('textarea'));
// [...]
});

Modification in now-ui-dashboard.js:5714:

textarea.form-control {
  max-width: 100%;
  padding: 5px 10px 5px 10px;
  resize: none;
  border-bottom: 1px solid #E3E3E3;
  border-radius: .25rem;
  line-height: 1.8; }
New library added (autosize.js) from Jack Moore

2. Plugin to improve responsive of the tables

There are many options as can be seen on their demo.

tableresponsive

New library added (tablesaw.js) from filamentgroup

3. Adding mask on input

I think this one, could be an asset for all your admin templates ...

mask2

New library added (jquery.mask.js) from igorescobar

4. BlockUI

Idea removed, each user can add it if he wishes, it is not necessarily useful for a template.

I don't know if you will find this interesting, but I share it anyway 😁

Regards

@KonScyence KonScyence changed the title Textarea idea Idea for new component Jun 10, 2018
@dragosct
Copy link
Member

Hi, @KonScyence! Thank you very much for your suggestions. We will analyze what you propose here and if everything will be fine we will implement in the next update, usually, we wait for 3-5 requests until we start to implement but anyway we will analyze this because it seems to be good features. Regards, Dragos

@deksden
Copy link

deksden commented Jun 15, 2018

My 2c:

  1. Textarea size: it can be automatic vertical resize with some limits (no more than y by height). Also, please consider adding some side gripper just like in issues editor on GitHub!

  2. Table sizing: Yes, more options would be cool!

  3. Mask input is useful for things like telephone numbers.

  4. BlockUI IMHO is very niche and can be added by anyone who like it because it did not require any theming - so not sure it should be a part of theme

@KonScyence
Copy link
Author

KonScyence commented Jun 15, 2018

@deksden

BlockUI IMHO is very niche and can be added by anyone who like it because it did not require any theming - so not sure it should be a part of theme

I agree, I removed it !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants