Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Friendlier buttons for dynamic fields #3027

Merged
merged 1 commit into from
Mar 19, 2018

Conversation

deivid-rodriguez
Copy link
Contributor

🎩 What? Why?

While working on surveys I noticed something that it strikes as a bit weird to me. The button to add dynamic fields to a survey is placed on top of all the currently existing dynamic fields, not at the bottom. So if you're adding fields one by one, you have to constantly go back to the top when you want to create more fields.

I guess if you know the exact number of dynamic fields to be added upfront (say 9), you can "fix" the problem by clicking on the button 9 times and forget about it. But I don't think that's the way usually people interact with these forms.

I thought of opening an issue to discuss this (in case it is intentional), but it was easier to open a PR to better explain it. Tagging it as discussion though :)

📌 Related Issues

📋 Subtasks

  • Add CHANGELOG entry

📷 Screenshots (optional)

Before

before

Before with workaround

beforewithworkaround

After

after

@codecov
Copy link

codecov bot commented Mar 18, 2018

Codecov Report

Merging #3027 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3027   +/-   ##
=======================================
  Coverage   98.67%   98.67%           
=======================================
  Files        1699     1699           
  Lines       40568    40568           
=======================================
  Hits        40032    40032           
  Misses        536      536

Copy link
Contributor

@mrcasals mrcasals left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me!

@josepjaume
Copy link
Contributor

It makes waaay more sense! 👏

@josepjaume josepjaume merged commit 84cd32c into master Mar 19, 2018
@josepjaume josepjaume deleted the feature/better_button_positioning branch March 19, 2018 08:44
@ghost ghost removed the status: WIP label Mar 19, 2018
rbngzlv added a commit that referenced this pull request Mar 21, 2018
* master:
  [RFC] Use cells for meeting m cards (#3022)
  Do not force Postgresql user to be admin when enabling trigram extension (#3053)
  Make organization reference_prefix required (#3056)
  admin can duplicate/copy meetings (#3051)
  Fix question form errors not being displayed (#3046)
  Erb whitespace cutting (#3047)
  Show debates statistics on space show and homepage (#3016)
  Fix broken translated field after form errors (#3026)
  Move decidim executable to "exe" folder (#3028)
  Friendlier buttons (#3027)
  Feedback needed after Endorsing when user has no user_groups (#2998)
  Fix seeding error on generator specs (#3021)
  fix spelling error in threshold (#3019)
  Migration plus seeds (#2933)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants