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

[Backport] Add progress bars to milestones public view #3228

Merged
merged 11 commits into from
Jan 29, 2019

Conversation

decabeza
Copy link
Collaborator

References

This is a backport of AyuntamientoMadrid#1813

This close consul#3135

Objectives

  • Display primary and secondary progress bars alongside milestones.

Visual Changes

proposals

process

javierm and others added 10 commits January 24, 2019 17:33
Note we require extra <span> tags because the <progress> tag is an empty
tag (like <img>), and so it can't have ::before or ::after
pseudo-elements. There's a workaround for that, but currently it only
works on Chrome.

For some reason, the text seems to be slightly misaligned vertically in
all implementations I've tried. So the `top: -0.1rem` rule is a hack to
align it properly.
These progress bars don't have any translatable attributes.
We're going to introduce progress bars in the public view as well, and
it's more consistent with "admin_milestoneable".
Before, this tab only was show if were some milestone
@decabeza decabeza force-pushed the milestones_public_progress_bar branch from 8a6c618 to 78d8e34 Compare January 24, 2019 16:40
@decabeza decabeza force-pushed the milestones_public_progress_bar branch from 7fddb0c to d650b90 Compare January 24, 2019 17:33
@decabeza decabeza merged commit 78479ff into master Jan 29, 2019
@decabeza decabeza deleted the milestones_public_progress_bar branch January 29, 2019 13:12
@decabeza decabeza added this to Release 0.19 in Roadmap Jan 29, 2019
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.

Add progress bar to milestones
3 participants