-
Notifications
You must be signed in to change notification settings - Fork 0
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
Handled builds that are not associated to polled changes #11
base: main
Are you sure you want to change the base?
Conversation
Display basic info (rev + date) when possible.
? <DNEGridChange change={change} | ||
showDetails={changeIsExpandedByChangeId.get(change.changeid) ?? false} | ||
setShowDetails={(show: boolean) => changeIsExpandedByChangeId.set(change.changeid, show)} | ||
/> | ||
: "ChangeNotFound" | ||
: changeid.length !=0 && builds.length != 0 // The change wasn't polled, pull what we can from earliest build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this could be handled in DNEGridChangeNotFound
?
@@ -3,7 +3,7 @@ import './DNEGridView.scss'; | |||
import {ObservableMap, observable} from "mobx"; | |||
import {observer, useLocalObservable} from "mobx-react"; | |||
import {Link, useSearchParams} from "react-router-dom"; | |||
import {Form} from "react-bootstrap"; | |||
import {Form, OverlayTrigger, Popover} from "react-bootstrap"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused imports?
placement="top" | ||
overlay={popoverWithText("date-" + changeid, dateFormat(timestamp))} | ||
> | ||
<span><br/>{durationFromNowFormat(timestamp, now)}</span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the <br/>
should probably be between the two OverlayTrigger
?
It sometimes happen that some submits/commits are not polled properly, just try to handle those cases.
Display basic info (rev + date) when possible.
Tells that there is no change to be found when hovering info.
I think we want to broaden what we poll to minimize the issue though.
Here is an example (left uses pr, right is vanilla)
