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

Edit UI - Entity Dropdowns Show All, instead of the Expected Content-Type Items #3476

Closed
jeremy-farrance opened this issue Sep 28, 2024 · 2 comments
Assignees

Comments

@jeremy-farrance
Copy link

jeremy-farrance commented Sep 28, 2024

I'm submitting a

[x] bug report

...about

[x] edit experience / UI
[x] admin experience UI

Current Behavior / Expected Behavior

This appears to be happening all over the Admin UI. Whether trying to select from Settings or in a View Configuration (the example I am writing this from). I feel sure this first occurred after upgrading to v18.01.00 (from either v17.10.00 or v18.00.00).

In a View Configuration, under List Settings, turn on Enable list. Then select a Header Content Type. Next, when you use the dropdown for the Demo Item for the Header, you see all Entities (any Content-Type).

Normally/previously you would only see items from the (just assigned) Header Content-Type.

In the screenshot below you can see highlighted Items from 2 other content types and there is only one record so far in Header (the name of my content type) so you can see the scrollbar is showing MANY (all?) items.

image

Addition / Related?

Also, this is happening when you are in Settings and trying to select things from dropdown. FURTHER, once you do find and select the right thing, clicking ADD/EDIT does nothing. Though in View Config, after selecting an item, Edit does work.

Instructions to Reproduce the Problem

I believe there is enough detail above to easily reproduce this problem. I have it happening right now on 3 projects in front of me. 2 were upgraded to v18.01 a few days ago. The 3rd was upgrade just now and did not have this issue before the upgrade from v17.10.

Your environment

  • 2sxc version(s): only 18.01.00 (I think)
  • Browser: all/any (working on Chrome)
  • DNN: 9.13.04
  • Hosting platform: IIS, Win Server 2022 (VPS)
  • Language: any/all | English
@jeremy-farrance jeremy-farrance changed the title Edit UI for Content-Type - Dropdowns Show All Entities instead of the Expected Content-Type Edit UI - Entity Dropdowns Show All, instead of the Expected Content-Type Sep 28, 2024
@jeremy-farrance jeremy-farrance changed the title Edit UI - Entity Dropdowns Show All, instead of the Expected Content-Type Edit UI - Entity Dropdowns Show All, instead of the Expected Content-Type Items Sep 28, 2024
@iJungleboy
Copy link
Contributor

Thanks for this.

We have been doing major reworks of how these pickers work, because there was just too much duplicate and confusing code.

My guess is that we introduced a timing problem, as the picker relies on selection of the previous picker and maybe something isn't quite right with how it handles the result of the query...

Will look into it ASAP.

@iJungleboy iJungleboy self-assigned this Sep 30, 2024
iJungleboy added a commit to 2sic/eav-ui that referenced this issue Sep 30, 2024
@iJungleboy
Copy link
Contributor

Found and fixed in 18.02

paulpietzko added a commit to 2sic/eav-ui that referenced this issue Oct 1, 2024
commit 7902a92b7556f35b3de02aa74d3980d0a4d7bb75
Author: paulpietzko <paul.pietzko@icloud.com>
Date:   Tue Oct 1 10:19:13 2024 +0200

    AdamWrapper now automatically knows if big or not

