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

Migrate esl-select and esl-select-list to uip #2843

Open
wants to merge 1 commit into
base: main-beta
Choose a base branch
from

Conversation

Natalie-Smirnova
Copy link
Collaborator

Closes: <!#2158>

@Natalie-Smirnova Natalie-Smirnova force-pushed the chore/migrate-esl-select/esl-select-list-to-playground branch from f1a6584 to 6cd0682 Compare December 23, 2024 22:21
@Natalie-Smirnova Natalie-Smirnova self-assigned this Dec 23, 2024
@Natalie-Smirnova Natalie-Smirnova requested review from a team, dshovchko, fshovchko, NastaLeo, ala-n, yadamskaya and abarmina and removed request for a team December 23, 2024 22:22
Copy link
Collaborator

@ala-n ala-n left a comment

Choose a reason for hiding this comment

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

There is 2 additional big problems at that moment:

  1. The examples are too short in size so dropdown can't be shown correctly
    We need to make playground area bigger or consider to use nonisolated scope (yes I was suggesting an isolated type, but due to presentation in convenience we probably should fallback to usual demo)
  2. Usually the full demo (when all aspects of its implimenation) is cool, but seeing the result from user perspective I' afraid to see so much stub logic for displaying form data. Probably I was wrong here as well and we need to hide this presentation script. Plus one point to use non isolated scope (Yep sorry again, that was my suggestion, but I'm see that I was wrong)

PS: due to holidays progress may be set on hold, it is not blocking 5.0.0 release and initial 5.0.0 site updates.

@@ -3,11 +3,11 @@ layout: content
title: Forms - Select List
seoTitle: Custom select list examples based on ESL web components
name: Select List
tags: [examples, beta]
tags: [examples, playground]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
tags: [examples, playground]
tags: [examples]
  • outdated with main-beta

Comment on lines +9 to +10
components:
- esl-select-list
Copy link
Collaborator

Choose a reason for hiding this comment

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

Incorrect, due to front etter is yml syntax the offsets are important
Before (in JSON):

   aside: {
      components: ['esl-select-list']
   }

Now (in JSON):

aside: ''
components: ['esl-select-list']

Or to be precise incorrect even by syntax (mix list/map declaration)

<form class="form bg-white border p-4" style="min-height: 150px">
<div class="form-group">
<label for="color_field" class="form-label">Choose your favorite colors:</label>
<esl-select-list class="border" style="display: block">
<select esl-select-target
Copy link
Collaborator

Choose a reason for hiding this comment

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

We should have at least one example with a long list for performance testing

@ala-n ala-n added the postponed Postponed issue label Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants