add "faivorites"

This topic has been viewed 7087 times and has 11 replies
Thread status: Active
Features you would like to see [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Cardinal
Posts: 22
Joined: Mon Jul 04, 2011 2:46 pm

add "faivorites"

Post by Cardinal »

Hello Emmanuel,

A good addition to people who use SH3D extensively would be the ability for the software to remember frequently used text. For example, when you're filling the room name text field you're almost always picking an item from small set, so why not have the field have those items built on it? The user could pick one item or add an item to the collection. Those items can have an entry on the UserPreferences Class so they can be persisted. I've written a Widget that does those things, it's a kind of a checkbox that lets the user add and remove items from it. Here's a screenshot :

Image

Of course, the user can ignore the "bookmarks" and go on to type anything else.

Our company would really like to have this feature integrated into SH3D and I think it can be useful to many people too.
Please let me know what you think. Thanks.
Cardinal
Posts: 22
Joined: Mon Jul 04, 2011 2:46 pm

Re: add "faivorites"

Post by Cardinal »

Sorry for the indescriptive title. I was in a hurry and I forgot to re-write it. Here's a small app too so you can see it in action. Hope you like it :)
http://dl.free.fr/veCrgE093
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: add "faivorites"

Post by Puybaret »

As I'm not very found of editable combo boxes and similar components, I preferred to add an auto completion feature inspired from this blog article. The list of suggested strings I implemented in Sweet Home 3D is automatically updated and saved with preferences, as and when new texts are entered in the text fields of furniture, room and label dialogs.
It's also possible to have a default list of localized texts, and at this time, I just set the values for room names with the autoCompletionStrings#RoomName key in DefaultUserPreferences.properties (the two other keys are autoCompletionStrings#HomePieceOfFurnitureName and autoCompletionStrings#LabelText).

I hope you'll like it. Please test it the last version committed in CVS before I create a public beta.
Emmanuel Puybaret, Sweet Home 3D creator
Cardinal
Posts: 22
Joined: Mon Jul 04, 2011 2:46 pm

Re: add "faivorites"

Post by Cardinal »

Hi Emmanuel. Thank you for your response. Unfortunately mere autocompletion without a dropdown doesn't work for us. We're using PC Tablets and we have to keep the number of clicks to a minimum whenever possible. As it is now, if two strings start with a commun fragment, and the user intends to use the second one (alphabetical order wise), he has to type all those characters of the fragment up to the first charcater where the two strings diverge. For example :

salle à manger
salle de bain

Here if the user wants to produce "salle de bain", he has to type : "salle d".

So I really believe a dropdown is more effective here. It also has the benefit of letting the user see at a glance the out-of-box input and remove items he no longer needs.

Here I attached the component I've written so you can have a look or customize it if you want. I hope you'll reconsider. Thanks [:)]

http://dl.free.fr/vYAm5hsv7
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: add "faivorites"

Post by Puybaret »

I understand your point but sorry, as said earlier, I don't like editable combo boxes. If ever I find a nicer way, I'll improve the changes I programmed.

By the way, you didn't explain what your project is about. It would be nice to share this information with the community. [:)]
Emmanuel Puybaret, Sweet Home 3D creator
Cardinal
Posts: 22
Joined: Mon Jul 04, 2011 2:46 pm

Re: add "faivorites"

Post by Cardinal »

All right thank you.
The project is internal to the company and, apart from some specific features, the core won't be of much use to the community. So, we probably will acquire the edit licence for SH3D. [:)]
dlarroumets
Posts: 11
Joined: Tue Nov 03, 2009 10:37 am

Re: add "faivorites"

Post by dlarroumets »

Why the wompletion list is displayed only when there is one result ?

I think it will be better if when we wrote the first character we have immediatly several (4 or 5) proposition begining with this letter, like google... I do not know a user that not understand and use this google completion. Morover, and for tablet user it s a benediction.
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: add "faivorites"

Post by Puybaret »

I didn't think about the Google way (hope they didn't patent it!).
I'll see how it can be done in Java.
Emmanuel Puybaret, Sweet Home 3D creator
dlarroumets
Posts: 11
Joined: Tue Nov 03, 2009 10:37 am

Re: add "faivorites"

Post by dlarroumets »

Not like a editable combo box, but like completionlist :

Image
dlarroumets
Posts: 11
Joined: Tue Nov 03, 2009 10:37 am

Re: add "faivorites"

Post by dlarroumets »

You are too fast ^^
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest