Implement a member list or a friends list

Bug #1642161 reported by GunChleoc
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Widelands Website
Fix Released
Wishlist
Unassigned

Bug Description

When I want to PM a specific user, I have to do quite some digging through forum posts in order to find their profile. It would be great to have a members list or a friends list, available to logged-in users only.

Tags: users

Related branches

Revision history for this message
kaputtnik (franku) wrote :

You haven't to use the link in the profile of a user, you could just write the Username in the form field 'Recipient' in https://wl.widelands.org/messages/compose/

The bad thing is: there is no immediate validation (f.e. for misspelling). Not until you click 'Send' a validation is executed and an error message appears, f.e.:

The following usernames are incorrect: gunchleoc

At least it should show something like "Did you mean: <list of similar spelled users>".

Two other solutions:

1. From my point of view the best approach would be to have a filtering directly by typing the name in the form field 'Recipient'. So if you write 'gun' the field should be prefilled with valid usernames. This solution requires some java scripting.

2. A friends list is also possible. Implemented through an additional link in the profile view of current user (me) and the Friends-view has capabilities to send PM, adding and removing users. Additional each profile view could get a link "Add this user to my friends list".

Revision history for this message
GunChleoc (gunchleoc) wrote :

I think both approaches are OK - whatever is easier and/or more fun to implement.

kaputtnik (franku)
Changed in widelands-website:
status: New → In Progress
assignee: nobody → kaputtnik (franku)
Revision history for this message
kaputtnik (franku) wrote :

Since the jquery-ui library implemented with the new search comes also with an autocomplete functionality i used this. A screenshot of current state.

As soon one writes three chars in the recipient box, a popup appears showing available user names. One can use the mouse or the keyboard up-down keys to set the user for recipient.

Revision history for this message
GunChleoc (gunchleoc) wrote :

Looks good :)

kaputtnik (franku)
Changed in widelands-website:
status: In Progress → Fix Released
assignee: kaputtnik (franku) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.