You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open devtools at about 900px wide, navigate to Vue DevTools extension and then the Vuex tab
Commit a mutation with a really long title
Note that this could be a namespaced mutation, e.g. onlineShop/shoppingCart/REMOVE_ITEM_FROM_CART
..or simply be a long mutation title e.g. MY_REALLY_LONG_MUTATION_NAME_GOES HERE
Observe that a new row has been created within the list of committed mutations
What is expected?
Long mutation titles or titles otherwise too long to display within the UI should be truncated with some ellipsis, to prevent wrapping and obscuring content.
Uh oh!
There was an error while loading. Please reload this page.
Version
5.1.1
Browser and OS info
Firefox 69 / macOS Catalina
Steps to reproduce
Demo
https://cdpn.io/paulyoung5/debug/GRRmEYm
(see code here: https://codepen.io/paulyoung5/pen/GRRmEYm)
General repro steps
onlineShop/shoppingCart/REMOVE_ITEM_FROM_CART
MY_REALLY_LONG_MUTATION_NAME_GOES HERE
What is expected?
Long mutation titles or titles otherwise too long to display within the UI should be truncated with some ellipsis, to prevent wrapping and obscuring content.
Reference: https://css-tricks.com/snippets/css/truncate-string-with-ellipsis
What is actually happening?
Mutation name forces timestamp to wrap onto a next line, obscuring the timestamp as a result
The text was updated successfully, but these errors were encountered: