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

refactor: forms using multi language inputs should be typed #1494

Conversation

derschnee68
Copy link
Collaborator

@derschnee68 derschnee68 commented Feb 29, 2024

resolves DEV-3355

…ctor-multi-language-inputs-and-textarea-should-use-typed
…ctor-forms-using-multi-language-inputs-should-be-typed

# Conflicts:
#	apps/dsp-app/src/app/project/list/list-item-element/list-item-element.component.ts
#	apps/dsp-app/src/app/project/list/list-item-form/list-item-form.component.ts
#	apps/dsp-app/src/app/project/list/list-item-form/reusable-list-item-form.component.ts
#	apps/dsp-app/src/app/project/list/reusable-list-info-form/reusable-list-info-form.component.ts
#	apps/dsp-app/src/app/project/ontology/resource-class-form/resource-class-form.component.ts
#	apps/dsp-app/src/app/project/reusable-project-form/reusable-project-form.component.ts
#	libs/vre/shared/app-string-literal/src/index.ts
Copy link

linear bot commented Feb 29, 2024

import { DaschLanguage } from './dash-language.type';

export const DEFAULT_MULTILANGUAGE_FORM = (
data: StringLiteralV2[] = [{ language: 'de', value: '' }],
Copy link
Contributor

Choose a reason for hiding this comment

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

  • use enumerator or constants for language strings
  • take default language from configuration

Copy link
Contributor

Choose a reason for hiding this comment

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

pre-filling data is missing

@derschnee68 derschnee68 merged commit 17333d0 into main Mar 1, 2024
13 checks passed
@derschnee68 derschnee68 deleted the feature/dev-3355-refactor-forms-using-multi-language-inputs-should-be-typed branch March 1, 2024 13:53
irmastnt added a commit that referenced this pull request Mar 4, 2024
…-regions-set-to-optional

* main:
  chore: cypress cloud only runs after release-please PR is merged (#1499)
  feat: resource state management (DEV-3358) (#1496)
  chore: run e2e tests after release please actions on cypress cloud  (#1498)
  refactor: remove unused unit tests (#1497)
  refactor: forms using multi language inputs should be typed (#1494)
  fix(docs): fix dead links in docs (#1492)
  test: remove temporarily ontology tests (#1495)
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.

None yet

2 participants