-
Notifications
You must be signed in to change notification settings - Fork 93
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
Display user-relative date , disable pdf/undo/redo buttons when needed, change some labels #237
Conversation
ui/client/common/DateUtils.js
Outdated
return dateTimeString.replace("T", " | ").substring(0, 18) | ||
} | ||
|
||
format(dateTimeString) { |
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.
do we really want this? I think our users will be a bit confused. There must be at least some way of showing absolute date...
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.
What would you say if the absolute date would be displayed "on mouse over" specified date?
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 we can try it...
{name: "export", onClick: this.exportProcess, icon: InlinedSvgs.buttonExport}, | ||
{name: "exportPDF", disabled: !this.props.nothingToSave, onClick: this.exportProcessToPdf, icon: InlinedSvgs.buttonExport}, | ||
{name: "export", disabled: this.props.nothingToExport, onClick: this.exportProcess, icon: InlinedSvgs.buttonExport}, | ||
{name: "PDF", disabled: this.props.nothingToExport, onClick: this.exportProcessToPdf, icon: InlinedSvgs.pdf}, |
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.
Export PDF?
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.
Sorry, I forgot to include link to this issue: #171
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.
Okay, so leave it as PDF, but maybe in export we can put JSON?
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.
Oh, I have an idea: at title put full description like: Export to PDF file. And at rest of buttons you can add similar full description.
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.
Good idea, will apply that
f73df1a
to
4747595
Compare
…d, change pdf icon, rename some labels
4747595
to
2aec439
Compare
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.
LGTM
This resolves #230
This resolves #187
This resolves #186
This resolves #177
This resolves #171