commit ac0a8d74a652fff1edb8ce68272409360f222c0b
Author: paulpietzko <paul.pietzko@icloud.com>
Date:   Tue Oct 1 09:57:39 2024 +0200

    Squashed commit of the following:

    commit 7902815
    Author: paulpietzko <paul.pietzko@icloud.com>
    Date:   Tue Oct 1 09:53:07 2024 +0200

        Squashed commit of the following:

        commit 48cb4666476c8909e51ac0228f6f2bdc9f03ea4b
        Author: paulpietzko <paul.pietzko@icloud.com>
        Date:   Tue Oct 1 09:38:02 2024 +0200

            Outsourced wysiwyg and expandable wrapper scss

        commit cadaaa01d277e8761ee49d42e3907e178656fee0
        Author: paulpietzko <paul.pietzko@icloud.com>
        Date:   Mon Sep 30 13:51:46 2024 +0200

            Renamed dialog to popup and redefined integrations of the component

        commit 363037ff8aab83a26b485eddd0a3e1324684adc3
        Author: paulpietzko <paul.pietzko@icloud.com>
        Date:   Mon Sep 30 08:21:02 2024 +0200

            Deglobalized expandable wrapper stylings

        commit 5cb51153894ed2fd18d816f5a872fa84825fe62f
        Author: paulpietzko <paul.pietzko@icloud.com>
        Date:   Fri Sep 27 12:33:19 2024 +0200

            Unfolded Scss Files

        commit 347d048f73f18c7c04e592c93c9537e2177e9bc6
        Author: paulpietzko <paul.pietzko@icloud.com>
        Date:   Fri Sep 27 10:07:04 2024 +0200

            Outsourced the dialog in expandable-wrapper and picker-expandable

        commit 44506669d3791d98cf5df1cbdd78e3ce8128d759
        Author: paulpietzko <paul.pietzko@icloud.com>
        Date:   Fri Sep 27 08:43:33 2024 +0200

            Removed CSS from useless hyperlink-dialog

        commit 1628a2bec8650244db1daaefdaccf7022c92ce16
        Author: paulpietzko <paul.pietzko@icloud.com>
        Date:   Fri Sep 27 08:06:12 2024 +0200

            Used hyperlink-dialog in library-expandable

        commit 028a1c00909257582921c37f53b4510b5eb0cf7b
        Author: paulpietzko <paul.pietzko@icloud.com>
        Date:   Thu Sep 26 14:46:49 2024 +0200

            Working data flow

        commit b8ea3d6f5d0fb75cb289f67df9597a81ef8108fa
        Author: paulpietzko <paul.pietzko@icloud.com>
        Date:   Thu Sep 26 14:40:01 2024 +0200

            wip...

        commit 7f6f65a0256a125e8228522a2595c68aa08ffed6
        Author: paulpietzko <paul.pietzko@icloud.com>
        Date:   Thu Sep 26 07:00:16 2024 +0200

            Made data flow

        commit 2a35ccb34fffb71f03823ce26888608d907ba9bb
        Author: paulpietzko <paul.pietzko@icloud.com>
        Date:   Wed Sep 25 14:42:17 2024 +0200

            Roughly splitted up the content in /hyperlink-dialog

        commit 75cc821df5b55b0541975f1392df0b2ae3870c6d
        Author: paulpietzko <paul.pietzko@icloud.com>
        Date:   Wed Sep 25 12:44:19 2024 +0200

            Made files

    commit ecfc41a
    Author: Dominik Graf <dominik.graf@2sic.com>
    Date:   Tue Oct 1 09:12:47 2024 +0200

        wip sig

    commit adbc134
    Author: Dominik Graf <dominik.graf@2sic.com>
    Date:   Tue Oct 1 07:22:10 2024 +0200

        add pickerPreviewType Settings and rename valuePreview wo PreviewValue

    commit ec3c441
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Mon Sep 30 16:58:27 2024 +0200

        npm update to latest @2sic.com/sxc-angular

    commit a088bd0
    Merge: e4dd7f0 03dbedc
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Mon Sep 30 16:44:47 2024 +0200

        Merge branch 'develop' of https://github.com/2sic/eav-ui into develop

    commit e4dd7f0
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Mon Sep 30 16:44:42 2024 +0200

        implement hidden generic field settings
        fix 2sic/2sxc#3468 to enable search-input to get correct type to retrieve

    commit f0fcba1
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Mon Sep 30 16:44:10 2024 +0200

        minor clean up / rename / debug

    commit 03dbedc
    Author: Dominik Graf <dominik.graf@2sic.com>
    Date:   Mon Sep 30 16:10:46 2024 +0200

        remove duplicate code and make preview label

    commit 8f2173d
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Mon Sep 30 15:46:59 2024 +0200

        minor naming and entity-reader flattenAll to flatten

    commit bcf02b7
    Author: Dominik Graf <dominik.graf@2sic.com>
    Date:   Mon Sep 30 15:23:15 2024 +0200

        mini

    commit a504368
    Merge: b6799b1 2da61f2
    Author: Dominik Graf <dominik.graf@2sic.com>
    Date:   Mon Sep 30 14:22:52 2024 +0200

        Merge remote-tracking branch 'origin/develop' into feature/picker-2dg

    commit b6799b1
    Author: Dominik Graf <dominik.graf@2sic.com>
    Date:   Mon Sep 30 14:21:48 2024 +0200

        picker type image styles and example

    commit 7b36982
    Author: Dominik Graf <dominik.graf@2sic.com>
    Date:   Mon Sep 30 12:48:02 2024 +0200

        show dynamic picker type

    commit 2da61f2
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Mon Sep 30 11:12:32 2024 +0200

        minor fix dropdown from entity showing too many hits
        fixes 2sic/2sxc#3476

    commit f22753a
    Author: Dominik Graf <dominik.graf@2sic.com>
    Date:   Mon Sep 30 08:29:37 2024 +0200

        wip css picker

    commit 9a7c352
    Merge: 679b263 9affa04
    Author: Dominik Graf <dominik.graf@2sic.com>
    Date:   Mon Sep 30 07:05:05 2024 +0200

        Merge branch 'develop' into feature/picker-2dg

    commit 9affa04
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Sat Sep 28 17:06:29 2024 +0200

        add todos for @2pp/@2dg

    commit 8696557
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Sat Sep 28 17:00:26 2024 +0200

        picker: fix autofocus after removing last item

    commit 470744b
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Sat Sep 28 16:44:39 2024 +0200

        fix minor autofocus defaults & comment

    commit 9062013
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Sat Sep 28 16:42:34 2024 +0200

        enable noAutoFocus for picker fields

    commit 2457dbf
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Sat Sep 28 09:31:53 2024 +0200

        finish field inheritance
        2sic/2sxc#3192

    commit 14802ed
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Fri Sep 27 15:59:44 2024 +0200

        improve UIs for field definition sharing

    commit 710d90d
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Fri Sep 27 14:57:14 2024 +0200

        minor edit-form header

    commit 668b333
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Fri Sep 27 09:49:57 2024 +0200

        task description

    commit a89bdf0
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Fri Sep 27 09:48:09 2024 +0200

        create features-missing dialog for edit-UI

    commit 20f1c50
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Fri Sep 27 09:28:43 2024 +0200

        task instructions

    commit bf93cec
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Fri Sep 27 09:25:39 2024 +0200

        feature-details reduce code

    commit 75f6d55
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Fri Sep 27 09:13:41 2024 +0200

        feat-info reduce code

    commit 4bad41e
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Fri Sep 27 09:10:03 2024 +0200

        feature-info-dialog to signals

    commit e968df5
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Fri Sep 27 08:26:51 2024 +0200

        minor web api services

    commit 679b263
    Author: Dominik Graf <dominik.graf@2sic.com>
    Date:   Thu Sep 26 14:51:18 2024 +0200

        wip icon filter picker

    commit 8d8fef6
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Thu Sep 26 10:33:39 2024 +0200

        more tippy improvements / samples

    commit e60b688
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Thu Sep 26 10:15:40 2024 +0200

        tippy enhancements

    commit 87cacc1
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Thu Sep 26 08:48:36 2024 +0200

        provide titles for new pickers

    commit 3460529
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Thu Sep 26 08:48:30 2024 +0200

        minor debugging

    commit 5d4003a
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Thu Sep 26 08:12:39 2024 +0200

        minor prep name consolidation in UI

    commit f162002
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Wed Sep 25 17:53:31 2024 +0200

        Bug: visual query somehow marked required streams incorrectly

    commit 38d2fda
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Wed Sep 25 17:01:39 2024 +0200

        font-picker minor/docs

    commit 2f2939e
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Wed Sep 25 15:39:16 2024 +0200

        minor string-font-icon-picker

    commit f3dcf54
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Wed Sep 25 15:04:52 2024 +0200

        minor code-reorg

    commit 2a5e5dc
    Merge: f0fd28e 1681270
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Wed Sep 25 14:40:14 2024 +0200

        Merge branch 'develop' of https://github.com/2sic/eav-ui into develop

    commit f0fd28e
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Wed Sep 25 14:40:11 2024 +0200

        remove another FlexLayout

    commit 1681270
    Merge: 4087c21 bc1d8de
    Author: Dominik Graf <dominik.graf@2sic.com>
    Date:   Wed Sep 25 14:32:01 2024 +0200

        Merge branch 'develop' into feature/picker-2dg

    commit 4087c21
    Author: Dominik Graf <dominik.graf@2sic.com>
    Date:   Wed Sep 25 14:31:37 2024 +0200

        new number-picker

    commit bc1d8de
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Wed Sep 25 14:22:40 2024 +0200

        another FlexLayout (language menus)

    commit 8317b99
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Wed Sep 25 13:58:47 2024 +0200

        drop another FlexLayout

    commit 5dd3c99
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Wed Sep 25 13:51:07 2024 +0200

        translate menu without FlexLayout

    commit d9d8032
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Wed Sep 25 13:37:08 2024 +0200

        task for @2pp to deduplicate code

    commit 8d636e9
    Merge: f817cfc f942020
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Wed Sep 25 13:28:12 2024 +0200

        Merge branch 'develop' of https://github.com/2sic/eav-ui into develop

    commit f817cfc
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Wed Sep 25 13:28:07 2024 +0200

        enable ctrl + alt + s for save and close

    commit f942020
    Merge: 9fe1b4a 2301ffa
    Author: Dominik Graf <dominik.graf@2sic.com>
    Date:   Wed Sep 25 13:13:01 2024 +0200

        Merge branch 'develop' into feature/picker-2dg

    commit 9fe1b4a
    Author: Dominik Graf <dominik.graf@2sic.com>
    Date:   Wed Sep 25 13:12:23 2024 +0200

        refactor number dropdown

    commit db549fa
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Wed Sep 25 12:45:07 2024 +0200

        fix ctrl+S to work when caps-lock is used

    commit ec96a7b
    Author: iJungleboy <daniel.mettler@2sic.com>
    Date:   Wed Sep 25 12:43:45 2024 +0200

        remove another flex-layout

