-
Notifications
You must be signed in to change notification settings - Fork 8
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
New changes #1045
base: main
Are you sure you want to change the base?
New changes #1045
Conversation
// if the user cancel title editing, | ||
// return edit title input value to be the orginal title | ||
this.title = this.args.document.title; | ||
} |
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.
Let's fix it for the description as well, that way you might be able to use [name]
generically
@@ -88,9 +88,6 @@ module("Acceptance | documents", function (hooks) { | |||
assert | |||
.dom("[data-test-single-doc-details] [data-test-title]") | |||
.hasText(document.title); | |||
|
|||
await click("[data-test-close]"); | |||
assert.dom("[data-test-document-side-panel]").hasClass("closed"); |
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.
maybe you could click data-test-toggle-side-panel
instead?
file.createdAt | ||
month="2-digit" | ||
day="2-digit" | ||
year="numeric" |
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.
Let's try the two-row style instead, which should also work well on smaller screens
This is removing the "close" button inside the document side bar, because it is somewhat redundant (there is another button that does the same thing outside of the sidebar) and it causes a layout issue when editing the document title.
Before:
After: