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

Display user-relative date , disable pdf/undo/redo buttons when needed, change some labels #237

Merged
merged 1 commit into from
Oct 22, 2019

Conversation

PPiedel
Copy link
Contributor

@PPiedel PPiedel commented Oct 18, 2019

This resolves #230
This resolves #187
This resolves #186
This resolves #177
This resolves #171

return dateTimeString.replace("T", " | ").substring(0, 18)
}

format(dateTimeString) {
Copy link
Collaborator

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...

Copy link
Contributor Author

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?

Copy link
Collaborator

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...

ui/client/common/ProcessUtils.js Outdated Show resolved Hide resolved
{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},
Copy link
Contributor

Choose a reason for hiding this comment

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

Export PDF?

Copy link
Contributor Author

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

Copy link
Contributor

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?

Copy link
Contributor

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.

Copy link
Contributor Author

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

Copy link
Contributor

@lciolecki lciolecki left a comment

Choose a reason for hiding this comment

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

LGTM

@PPiedel PPiedel merged commit 528e043 into TouK:master Oct 22, 2019
@PPiedel PPiedel deleted the use_user_relative_date branch October 22, 2019 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants