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

feat(condo): DOMA-8896 add ticket submitting disabling for organization with service_provider type #4801

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

VKislov
Copy link
Contributor

@VKislov VKislov commented Jun 5, 2024

No description provided.

@VKislov VKislov force-pushed the feat/condo/DOMA-8896/add-disabling-tickets-for-rso branch from 439d801 to 1ef2f96 Compare June 5, 2024 07:40
@@ -32,13 +33,15 @@ const INPUT_LAYOUT_PROPS = {
const BIG_ROW_GUTTERS: [Gutter, Gutter] = [0, 60]
const MIDDLE_ROW_GUTTERS: [Gutter, Gutter] = [0, 40]
const SMALL_ROW_GUTTERS: [Gutter, Gutter] = [0, 20]
const redirectUrl = '/settings?tab=mobileFeatureConfig'
Copy link
Member

Choose a reason for hiding this comment

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

Too common name


await expectToThrowGQLError(
async () => await createTestMobileFeatureConfig(admin, organization, {
ticketSubmittingWithoutPhoneIsDisabled: true,
Copy link
Member

Choose a reason for hiding this comment

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

Without phone?) is it possible?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

During the design process the field name changed, it should be ticketSubmittingForServiceProviderOrgIsDisabled.

There is a commonPhone field. When disabling tickets from a mobile phone in a managing company, filling out commonPhone is required. If tickets are disabled by the service provider then the phone must be optional

--
ALTER TABLE "MobileFeatureConfig" ADD COLUMN "ticketSubmittingForServiceProviderOrgIsDisabled" boolean NULL;
--
-- Add field ticketSubmittingForServiceProviderOrgIsDisabled to mobilefeatureconfighistoryrecord
Copy link
Member

Choose a reason for hiding this comment

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

Architecture decision requires

@VKislov VKislov added the 🚨 Migrations We have a database migrations here! label Jun 6, 2024
Copy link

sonarcloud bot commented Jun 6, 2024

Quality Gate Passed Quality Gate passed

Issues
2 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚨 Migrations We have a database migrations here!
Development

Successfully merging this pull request may close these issues.

None yet

2 participants