voxe / voxe-web

Voxe.org is a non-partisan tool that compares and contextualizes political platforms. Citizens, media and startups can reuse this open platform designed to held forge an informed electorate.
http://voxe.org
Apache License 2.0
17 stars 9 forks source link

Candidacy to user link for the backoffice #84

Closed dwarffrench closed 11 years ago

dwarffrench commented 11 years ago

I chose to go with a collection for the profile in the end. It is linked to a candidacy and its' name is very explicit, but ugly too, is CandidateCandidacyProfile. If you want to change it, please let me know.

dwarffrench commented 11 years ago

This is the new look of a propositions' tags selection using select2: As you can see, only the "terminal" tags are displayed as they are the only ones which can be added or deleted. (every tag except "Politique étrangère" in this example) capture du 2013-05-21 01 21 00

dwarffrench commented 11 years ago

I have a question concerning embeds: An embed has 5 fields: title, url, provider_name, type, html. The only required element is the url.

Should the user fill in all the fields ?

capture du 2013-05-21 10 46 45

dwarffrench commented 11 years ago

@jrybak and myself worked on a design proposition for a candidacy's propositions' index and we came up with this:

capture du 2013-05-22 17 15 51

NebJ commented 11 years ago

Hey, sorry I'm a bit late. Yes, an embed is optional and the only required field is URL. Why? Because the behaviour of this entity is to enhance the content of a proposition by linking something. And this something can be a video, a web page, or anything else; and so not all the fields are pertinent depending of the type of content behind the link. I hope it's clear, let me know if not.

NebJ commented 11 years ago

BTW I don't understand all the behaviours of your design. Even if it's looks great ;)

dwarffrench commented 11 years ago

Concerning the embed, yes this is clear, thanks ! I am now wondering what field we should propose to the user when he adds a link to a proposition. Should we only make the url, the type and the title available ?

Concerning the design, we forgot to say something: The search can be done with one or both of the search boxes at the same time. The propositions, found by the search, would be sorted out using their low-level tag, or leaf tag (in opposition to root tags).

NebJ commented 11 years ago

@edschlum what do you think?

edschlum commented 11 years ago

Hi,

Yes, the candidate should be able to add himself any content around the proposals.

That means : there should be

We'll see later to add charts (from Qunb for example).

dwarffrench commented 11 years ago

Thanks for the answer @edschlum and @NebJ.

Just to be sure, should a proposition have a maximum number of links ? or a limited number of links of a certain type, for example a video ?

edschlum commented 11 years ago

No. No limit :) — Sent from Mailbox for iPhone

On Sat, May 25, 2013 at 11:26 PM, cavarelli notifications@github.com wrote:

Thanks for the answer @edschlum and @NebJ.

Just to be sure, should a proposition have a maximum number of links ? or a limited number of links of a certain type, for example a video ?

Reply to this email directly or view it on GitHub: https://github.com/voxe/voxe-web/pull/84#issuecomment-18454192

Soulou commented 11 years ago

It has been merged manually (need to rebase before), staging is coming.