Comments (3)
@kevinrobinson it looks like this would be easy enough to fix by falling back to the existing date if the filterFromDate
or filterToDate
were null. However playing with the component it seems like the real problem might be that trying to change the date (eg. hitting delete) doesn't actually allow you to input a manual date and instead changes the date in unexpected ways, eventually leading to this error. The options I see are
-
Ensure keyboard import doesn't change the datepicker range, and rely on the modal calendars to set the dates,
-
Fix the input and make the date ranges editable while preventing invalid input
Option 2 is consistent with the service recorder so that seems like the way to go unless there's a reason I'm missing to stop users from manually setting pdf dates. Does that sound right to you?
from studentinsights.
@kevinrobinson great! I've got a branch that solves those problems so I'll add some tests and poke around with it to make sure it's working as expected and submit a PR
from studentinsights.
@edavidsonsawyer Cool, awesome investigation! 👍
I agree that it's a UX issue primarily if folks can't just type a date in the text box. I also agree that option 2 sounds like the right direction - users need to be able to:
- see default date sets when the open the dialog
- be able to use the datepicker to pick different dates
- be able to type dates in the textbox
- either get feedback on invalid dates or be prevented from clicking "Generate" when invalid (rare occurrence)
Given that, the code or internals for that component could change however they need to to meet those goals.
from studentinsights.
Related Issues (20)
- Profile v3: New page, emphasizing best light and improving layout HOT 1
- Profile v3: Show presence of restricted notes inline, require action to view or edit
- Fix LoginActivity page HOT 1
- Investigate Educator records with local_id: nil HOT 3
- Alert or log on stale or 0 byte files in importers
- Improve display of ACCESS and WIDA data HOT 1
- Discipline: Add heatmap for seeing patterns in day of week and time HOT 1
- Profile: Add heatmap for day of week and time to discipline tab HOT 2
- Discipline: Remove selection labels from table HOT 4
- Discipline: Import "actions" data and visualize for educators
- Discipline: Potentially focus on particular incident types, based on input from educators on actions
- Absences: Round down percentage in overall attendance rate HOT 1
- Import "ELL Entry Date" and "ELL Transition Date" from Somerville Aspen HOT 1
- Absences, Tardies, Discipline: Update visuals for last note to use badge style
- Importers: Review importer classes to ensure logging is scrubbed HOT 1
- Print PDF: Review and update PDF to show all data from profile page
- Assessment importer: Optimize importer to run on ~5M rows
- Automated PerfTest checks HOT 1
- Update AuditJS to 4.0.x HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from studentinsights.