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

Improve UI event grid explorer #752

Conversation

ErikMogensen
Copy link
Collaborator

Changed the menus on the Mainform:
image

On the Connect form I changed the order and width of the fields. I also made the API version a combo box. I did not the set list of tenants associated with the logged in account since I am pretty sure you need to log in the user first and that would be out of scope for this PR. However, I think that is the way to go.

I did not change the selection of the Cloud tenant, since I am not sure how that should work. I set the icon and made the OK button the Accept button and the Cancel button the Escape button.

image

For the three other dialogs I set the window position to CenterParent, window frame to Fixed and set Accept and Escape buttons:
image

image

image

Copy link
Collaborator

@SeanFeldman SeanFeldman left a comment

Choose a reason for hiding this comment

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

Added one suggestion.
Looks good.

RetryTimeout = txtRetryTimeout.Text != string.Empty ? int.Parse(txtRetryTimeout.Text) : 0;
ApiVersion = cboApiVersion.Text.Trim();

var retryTimoutInSeconds = txtRetryTimeout.Text != string.Empty ? int.Parse(txtRetryTimeout.Text) : 0;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
var retryTimoutInSeconds = txtRetryTimeout.Text != string.Empty ? int.Parse(txtRetryTimeout.Text) : 0;
int.TryParse(txtRetryTimeout.Text, out var retryTimoutInSeconds);

@ErikMogensen ErikMogensen merged commit 8207abc into paolosalvatori:EventGridExplorer Nov 20, 2023
1 check passed
@ErikMogensen ErikMogensen deleted the ImproveUIEventGridExplorer branch November 20, 2023 07:46
ErikMogensen added a commit that referenced this pull request Jun 10, 2024
* Event Grid Explorer - Adding support for Event Grid V2 in Service Bus Explorer
Implemented Event Grid V2 library and components to view and manage Event Grid V2 entities
* Updated Event Grid Explorer README
* Made various fixes, including updating the connect form
* Updated EventGridExplorer README and removed Service Bus root node menu strip from Event Grid root node
* Adhare to the license in the repo
* Fall back to the default API version
* Change tenantId when logging in
* Improve UI event grid explorer (#752)
* Updated UI according to review.
* Set default and cancel buttons. Changed window looks.
* Changed the retry timout parsing
* Using Control plane sdk instead of generated files
* Adding Filter UI
* Allowing multiple filters
* Refining the explorer with proper error handling and the filters accepting values
* Resolving comments
* Removing custom exception and moving logic into filterfactory
* Build warnings resolved

---------

Co-authored-by: Sean Feldman <SeanFeldman@users.noreply.github.com>
Co-authored-by: Erik Mogensen <ErikMogensen@users.noreply.github.com>
Co-authored-by: Paolo Salvatori <paolos@microsoft.com>
Co-authored-by: harrieoriowo <168222311+harrieoriowo@users.noreply.github.com>
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.

2 participants