commit 48cb4666476c8909e51ac0228f6f2bdc9f03ea4b
Author: paulpietzko <paul.pietzko@icloud.com>
Date:   Tue Oct 1 09:38:02 2024 +0200

    Outsourced wysiwyg and expandable wrapper scss

commit cadaaa01d277e8761ee49d42e3907e178656fee0
Author: paulpietzko <paul.pietzko@icloud.com>
Date:   Mon Sep 30 13:51:46 2024 +0200

    Renamed dialog to popup and redefined integrations of the component

commit 363037ff8aab83a26b485eddd0a3e1324684adc3
Author: paulpietzko <paul.pietzko@icloud.com>
Date:   Mon Sep 30 08:21:02 2024 +0200

    Deglobalized expandable wrapper stylings

commit 5cb51153894ed2fd18d816f5a872fa84825fe62f
Author: paulpietzko <paul.pietzko@icloud.com>
Date:   Fri Sep 27 12:33:19 2024 +0200

    Unfolded Scss Files

commit 347d048f73f18c7c04e592c93c9537e2177e9bc6
Author: paulpietzko <paul.pietzko@icloud.com>
Date:   Fri Sep 27 10:07:04 2024 +0200

    Outsourced the dialog in expandable-wrapper and picker-expandable

commit 44506669d3791d98cf5df1cbdd78e3ce8128d759
Author: paulpietzko <paul.pietzko@icloud.com>
Date:   Fri Sep 27 08:43:33 2024 +0200

    Removed CSS from useless hyperlink-dialog

