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

fix(NcAppSettingsDialog): issues on register/unregister sections #4799

Closed

Conversation

ShGKme
Copy link
Contributor

@ShGKme ShGKme commented Nov 10, 2023

☑️ Resolves

Fixes a number of typos in NcAppSettingsDialog

🖼️ Screenshots

NcAppSettingsDialog

🚧 Tasks

  • Typo in provider, registerSection was provided as unregisterSection
  • Typo in unregisterSection filtered all items except the one that was supposed to be removed
  • Typo in sorting, indexOf searches for a value, not by a callback
  • Update selectedSection on registerSection/unregisterSection

🏁 Checklist

  • ⛑️ Tests are included or are not applicable
  • 📘 Component documentation has been extended, updated or is not applicable

@ShGKme ShGKme added bug Something isn't working feature: settings Related to the settings component labels Nov 10, 2023
@ShGKme ShGKme added this to the 8.0.2 milestone Nov 10, 2023
@ShGKme ShGKme self-assigned this Nov 10, 2023
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
…emoving

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
`indexOf` searched by value, not by callback

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
@ShGKme ShGKme force-pushed the fix/nc-app-settings-dialog--register-unregister branch from c5675b6 to 52d62b9 Compare November 10, 2023 23:33
@ShGKme
Copy link
Contributor Author

ShGKme commented Nov 13, 2023

Closed in flavor of #4798

@ShGKme ShGKme closed this Nov 13, 2023
@AndyScherzinger AndyScherzinger removed this from the 8.0.2 milestone Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature: settings Related to the settings component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error: Duplicate section id found: basic-info. Settings navigation sections must have unique section ids.
2 participants