× Joomla Facebook Connect support forum

Topic-icon Open Graph Settings Page

11 years 3 months ago #29282 by chramb1
File Attachment:
I've styled the settings page to fit on my site, and I notice a deficiency. Users are presented with a checkbox for each action and then the name of the action. In my case, right now, those actions are limited to "join group" (from the jomsocial plugin) and "collect" from my own plugin.

My users have no idea what that means.

The actions table really needs a description field so that this display can give a plain-English description of what each social graph action is such that users can make an informed choice as to which they want to allow.

I added this field to the database and regressed my testing and found no problems. See attached screenshot for pretty display fun ;)

(NB: This is our development site, so this page is still being styled - don't blame me for the obvious UI rough edges!)
The topic has been locked.
Support Specialist
11 years 3 months ago #29288 by alzander
Replied by alzander on topic Open Graph Settings Page
Christopher,
We completely agree that the actions aren't descript enough on their own. We're planning on adding something like what you mention where a real description can be added for the action instead of just concatenating the name of both the action and object together.

The main issue we ran into when starting to allow for descriptions was that actions can be associated with multiple objects.. so an 'upload' action could be associated with photos, files, and other 'objects' that have been created. We'd need a description field for both the action and the object and a method to make sure the user named them correctly so that they always pair properly.

I hope that makes sense. It's easy when there's a 1:1 correlation between actions and objects, but more complicated on more complex activities. Honestly, we obviously kicked the can down the road though and, while not a great solution, implemented one that could be refined later. We also mainly wanted to get Open Graph Actions out there and try not to make it even more complex with more settings in the initial release as there's enough 'moving parts' already.

If you're interested in sharing the code changes you made, we'd gladly take a look and implement it, or something similar, in an upcoming release.

As for the display of the activity, that definitely looks nice. While we wouldn't take that directly, as it's pretty template specific, if you have any classes that we could add to make your (and others) overrides easier in the future, we'll gladly listen. We're definitely not designers :D

Thanks,
Alex
The topic has been locked.