galene icon indicating copy to clipboard operation
galene copied to clipboard

Context menus are not discoverable

Open jech opened this issue 1 year ago • 3 comments

The context menus on the users list and on the chat messages are not discoverable. Perhaps a menu icon that appears on hover?

Additionally, the group action menu (which is on the user's own entry in the users menu) should be moved to a dedicated button.

jech avatar Dec 15 '24 13:12 jech

or simply add to the css:

.message {
    cursor: pointer;
}

If the user place his mouse above a message the pointer will be shown as for button, links, ...

jjsarton avatar Dec 16 '24 12:12 jjsarton

You may also add to the galene.css file

.message {
    min-width:90%;  
    cursor: pointer;
    border: solid 2px transparent;
}
.message:hover  {
    border: solid 2px #8ac186;
}
.message-system:hover {
    border: solid 2px transparent;
}
.message-footer {
    text-align: rigth;
    width: 100%;
}
.message-system .message-footer  {
    color: transparent;
}

and within galene.js after footer.classList.add('message-footer');

    footer.classList.add('fa-solid');
    footer.classList.add('fa-mars-double');

Screenshot

jjsarton avatar Dec 16 '24 14:12 jjsarton

I have tried to solve this. On my server wgs.jjsarton.de you can have a look to the solution. The modifications of galene.js was not great. Only an op may have this function, according to the original code. I have created a button within the message-footer and it is only available for the op. Before creating the button I look if The user is an operator, if yes the button is created and a single click on the button call the contextual menu. If you want to see this you cam login as op with password op. All other participant name are accepted as presenter without password.

jjsarton avatar Dec 24 '24 18:12 jjsarton