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

Hide more information link when there's no description on an election #9099

Merged
merged 1 commit into from May 16, 2022

Conversation

oriolgual
Copy link
Contributor

🎩 What? Why?

When there's an answer without any related information, we shouldn't show the more information link.

Before that, we were showing the link even if the description was empty because the check was on the field (which is a hash) instead of the actual translated value.

📷 Screenshots

image

@andreslucena andreslucena added module: elections type: fix PRs that implement a fix for a bug labels Mar 28, 2022
@andreslucena andreslucena added the contract: e-voting Barcelona City Council contract label Mar 29, 2022
@oriolgual oriolgual force-pushed the fix/remove-more-information-link-when-blank branch from 65571bb to 97f65bc Compare April 24, 2022 10:26
@oriolgual oriolgual force-pushed the fix/remove-more-information-link-when-blank branch 2 times, most recently from 988ee6f to 82b4a9c Compare May 1, 2022 10:46
@oriolgual oriolgual force-pushed the fix/remove-more-information-link-when-blank branch from 82b4a9c to 7e3800d Compare May 1, 2022 18:54
@andreslucena
Copy link
Member

There's a failing spec, can you check that @oriolgual?

@oriolgual oriolgual force-pushed the fix/remove-more-information-link-when-blank branch 2 times, most recently from bf5bbff to f995f2c Compare May 2, 2022 08:50
@andreslucena
Copy link
Member

@oriolgual there are some errors in CI, can you check it again please?

@oriolgual oriolgual force-pushed the fix/remove-more-information-link-when-blank branch 3 times, most recently from 9cde4e9 to aa4cc65 Compare May 8, 2022 11:34
@oriolgual oriolgual force-pushed the fix/remove-more-information-link-when-blank branch from aa4cc65 to c6ce450 Compare May 9, 2022 07:24
Copy link
Member

@andreslucena andreslucena left a comment

Choose a reason for hiding this comment

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

Thanks!

@andreslucena andreslucena added this to Done in e-voting May 16, 2022
@andreslucena andreslucena changed the title Hide more information link when there's no description Hide more information link when there's no description on an election May 16, 2022
@andreslucena andreslucena merged commit dcd18a8 into develop May 16, 2022
@andreslucena andreslucena deleted the fix/remove-more-information-link-when-blank branch May 16, 2022 07:11
ahukkanen pushed a commit that referenced this pull request May 19, 2022
…#9099) (#9331)

Co-authored-by: Oriol Gual <oriolgual@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contract: e-voting Barcelona City Council contract module: elections type: fix PRs that implement a fix for a bug
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

4 participants