Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

Rework the monitoring flag #198

Merged
merged 16 commits into from May 20, 2015
Merged

Rework the monitoring flag #198

merged 16 commits into from May 20, 2015

Conversation

pypingou
Copy link
Member

This replace the two states flag with a three states one:

  • True: monitor the package, open a bug and try a scratch build
  • False: do not monitor the package
  • nobuild: monitor the package, open a bug but do not try a scratch build

This should fix #187

As a side effect, of the new UI, I believe this will also fix #163

@pypingou
Copy link
Member Author

The new UI:

screenshot from 2015-05-19 14 12 32

@@ -156,6 +156,13 @@ a.wheel, a.wheel:hover, button.wheel, button.wheel:hover {
background-position: 3px 50%;
}

label.active, label.active:hover {
background-image: url(https://admin.fedoraproject.org/pkgdb/static/arrow.png) !important;
Copy link
Contributor

Choose a reason for hiding this comment

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

Hard-coded?

Copy link
Member Author

Choose a reason for hiding this comment

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

They are hard-coded for all the css, the only other option is to hard-code them as /pkgdb/static/....

We can't use flask's magic in the CSS files :(

Copy link
Contributor

Choose a reason for hiding this comment

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

I could swear you can do them relative to the css file.

Copy link
Contributor

Choose a reason for hiding this comment

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

@ralphbean
Copy link
Contributor

👍 from me (except for that background-image url -- can that be changed?)

@pypingou
Copy link
Member Author

Adjusted :)

@ralphbean
Copy link
Contributor

👍 Thanks!

pypingou added a commit that referenced this pull request May 20, 2015
@pypingou pypingou merged commit 1ba60fb into master May 20, 2015
@pypingou pypingou deleted the monitoring branch May 20, 2015 15:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a new flag just for hotness scratch builds The `Monitoring' flag is misleading
2 participants