Continuation of "Add release date field #5514" #6049

Merged
infinite-persistence merged 6 commits from ip/release-date into master 2021-05-15 06:10:28 +02:00

6 commits

Author SHA1 Message Date
Thomas Zarebczan
1becd21569
bump redux to master 2021-05-14 17:32:07 -04:00
infinite-persistence
d8e6c4cb36
Add 'Reset|Now|Default' buttons instead of overloading the date-picker's "X" button.
Before this, the "X" button resets to the original (previous) publish date for Edits, and resets to current time for New Claims. This is very confusing, so added explicit text-based buttons -- hopefully this is more intuitive.
2021-05-14 17:32:07 -04:00
infinite-persistence
f1e349b1c0
[+redux] Change how release_time is edited.
- `releaseTime` is now a number instead of a string, matching `release_time`. It was getting confusing what the variable units were.

- `releaseTime` will always match `release_time` for an edit. It will be used in the GUI to reset just the date to the original, instead of having to reset the entire form.

- `releaseTimeEdited` will be used by `updatePublishForm` in the GUI to represent the desired new release time. Set to `undefined` if we don't want to change the date.
2021-05-14 17:32:07 -04:00
infinite-persistence
1d0eb9b81a
Handle dark theme and general style fixes. 2021-05-14 17:32:07 -04:00
infinite-persistence
cdb2246d3c
Upgrade to latest react-datetime-picker.
I believe this also picks up the y18n security fix.
2021-05-14 17:32:07 -04:00
Franco Montenegro
5b84d07fec
Release date -- initial attempt (squashed and rebased)
- Use white color for calendar buttons in release date input
- Update icon color for release date input
- Allow to set time in release date and display it under additional options
- Add release date field
2021-05-14 17:32:07 -04:00