learningequality / kolibri-design-system

Kolibri Design System
https://design-system.learningequality.org
28 stars 66 forks source link

Research solution for popovers #745

Open MisRob opened 3 weeks ago

MisRob commented 3 weeks ago

Summary

Currently, to achieve popover-like elements

These are quite old versions that blocked some refactoring and proved to be hard to upgrade. We need to either upgrade or replace by another library or native platform APIs, depending on when when we work on this. On that opportunity, it’d be ideal to move towards using a single solution.

This issue tracks current and future use-cases and their requirements, and collects related libraries and native platform APIs. Its goal is to research and decide on next steps.

Use-cases

Requirements

The following are must-haves directly motivated by our use-cases.

Related

Libraries

(not evaluated against the requirements yet)

Native APIs

LianaHarris360 commented 2 days ago

Current Kolibri Browser Support List:

Floating-UI Browser Support List:

Floating-vue (powered by Floating-UI) Browser Support List:

This package has been renamed from v-tooltip to floating-vue and now uses floating-ui instead of popperjs.

VueTippy (powered by Tippy.js) Browser Support List:

This package is a Vue.js 3 wrapper for Tippy.js All modern browsers are supported. Proxy mobile browsers like Opera Mini are not supported.

MisRob commented 2 days ago

Thank you @LianaHarris360, very helpful.

MisRob commented 2 days ago

Leaving a note here from the meeting with @LianaHarris360 @marcellamaki @AlexVelezLl regarding on of the use-cases (Kolibri onboarding tutorial) that could be eventually related to this broader issue: Regarding the browsers support, we may go with the progressive enhancement approach for some features or compromise some of the other requirements. More to come as we keep exploring this area in the upcoming months :)