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

UI changes in Add Metrics page #1600

Merged
merged 16 commits into from
Jun 19, 2024
Merged

UI changes in Add Metrics page #1600

merged 16 commits into from
Jun 19, 2024

Conversation

KD1712
Copy link
Collaborator

@KD1712 KD1712 commented Jun 3, 2024

Replaced ID column with Context column, added context filter option. In ADD METRIC json-editor, added context list and removed highlighted blue line

…In ADD METRIC json-editor, added context list and removed highlighted blue line
@KD1712 KD1712 requested a review from ppratikcr7 June 3, 2024 13:06
@KD1712 KD1712 linked an issue Jun 3, 2024 that may be closed by this pull request
@KD1712
Copy link
Collaborator Author

KD1712 commented Jun 3, 2024

@zackcl @danoswaltCL We are updating the UI of our table component, which includes a hierarchical tree structure. Initially, we used drop-down icons for all nodes. Now, changes made here to create difference between leaf node and expandable are: Expandable nodes use the drop-down icon and leaf nodes use bullet points (•).

Which design option do we prefer for representing leaf nodes in our table component:
Bullet Points OR Empty Space OR Disabled drop-down icon ?

@ppratikcr7
Copy link
Collaborator

ppratikcr7 commented Jun 3, 2024

@zackcl @danoswaltCL We are updating the UI of our table component, which includes a hierarchical tree structure. Initially, we used drop-down icons for all nodes. Now, changes made here to create difference between leaf node and expandable are: Expandable nodes use the drop-down icon and leaf nodes use bullet points (•).

Which design option do we prefer for representing leaf nodes in our table component: Bullet Points OR Empty Space OR Disabled drop-down icon ?

@zackcl @danoswaltCL We are updating the UI of our table component, which includes a hierarchical tree structure. Initially, we used drop-down icons for all nodes. Now, changes made here to create difference between leaf node and expandable are: Expandable nodes use the drop-down icon and leaf nodes use bullet points (•).

Which design option do we prefer for representing leaf nodes in our table component: Bullet Points OR Empty Space OR Disabled drop-down icon ?

@KD1712 Can you please add the reference image?

Copy link
Collaborator

@ppratikcr7 ppratikcr7 left a comment

Choose a reason for hiding this comment

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

I found the following things in the UI:

  1. The chips are not spaced as they should be in tags chips on experiment page.

  2. The bullet points are square, can you make them round bullets? @zackcl What is your opinion on this?

  3. The context chips when clicked, wont trigger search operation as we have on experiments page.

  4. Can the alignment of the bullet point and arrow for different rows be more aligned in a straight line?

Screenshot 2024-06-03 at 7 37 43 PM Screenshot 2024-06-03 at 7 37 56 PM

@hsnee
Copy link

hsnee commented Jun 3, 2024

FYI @zackcl is out until July 1st. Tagging @amurphy-cl to decide if someone else should have input on these.

@amurphy-cl
Copy link
Collaborator

Thanks Husni, @danoswaltCL can you have a look?

@ppratikcr7
Copy link
Collaborator

I found the following things in the UI:

  1. The chips are not spaced as they should be in tags chips on experiment page.
  2. The bullet points are square, can you make them round bullets? @zackcl What is your opinion on this?
  3. The context chips when clicked, wont trigger search operation as we have on experiments page.
  4. Can the alignment of the bullet point and arrow for different rows be more aligned in a straight line?

Screenshot 2024-06-03 at 7 37 43 PM Screenshot 2024-06-03 at 7 37 56 PM

Adding one more thing, the context from dropdown on json editor is not saving metrics successfully, I guess that hook with backend is not implemented yet, and context might be needed in the JSON itself. I am using the below JSON to add new metrics:

{ "metrics": [ { "metric": "totalTimeSeconds3", "datatype": "continuous" } ] }

…t from select menu is attached to the Metric JSON on saving
@KD1712 KD1712 requested review from ppratikcr7 and RidhamShah June 5, 2024 14:18
@KD1712
Copy link
Collaborator Author

KD1712 commented Jun 5, 2024

@danoswaltCL We are updating the UI of our table component, which includes a hierarchical tree structure. Initially, we used drop-down icons for all nodes. Now, changes made here to create difference between leaf node and expandable are: Expandable nodes use the drop-down icon and leaf nodes use bullet points (•).
Which design option do we prefer for representing leaf nodes in our table component: Bullet Points OR Empty Space OR Disabled drop-down icon ?

@KD1712 Can you please add the reference image?

Screenshot 2024-06-05 at 7 36 46 PM

KD1712 and others added 6 commits June 6, 2024 10:47
* Crud operation and store related changes for fetch feature flag paginated

* added service changes and shifted some logic to selectors
* WIP: Feature flag admin endpoints

* update feature flag service tests

* review changes

* merge dev into feature/feature-flag-admin-api

* review changes

---------

Co-authored-by: danoswaltCL <[email protected]>
@ppratikcr7
Copy link
Collaborator

ppratikcr7 commented Jun 6, 2024

@KD1712 Thanks for adding a padding between the text and delete icon. I noticed one more thing, the delete icon is black and large in size, but we use a small and grey shade at all other places. Can you pick the css from design stepper page or profile page?

Screenshot 2024-06-06 at 5 45 20 PM

@ppratikcr7
Copy link
Collaborator

@KD1712 I checked again, all looks good now. But, the delete button in the delete metrics modal is not enabled on correct metric path name. It is was working earlier and works in dev branch as well. Something is changed in this PR. Can you please check?

Copy link
Collaborator

@ppratikcr7 ppratikcr7 left a comment

Choose a reason for hiding this comment

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

@KD1712 Have few comments, please check.

import { JsonEditorOptions, JsonEditorComponent } from 'ang-jsoneditor';
import { MatDialogRef } from '@angular/material/dialog';
import { AnalysisService } from '../../../../../../core/analysis/analysis.service';
import { Subscription } from 'rxjs';
// import { MetricUnit } from '../../../../../../core/analysis/store/analysis.models';
Copy link
Collaborator

Choose a reason for hiding this comment

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

remove this commented import

@KD1712 KD1712 requested review from danoswaltCL and ppratikcr7 June 18, 2024 06:03
ppratikcr7
ppratikcr7 previously approved these changes Jun 18, 2024
@ppratikcr7 ppratikcr7 changed the title UI changes in Metrics page UI changes in Add Metrics page Jun 19, 2024
@ppratikcr7 ppratikcr7 merged commit 14d86b7 into dev Jun 19, 2024
8 checks passed
@ppratikcr7 ppratikcr7 deleted the 1295-appContext-in-metrics branch June 19, 2024 05:55
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.

UI changes of metric page
8 participants