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

Implement datetimepicker for motion workflow #3298

Conversation

luisa-beerboom
Copy link
Member

@luisa-beerboom luisa-beerboom commented Feb 16, 2024

Closes #3148
Based on OpenSlides/openslides-backend#2194

  • Implement clear option
  • Make picker recognize preset value
  • Fix bug where the material datepicker styles (that the datetimepicker uses) won't be loaded until a datepicker was clicked (can be solved with the workaround from the solution of this stackoverflow question but it is very ugly)

@luisa-beerboom luisa-beerboom added this to the 4.2 milestone Feb 16, 2024
@luisa-beerboom luisa-beerboom self-assigned this Feb 16, 2024
@luisa-beerboom luisa-beerboom marked this pull request as ready for review February 16, 2024 14:36
Copy link
Member

@Elblinator Elblinator left a comment

Choose a reason for hiding this comment

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

If the submission date is changed the the following snackbar error is shown:

Error: data must not contain {'workflow_timestamp'} properties

rend request is:
{
"action": "motion.update",
"data": [
{
"id": 5,
"workflow_timestamp": 1708080137
}
]
}

Is it possible to show not only the date but also the time while the edit submission date option is activated but the datepicker is not open:
date-picker

client/package.json Outdated Show resolved Hide resolved
@luisa-beerboom luisa-beerboom removed their assignment Feb 21, 2024
@bastianjoel bastianjoel removed their assignment Feb 21, 2024
Copy link
Member

@Elblinator Elblinator left a comment

Choose a reason for hiding this comment

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

function

@luisa-beerboom luisa-beerboom merged commit 059c11a into OpenSlides:main Mar 1, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make motion submission date editable
4 participants