-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add destination settings #475
Conversation
Components for creating a new destination, opens in a MUI drawer
Codecov Report
@@ Coverage Diff @@
## master #475 +/- ##
==========================================
- Coverage 56.17% 53.22% -2.96%
==========================================
Files 83 85 +2
Lines 3311 3506 +195
Branches 695 723 +28
==========================================
+ Hits 1860 1866 +6
- Misses 1443 1632 +189
Partials 8 8
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
This looks really good! And I got it to work with the MS Teams plugin.
I only have two little comments (not sure if they belong here or if I should make a new issue for that):
- When changing a destination (I added a label) it shows the message "Created new destination: Email: [email protected]" instead of indicating that I changed a destination. This might be confusing.
- When adding a new destination with a label it might be nice to have the success message "Create new destination: label of the destination" and only using the
suggested_label
if no label is provided by the user.
Review from esteemed critic:
|
the same for creating basically, it allows you to create a phone number with 2 letters. It seems like the phone number library allows up to 2 letters but just strips them, so when editing it says "same number" because after stripping it becomes the same number |
When deleting existing destination it says " Discard Are you sure you want to discard changes?" should probably be text more fitted for deleting stuff |
@stveit most of the reported problems are fixed, for others there are now PRs: |
Tested using Firefox |
Fixed all mentioned cursors, except for labels. MUI Buttons labels (which are programmatically connected to input fields) have default cursors on-hover, not pointer cursor as you suggest. I presume they follow the CSS specification. I suggest we also follow this specification and not change the cursor for labels. Pointer cursor is best suited for links and buttons.
Fixed |
Fixed |
everything seems OK now 👍 |
Fixed! |
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.
Nearly all changes that @stveit and I requested are integrated now, the only old thing that is still open and doesn't have a separate issue is that when creating a destination there is no spacing between the "Create" and the "Discard" button.
And two more things that I noticed now:
- it is fixed that when creating a destination with a label it says "Created new destination: label", but when updating or deleting it still says "Updated/Deleted destination: suggested_label"
- when deleting a destination it says "Are you sure you want to delete destination?" - my suggestion would be "Are you sure you want to delete the destination?" or "Are you sure you want to delete this destination?"
Fixed |
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.
All looks great! All changes are integrated and I'm very happy with how everything looks!
Changes made:
Remaining tasks:
NB! This PR must be rebased onto #474 in order for implementation to work