Skip to content

Conversation

@shorsher
Copy link
Member

@shorsher shorsher commented Jan 27, 2022

  • Remove deprecated fields from UI panels
  • Updated TX details to become a <Slide> and include transaction status objects
  • Remove links to TX details in Messages view

Screen Shot 2022-01-31 at 4 10 48 PM

Screen Shot 2022-01-31 at 4 15 59 PM

Screen Shot 2022-01-31 at 4 15 50 PM

Copy link
Contributor

@awrichar awrichar left a comment

Choose a reason for hiding this comment

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

Approved, but requested a few small tweaks for this or a follow-up

@shorsher
Copy link
Member Author

I wasn't sure if Status was the right word to use in the panel, let me know if you have any better suggestions.

 - Remove deprecated fields from UI panels
 - Remove TX details
 - Remove links to TX details in Messages view

Signed-off-by: Alex Shorsher <alex.shorsher@kaleido.io>
@shorsher shorsher force-pushed the tx-fixes branch 2 times, most recently from 28f7e4e to be6b6ba Compare January 31, 2022 21:22
@shorsher shorsher requested a review from dechdev February 1, 2022 15:26
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

Copy link
Contributor

@dechdev dechdev Feb 1, 2022

Choose a reason for hiding this comment

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

image
Remove block if id is undefined

Copy link
Contributor

@dechdev dechdev left a comment

Choose a reason for hiding this comment

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

Looks good, requested one change

error: string;
id: string;
status: string;
subtype: string;
Copy link
Contributor

Choose a reason for hiding this comment

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

error, id, and subtype are all optional (may be undefined)

}

export interface ITransactionStatus {
status: string;
Copy link
Contributor

Choose a reason for hiding this comment

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

status (here and in the details) is an enum of Pending/Failed/Succeeded, so might be useful to define that

@awrichar
Copy link
Contributor

awrichar commented Feb 1, 2022

@shorsher I think "Status" is correct as the label for Pending/Succeeded/Failed, but I do think it's confusing as the header for the child objects. Perhaps just "Details" for that header?


return (
<>
<Typography fontWeight="bold">{t('status')}</Typography>
Copy link
Contributor

Choose a reason for hiding this comment

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

Commented on the top-level too... but maybe "Details" is a more appropriate header here

Signed-off-by: Alex Shorsher <alex.shorsher@kaleido.io>
@shorsher shorsher merged commit 91a7f69 into hyperledger:main Feb 1, 2022
@shorsher shorsher deleted the tx-fixes branch February 1, 2022 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants