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

Disable adding to options lists #1564

Merged
merged 3 commits into from
Nov 1, 2022
Merged

Conversation

laineyhm
Copy link
Collaborator

Fixes #1552

Description

Because options added or deleted in Language Forge are not being received into FLEx properly, we want to disable adding (deletion is already disabled) them in Language Forge. Because we may wish to restore this functionality in the future, with a better architecture to ensure synchronization, this PR takes out as little code as possible while preventing users from making these edits for the time being.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

Screenshots

Before:
image

After:
image

Checklist

  • I have performed a self-review of my own code
  • I have reviewed the title/description of this PR which will be used as the squashed PR commit message
  • [N/A] I have commented my code, particularly in hard-to-understand areas
  • I have added tests that prove my fix is effective or that my feature works

How to test

General smoke test, and:
Navigate to the Options List tab of Configuration. Ensure that the text input and '+ Add to List' button are removed and a message at the top of each options list node reads "To add or remove items from this list, please use FieldWorks (FLEx)."

qa.languageforge.org testing

Testers: Check the box and put in a date/time to sign-off/attest the feature works as expected on qa.languageforge.org

  • Tester1 (YYYY-MM-DD HH:MM)
  • Tester2 (YYYY-MM-DD HH:MM)

@laineyhm laineyhm enabled auto-merge (squash) October 27, 2022 07:06
@github-actions
Copy link

github-actions bot commented Oct 27, 2022

Unit Test Results

368 tests   368 ✔️  9s ⏱️
  38 suites      0 💤
    1 files        0

Results for commit 7818d58.

♻️ This comment has been updated with latest results.

Copy link
Collaborator

@megahirt megahirt left a comment

Choose a reason for hiding this comment

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

LGTM - one non-blocking suggestion!

src/angular-app/bellows/shared/pick-list-editor.module.ts Outdated Show resolved Hide resolved
Co-authored-by: Christopher Hirt <chris@hirtfamily.net>
@laineyhm laineyhm merged commit 04f641b into develop Nov 1, 2022
@laineyhm laineyhm deleted the disable-editing-options-list branch November 1, 2022 04:03
@megahirt
Copy link
Collaborator

megahirt commented Nov 1, 2022

TESTED

I observe that the add item button is gone and the appropriate message to use FLEx is displayed.

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.

disable editing of Option lists in LF (all option list edits should happen in FLEx)
2 participants