fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Support for Error handling

Open srmukher opened this issue 2 years ago • 3 comments

The following changes have been added:

  1. Created a common control that can show error and empty states.
  2. Used the common control to show already implemented empty messages.
  3. Use the common control to show type errors (eg: when string data is used on x axis for Line chart or area chart which is not supported)
  4. Added Error Codes to indicate Generic Error or No Data Error.
  5. Kept provision for customizing the error handling while rendering if required.
  6. Added support for light/dark theme.

Examples:

  1. Generic Types Error (Light theme): image

  2. Generic Types Error (Dark theme): image

  3. Missing Data (Light Theme): image

  4. Missing Data (Dark Theme): image

srmukher avatar Jan 19 '24 11:01 srmukher

📊 Bundle size report

✅ No changes found

fabricteam avatar Jan 19 '24 11:01 fabricteam

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

codesandbox-ci[bot] avatar Jan 19 '24 11:01 codesandbox-ci[bot]

can you add bundle size increase

AtishayMsft avatar Feb 15 '24 09:02 AtishayMsft

50kB bump is too much. How can we reduce this.

AtishayMsft avatar Feb 29 '24 08:02 AtishayMsft

can you add bundle size increase

done

srmukher avatar Feb 29 '24 18:02 srmukher