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 editing input systems #1562

Merged
merged 1 commit into from
Oct 26, 2022
Merged

Conversation

laineyhm
Copy link
Collaborator

@laineyhm laineyhm commented Oct 26, 2022

Fixes #1553

Description

Input systems should not be edited in Language Forge, only in FLEx.

In this PR:

-Got rid of the 'three dots menu' that allowed adding input systems, on the "Input Systems" tab in Configuration
-Kept selectors for RTL language, language abbreviation, and font name
-Other settings for writing systems are displayed but not editable (special, purpose, variant, region), with a message to that effect
-Got rid of "+ New" buttons in the input systems tab and under "Input Systems" in the base configuration page
-Got rid of the modal for adding a new writing system, formerly attached to these buttons

Type of Change

Only keep lines below that describe this change, then delete the rest.

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

Screenshots

Before:
image

After:
image

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 Configuration page. Ensure that the '+' below the Input Systems is gone and there is a message saying 'To edit input systems, please use Fieldworks (FLEx).'

Navigate to the Input Systems tab of Configuration. Ensure that the three dots menu is gone from the top left-middle of the screen; ensure that the '+ New' button for adding a new input system is gone; ensure that the fields below the message reading 'Some settings are disabled; please edit these in Fieldworks (FLEx)' are disabled and are regular text inputs (not selectors).

  • Test A
  • Test B

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 26, 2022 06:50
@github-actions
Copy link

github-actions bot commented Oct 26, 2022

Unit Test Results

368 tests   368 ✔️  12s ⏱️
    1 suites      0 💤
    1 files        0

Results for commit 4c511d6.

♻️ This comment has been updated with latest results.

@laineyhm laineyhm force-pushed the disable-editing-input-systems branch from f89f28a to 4c511d6 Compare October 26, 2022 08:53
@laineyhm laineyhm merged commit c92fca0 into develop Oct 26, 2022
@laineyhm laineyhm deleted the disable-editing-input-systems branch October 26, 2022 14:13
@longrunningprocess
Copy link
Contributor

Tests in staging

Input systems tab

✅ button gone and instructional text added

image

Fields tab

✅ button gone and instructional text added

image

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 writing systems in LF (all edits of writing systems should happen in FLEx)
2 participants