commit 1628a2bec8650244db1daaefdaccf7022c92ce16
Author: paulpietzko <paul.pietzko@icloud.com>
Date:   Fri Sep 27 08:06:12 2024 +0200

    Used hyperlink-dialog in library-expandable

commit 028a1c00909257582921c37f53b4510b5eb0cf7b
Author: paulpietzko <paul.pietzko@icloud.com>
Date:   Thu Sep 26 14:46:49 2024 +0200

    Working data flow

commit b8ea3d6f5d0fb75cb289f67df9597a81ef8108fa
Author: paulpietzko <paul.pietzko@icloud.com>
Date:   Thu Sep 26 14:40:01 2024 +0200

    wip...

commit 7f6f65a0256a125e8228522a2595c68aa08ffed6
Author: paulpietzko <paul.pietzko@icloud.com>
Date:   Thu Sep 26 07:00:16 2024 +0200

    Made data flow

commit 2a35ccb34fffb71f03823ce26888608d907ba9bb
Author: paulpietzko <paul.pietzko@icloud.com>
Date:   Wed Sep 25 14:42:17 2024 +0200

    Roughly splitted up the content in /hyperlink-dialog

commit 75cc821df5b55b0541975f1392df0b2ae3870c6d
Author: paulpietzko <paul.pietzko@icloud.com>
Date:   Wed Sep 25 12:44:19 2024 +0200

    Made files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: v18.02
Development

No branches or pull requests

2 participants