ui: Remove "reset time" n Statements and Transactions Pages#76691
ui: Remove "reset time" n Statements and Transactions Pages#76691craig[bot] merged 1 commit intocockroachdb:masterfrom
Conversation
|
@Annebirzin, does this look good? #70997 mentions:
The "underline tooltip treatment" seemed to be satisfied without any changes, just checking that it looks right? |
matthewtodd
left a comment
There was a problem hiding this comment.
Reviewed 1 of 3 files at r1.
Reviewable status:complete! 0 of 0 LGTMs obtained (waiting on @jocrl and @matthewtodd)
pkg/ui/workspaces/cluster-ui/src/sqlActivity/clearStats.tsx, line 53 at r1 (raw file):
onClick={props.resetSQLStats} > Clear SQL stats
Interestingly, I recently made the opposite change in #73922, in response to #73444. It's a small change and not much to worry about, but @kevin-v-ngo and @Annebirzin, could you confirm which word you'd like to see here? (See also the Figma discussion that led to #73444.)
matthewtodd
left a comment
There was a problem hiding this comment.
Code , one question on wording.
Reviewed 2 of 3 files at r1, all commit messages.
Reviewable status:complete! 1 of 0 LGTMs obtained (waiting on @jocrl)
|
Good callout Matthew! We wanted reset to align with the reset function via SQL (it should be reset SQL stats). Not sure if anything changed but could've been a small detail we missed. Can you confirm @Annebirzin |
|
Ah yes we want to stick with the 'Reset' language, sorry for any confusion. @jocrl also I'll create a separate ticket for the spacing issue. Thanks! |
Addresses cockroachdb#70997 This commit removes the "reset time" link on Statements and Transactions Pages. Release note (ui): The "Now" button had been added in this commit 82f2673 to the Statements and Transactions Pages. This commit removes the "reset time" link which the "Now" button replaces.
1469c25 to
78c68e7
Compare
|
bors r+ |
|
Build failed (retrying...): |
|
Build succeeded: |
This commit fixes the stray parenthesis at the end of the duration time for a succeeded job. The parenthesis had been introduced in cockroachdb#76691 and the 21.2 backport cockroachdb#73624. Release note (ui): Remove stray parenthesis at the end of the duration time for a succeeded job. It had been accidentally introduced to unreleased master and a 21.2 backport. Release justification: Category 2, UI bug fix
Addresses cockroachdb#77440. This commit fixes the stray parenthesis at the end of the duration time for a succeeded job. The parenthesis had been introduced in cockroachdb#76691 and the 21.2 backport cockroachdb#73624. Release note (ui): Remove stray parenthesis at the end of the duration time for a succeeded job. It had been accidentally introduced to unreleased master and a 21.2 backport. Release justification: Category 2, UI bug fix
77208: sql: update test that was fooling itself r=ajwerner a=ajwerner I have no clue what is going on in #76843 but this test was fooling itself regarding the existence of separate connections. Release justification: non-production code changes Release note: None 77220: sql/contention/txnidcache: reuse blocks in list, account for space r=maryliag,ajwerner a=ajwerner This change does two things to the txnidcache: 1) It accounts for the space used by the fifo eviction list. Previously we'd use more than double the intended space. We should probably also subtrace out the size of the buffers we're currently filling and the channel we use to communicate them, but I'll leave that for later. 2) It stops trying to compact the blocks. Compacting the blocks ends up being a good deal of overhead because we have to copy across every single message. Instead we can just append the block directly to the list. This does have the hazard of wasting a lot of space when the blocks are sparse. However, if the blocks are sparse, we know that the throughput is low, so it's fine. Resolves #76738 Release justification: bug fixes and low-risk updates to new functionality Release note: None 77363: sql/delegate: avoid extra string->int parsing r=otan a=rafiss Release justification: low risk improvement Release note: None 77438: ui: Remove stray parenthesis in Jobs page r=jocrl a=jocrl Addresses #77440. This commit fixes the stray parenthesis at the end of the duration time for a succeeded job. The parenthesis had been introduced in #76691 and the 21.2 backport #73624. Before:  After:  Release note (ui): Remove stray parenthesis at the end of the duration time for a succeeded job. It had been accidentally introduced to unreleased master and a 21.2 backport. Release justification: Category 2, UI bug fix Co-authored-by: Andrew Werner <awerner32@gmail.com> Co-authored-by: Rafi Shamim <rafi@cockroachlabs.com> Co-authored-by: Josephine Lee <josephine@cockroachlabs.com>
Addresses cockroachdb#77440. This commit fixes the stray parenthesis at the end of the duration time for a succeeded job. The parenthesis had been introduced in cockroachdb#76691 and the 21.2 backport cockroachdb#73624. Release note (ui): Remove stray parenthesis at the end of the duration time for a succeeded job. It had been accidentally introduced to unreleased master and a 21.2 backport. Release justification: Category 2, UI bug fix


Addresses #70997
This commit removes the "reset time" link on Statements and Transactions Pages.
Release note (ui): The "Now" button had been added in this commit
jocrl@82f2673
to the Statements and Transactions Pages. This commit removes the "reset time"
link which the "Now" button replaces.
Before, Statements Page:

After, Statements Page:

Before, Transactions Page:

After, Transactions Page:
