Feature Request: Alias field next to contents

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
SarenT
Posts: 18
Joined: Sat Jan 12, 2019 2:30 pm

Feature Request: Alias field next to contents

Postby SarenT » Fri Mar 06, 2020 8:58 pm

Hi,

I love making parametric designs in FreeCAD. One challenge is to jump create aliases in spread sheet. Often while working in other workbenches, I decide to create new values with aliases. Then I open spreadsheet and I need to click a few times to get to alias setting (right click on cell, alias tab and select field). There is a short cut for alias setting: CTRL+SHIFT+A. However, for that I need to switch to Spreadsheet workbench, which also costs some clicks.

How about, we get an alias field right next to contents field (right above the spreadsheet cells and below the toolbars)? There is plenty of space there and 2 most important settings for cells are: content, unit and alias. The styles (colors, alignment and style) don't matter as much as the those. Units can be set by typing it with the numbers: eg: "2mm".

Would this help you as well?
Does it create problems for certain usage scenarios?

Image
dxp.dev
Posts: 210
Joined: Tue Dec 11, 2018 12:57 pm

Re: Feature Request: Alias field next to contents

Postby dxp.dev » Tue Mar 10, 2020 12:28 pm

Great idea !
Imperial system makes no sense, go metric ! ! !
User avatar
Kunda1
Posts: 8719
Joined: Thu Jan 05, 2017 9:03 pm

Re: Feature Request: Alias field next to contents

Postby Kunda1 » Tue Mar 10, 2020 12:32 pm

SarenT wrote:
Fri Mar 06, 2020 8:58 pm
This make sense and seems to make for a more efficient workflow.
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
adrianinsaval
Posts: 344
Joined: Thu Apr 05, 2018 5:15 pm

Re: Feature Request: Alias field next to contents

Postby adrianinsaval » Tue Mar 10, 2020 8:37 pm

+1
This would be far more convenient than the current behaviour
User avatar
Kunda1
Posts: 8719
Joined: Thu Jan 05, 2017 9:03 pm

Re: Feature Request: Alias field next to contents

Postby Kunda1 » Tue Mar 10, 2020 8:42 pm

SarenT wrote:
Fri Mar 06, 2020 8:58 pm
:bell:
Feel free to open a Feature Request on the Tracker
(please link to this thread in the ticket, and link to the ticket from this thread. Thanks!)
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
TheMarkster
Posts: 2048
Joined: Thu Apr 05, 2018 1:53 am

Re: Feature Request: Alias field next to contents

Postby TheMarkster » Tue Mar 10, 2020 8:44 pm

I will work on adding this.

Edit: https://github.com/FreeCAD/FreeCAD/pull/3154
My FreeCAD video series on youtube: https://www.youtube.com/c/mwganson
adrianinsaval
Posts: 344
Joined: Thu Apr 05, 2018 5:15 pm

Re: Feature Request: Alias field next to contents

Postby adrianinsaval » Wed Mar 11, 2020 8:23 pm

TheMarkster wrote:
Tue Mar 10, 2020 8:44 pm
I will work on adding this.

Edit: https://github.com/FreeCAD/FreeCAD/pull/3154
Nice! Hope this gets merged before release :D
SarenT
Posts: 18
Joined: Sat Jan 12, 2019 2:30 pm

Re: Feature Request: Alias field next to contents

Postby SarenT » Thu Mar 12, 2020 9:30 am

adrianinsaval wrote:
Wed Mar 11, 2020 8:23 pm
TheMarkster wrote:
Tue Mar 10, 2020 8:44 pm
I will work on adding this.

Edit: https://github.com/FreeCAD/FreeCAD/pull/3154
Nice! Hope this gets merged before release :D
Thanks a lot eveyone! I added the feature request into bug tracker:
https://tracker.freecadweb.org/view.php?id=4287
User avatar
Kunda1
Posts: 8719
Joined: Thu Jan 05, 2017 9:03 pm

Re: Feature Request: Alias field next to contents

Postby Kunda1 » Thu Mar 12, 2020 12:07 pm

SarenT wrote:
Thu Mar 12, 2020 9:30 am
Thanks a lot eveyone! I added the feature request into bug tracker:
@SarenT, it was not necessary in this instance to open a ticket since @TheMarkster already provided a fix. BTW, No need to close the ticket now as we will let the GitHub commit automagically close it (ive requested this on the PR from TheMarkster).
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
uwestoehr
Posts: 1951
Joined: Sun Jan 27, 2019 3:21 am

Re: Feature Request: Alias field next to contents

Postby uwestoehr » Thu Mar 12, 2020 9:29 pm

TheMarkster wrote:
Tue Mar 10, 2020 8:44 pm
Edit: https://github.com/FreeCAD/FreeCAD/pull/3154
Many thanks for this improvement!
I would like to make the feature more clear to new users. So could you please add a tooltip for the Alias field?

Another issue: when I create a new spreadsheet it is not immediately shown. One first needs to search it in the tree view then click on it to get it shown. I think when creating a new spreadsheet one wants to work with it so it should directly be shown.