SEED-platform / seed

Standard Energy Efficiency Data (SEED) Platform™ is a web-based application that helps organizations easily manage data on the energy performance of large groups of buildings.
Other
107 stars 55 forks source link

Update error message on overlapping reading import #4533

Closed perryr16 closed 7 months ago

perryr16 commented 7 months ago

What's this PR do?

Updates the error message to be more descriptive if incoming readings (meter, sensor, greenbutton) have duplicate date-pairs.

Old message: "Overlapping Readings." ~New message: "Import failed. Unable to import data with overlapping readings."~ New message: "Import failed. Unable to import data with duplicate start and end date pairs."

How should this be manually tested?

What are the relevant tickets?

4253

Screenshots (if appropriate)

Screenshot 2024-02-15 at 11 32 57 AM

perryr16 commented 7 months ago

@kflemin / @RDmitchell -- is this updated error message satisfactory? I'm open to suggestions

RDmitchell commented 7 months ago

@perryr16 / @kflemin -- I guess the only thing I would wonder is whether we need to explain what "overlapping readings" mean, ie, "readings with the same start and end date"... ??

perryr16 commented 7 months ago

"Import failed. Unable to import data with duplicate start and end date pairs."

RDmitchell commented 7 months ago

@perryr16 -- perfect !!