Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(atomic): add component error custom element #5043

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Conversation

y-lakhdar
Copy link
Contributor

@y-lakhdar y-lakhdar commented Mar 6, 2025

AtomicComponentError Component Specification

📝 Requirements

The atomic-component-error is designed to display error messages for other components and log errors to the console.

  • Functional Requirements:
    • Display an error message indicating which component encountered an error.
    • Log the error and the associated element to the console.

⚠️ Risks and Challenges

  • Risk:
    • The component might not be used consistently across all components, leading to inconsistent error handling.
  • Challenge:
    • Ensuring that all potential errors are properly caught and displayed by this component.

✅ Checklist

  • 🧪 The component is unit tested
  • N/A 🧪 The component includes E2E tests (Not necessary)
  • ♿ The component complies with the Web Content Accessibility Guidelines.
  • N/A 🌐 All strings intended for humans or assistive technology must be localized with i18n. (cannot do it without breaking component logic)
  • 📦 The Lit component is exported in the appropriate index.ts and lazy-index.ts files.
  • N/A 🎨 CSS parts are documented still accessible. (No parts to expose)
  • N/A 🦥 Slotted Content, public methods and properties are documented (No slots)

https://coveord.atlassian.net/browse/KIT-4022

Copy link

github-actions bot commented Mar 6, 2025

Pull Request Report

PR Title

✅ Title follows the conventional commit spec.

Live demo links

Bundle Size

File Old (kb) New (kb) Change (%)
case-assist 246.6 246.6 0
commerce 359.3 359.3 0
search 417.3 417.3 0
insight 408.5 408.5 0
recommendation 258 258 0
ssr 411.1 411.1 0
ssr-commerce 375.8 375.8 0

@y-lakhdar y-lakhdar changed the title add component error custom element chore(atomic): add component error custom element Mar 6, 2025
@y-lakhdar y-lakhdar marked this pull request as ready for review March 6, 2025 03:33
@y-lakhdar y-lakhdar requested review from a team as code owners March 6, 2025 03:33
@y-lakhdar y-lakhdar force-pushed the KIT-4032 branch 2 times, most recently from 05cea99 to e7684f4 Compare March 6, 2025 14:43
dmgauthier
dmgauthier previously approved these changes Mar 6, 2025
Copy link
Contributor

@dmgauthier dmgauthier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the PR Description !

Do we maintain any documentation on how to implement and use the atomic components ?

@y-lakhdar y-lakhdar force-pushed the KIT-4022 branch 2 times, most recently from 669fbcd to bec043b Compare March 6, 2025 14:56
alexprudhomme
alexprudhomme previously approved these changes Mar 7, 2025
Copy link
Contributor

@alexprudhomme alexprudhomme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice !

@y-lakhdar y-lakhdar force-pushed the KIT-4032 branch 2 times, most recently from 41d615d to a23d857 Compare March 7, 2025 14:15
Base automatically changed from KIT-4032 to master March 12, 2025 17:00
@y-lakhdar y-lakhdar dismissed stale reviews from alexprudhomme and dmgauthier March 12, 2025 17:00

The base branch was changed.

louis-bompart and others added 4 commits March 19, 2025 13:35
- **fix(quantic): fixed issue with custom facet captions inside the
refine modal (#5075)**
- **fix(quantic): delay caused by recent queries fixed (#5060)**
- **[Version Bump][skip ci]: ui-kit publish**
- **working**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants