Git Product home page Git Product logo

Comments (13)

virgile-dev avatar virgile-dev commented on August 14, 2024

Comme les catégories et les zones d'application l'administrateur pourrait créer les status dont il a besoin. Si on met en place quelque chose comme ça ce sera utile pour tout le monde et pas juste pour Angers.

from decidim.

virgile-dev avatar virgile-dev commented on August 14, 2024

Voilà les css utilisées pour les trois status existants @netbe
proposal-status-css.png

from decidim.

netbe avatar netbe commented on August 14, 2024

Ok we got something simpler here's all the states:

STATES = %w(accepted rejected evaluating doable notdoable tovote)
Traductions: recevable, non recevable, en cours d'évaluation, réalisable, non réalisable, soumis au vote

I am missing the translations for answer,
I'll comment in the PR for that

from decidim.

virgile-dev avatar virgile-dev commented on August 14, 2024

Cette proposition est recevable parce que :
Cette proposition est non recevable parce que :
Cette proposition est en cours d'évaluation :
Cette proposition a été jugée réalisable :
Cette proposition a été jugée non réalisable parce que :
Cette proposition est soumise au vote :

from decidim.

netbe avatar netbe commented on August 14, 2024

Deployed: https://osp-angers.herokuapp.com/
FIXME:

  • Resolve: Message from application: uninitialized constant Decidim::Proposals::STATES (NameError)

from decidim.

netbe avatar netbe commented on August 14, 2024

Test it on https://osp-angers.herokuapp.com/processes/aut-aliquam/f/9/?locale=fr

from decidim.

valentinchaput avatar valentinchaput commented on August 14, 2024

Most of the feature is very good.

1/ Only missing point is the color of the description text on a proposition specific page.

Here is what we see for an accepted ("recevable") proposition: .callout success
capture d ecran 2018-01-09 a 12 46 05

It does not appear on the new states (doable notdoable tovote)
capture d ecran 2018-01-09 a 12 50 48

Could you fix this with the following?

  • doable: success
  • notdoable: warning
  • tovote: success

--
2/ Then I have a design issue: we can have a "resté sans réponse" label. We should rename it "Pas encore évaluée". As it is a default status, could we also make it appear in the filter?

Please ask if it is not clear enough.

from decidim.

netbe avatar netbe commented on August 14, 2024

@valentinchaput seems clear, I'll ping you when it's change

from decidim.

netbe avatar netbe commented on August 14, 2024

@valentinchaput done and deployed!

from decidim.

valentinchaput avatar valentinchaput commented on August 14, 2024

@netbe,

Sorry, I got confused with the colors. Can we change them to

  • rejected + notdoable = danger
  • "Pas encore évaluée" = warning

Would be more logical. Thanks!

from decidim.

netbe avatar netbe commented on August 14, 2024

@valentinchaput yeah, well there is no danger class:

See here:
https://github.com/OpenSourcePolitics/decidim/blob/master/decidim-core/app/assets/stylesheets/decidim/modules/_callout.scss#L13

And

https://github.com/OpenSourcePolitics/decidim/blob/master/decidim-admin/app/assets/stylesheets/decidim/admin/modules/_typography.scss#L5

from decidim.

virgile-dev avatar virgile-dev commented on August 14, 2024

@netbe You have a style guide for Decidim :
http://decidim-design.herokuapp.com/pattern-library/

from decidim.

valentinchaput avatar valentinchaput commented on August 14, 2024

@netbe did you find an explanation/solution on this strange switch to English when we select a status?

from decidim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.