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

Restore the "new issue" feature #426

Open
annevk opened this issue Oct 2, 2023 · 0 comments
Open

Restore the "new issue" feature #426

annevk opened this issue Oct 2, 2023 · 0 comments

Comments

@annevk
Copy link
Member

annevk commented Oct 2, 2023

I think for now the best course of action is to remove the floating "new issue" feature, but this CSS could possibly restore it:

@keyframes new-issue {
  to {
    position:fixed;
    right:5px;
    bottom:5px;
    content:"File an issue";
  }
}

.head a[href$="/issues/new/choose"] {
  animation: new-issue forwards;
  animation-timeline: scroll();
  animation-range: 50vh 50vh;
}

This works quite well in Chromium, and in Gecko and WebKit it has the effect of making it permanently floating, which is a little weird when you're looking at the top of the document.

Also no browser supports the content property taking a string.

(Also, HTML currently uses whatwg.org/newbug, so we'd need to account for that somehow.)

annevk added a commit to whatwg/html that referenced this issue Oct 2, 2023
Unfortunately it's primarily used for spammy issues. See whatwg/spec-factory#63 and whatwg/whatwg.org#426 for thoughts on reviving aspects of it at some point in the future.
annevk added a commit to speced/bikeshed-boilerplate that referenced this issue Oct 2, 2023
See whatwg/spec-factory#63 and whatwg/whatwg.org#426 for thoughts on reviving parts of it at some future point.
annevk added a commit to whatwg/html that referenced this issue Oct 3, 2023
Unfortunately it's primarily used for spammy issues. See whatwg/spec-factory#63 and whatwg/whatwg.org#426 for thoughts on reviving aspects of it at some point in the future.
mfreed7 pushed a commit to mfreed7/html that referenced this issue Oct 11, 2023
Unfortunately it's primarily used for spammy issues. See whatwg/spec-factory#63 and whatwg/whatwg.org#426 for thoughts on reviving aspects of it at some point in the future.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant