hackjunction / hackjunction/JunctionApp
BUG: The order of the items in edit event timeline schedule
- Vorherrschende Sprache
- JavaScript
- Sterne
- 78
- Forks
- 69
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
## 🐛 Bug Report
### What went wrong?
On the edit even page, the Timeline section does not behave as expected when adding a new item to the schedule. When adding a new item to the timeline schedule, the date is saved as a date object rather than a string, which cannot be directly compared to what is fetched from the server in the string format.
### Expected Behavior
The order of timeline items stays the same as you add a new item.
### Actual Behavior
The order of the timeline changes on each title input change.
The date format displayed to the user is also different depending on the type of value passed to the component that renders the date. It's either as a string or an ISO formatted string.
### Steps to Reproduce Issue
If there are no objects in the timeline add a new item and save the changes. Then add a new item without saving the changes and try typing in the input field again. The order of the items should change on each input update.
#### Browser
Browser info:
Firefox
### Screenshots
Beitragsleitfaden
Rechercherichtung
Beginne damit, das Problem mit der Zeitleiste von Bearbeitungsereignissen in Firefox zu reproduzieren: Füge ein Zeitleistenelement hinzu und speichere es, füge ein weiteres hinzu, ohne es zu speichern, und tippe dann in dessen Titel, während du die Reihenfolge und die angezeigten Datumsangaben beobachtest. Erledigt ist die Aufgabe, wenn die Zeitleistenelemente während der Eingabeänderungen ihre Reihenfolge beibehalten und die Datumsangaben ein einheitliches Format verwenden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript
- Bereich
- frontend
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100