pagermon icon indicating copy to clipboard operation
pagermon copied to clipboard

add a field to capcode creation /edition

Open f5gkw opened this issue 4 years ago • 5 comments

Add a field on the capcode alias creation/edit page to place a comment.

Examples : "validated on 01 janv 21" or " also linked with capcode xxx" or " owner is john Doe".

A checkbox or another sign, on the main page, to inform/remember that a comment does exist on this capcode/alias.

Thanks !

f5gkw avatar Jan 26 '21 16:01 f5gkw

The comment field is added easily enough, The display on the main page is probably a bigger discussion. something for the future

DanrwAU avatar May 29 '21 08:05 DanrwAU

The comment field is added easily enough, The display on the main page is probably a bigger discussion. something for the future

on the alias template, replace

<td class="expand clickable-td" ng-click="messageDetail(alias.id);" style="color: Maroon;">{{alias.alias || ''}}</td>

with

<td class="expand clickable-td" ng-click="messageDetail(alias.id);" style="color: Maroon;" title="{{alias.comment}}">{{alias.alias || ''}}</td>

obviously 'comment' column has to exist in the capcodes table. renders this on hover: comment_hover

You could add the same way in main page, or as part of popover template, but would have to reference an extra column in messages. that could get messy. if all you wanted was a checkbox you could have a boolean "hascomment" column i guess

geelongmicrosoldering avatar Jun 01 '21 17:06 geelongmicrosoldering

Hello, More than one year later, I see this answer ... Thanks, I will test

f5gkw avatar Jul 25 '22 14:07 f5gkw

With "main page", do you refer to the alias list or the message list?

eopo avatar Jul 26 '22 01:07 eopo

With "main page", do you refer to the alias list or the message list?

Im going to be honest. I dont even remember writing this and would probably do it differently now 😂

geelongmicrosoldering avatar Jul 26 '22 07:07 geelongmicrosoldering