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

user-editable dropdowns #1661

Merged
merged 93 commits into from
Feb 7, 2023
Merged

user-editable dropdowns #1661

merged 93 commits into from
Feb 7, 2023

Conversation

sleidig
Copy link
Member

@sleidig sleidig commented Jan 12, 2023

see issue: #1642

@github-actions
Copy link

Deployed to https://pr-1661.aam-digital.net/

@TheSlimvReal TheSlimvReal changed the title [WIP] user-editable dropdowns user-editable dropdowns Jan 20, 2023
Copy link
Member Author

@sleidig sleidig left a comment

Choose a reason for hiding this comment

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

Nice work!

The delay until "Add option xxx" is shown is confusing me - why did you decide against showing that in real-time?

I tuned the popup UI a bit to make it more consistent with other views. I would also like the option to cancel an edit - probably best to use reactiveForms then? (UI is there now but the logic is not because we use two-way binding currently)

Copy link
Member Author

@sleidig sleidig left a comment

Choose a reason for hiding this comment

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

Code looks pretty good now! :-)

  • I could/did not test migration but already migrated instances seem stable now.
  • One error on saving with newly created option:
    • create a new option
    • --> the new value is correctly displayed in the field
    • save the entity form
    • go back to list and re-open that entity's details
    • --> the value is not set
    • (re-selecting it now and saving seems to work)

Copy link
Member Author

@sleidig sleidig left a comment

Choose a reason for hiding this comment

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

I still see the functional issue described before:

  • create a new option
  • --> the new value is correctly displayed in the field
  • save the entity form
  • go back to list and re-open that entity's details
  • --> the value is not set
  • (re-selecting it now and saving seems to work)

src/app/core/config/config-fix.ts Outdated Show resolved Hide resolved
Copy link
Member Author

@sleidig sleidig left a comment

Choose a reason for hiding this comment

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

Great 👍 good to go now, I think. (I can't approve the PR here as I am the original author ...)

@TheSlimvReal TheSlimvReal self-requested a review February 7, 2023 15:13
@sonarcloud
Copy link

sonarcloud bot commented Feb 7, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.1% 0.1% Duplication

@TheSlimvReal TheSlimvReal merged commit 5ff22b6 into master Feb 7, 2023
@TheSlimvReal TheSlimvReal deleted the user-conf-enum branch February 7, 2023 16:06
@aam-digital-ci
Copy link
Collaborator

🎉 This PR is included in version 3.18.0-master.9 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@aam-digital-ci
Copy link
Collaborator

🎉 This PR is included in version 3.18.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants