Skip to content

Commit

Permalink
Merge branch 'main' into poc/split-navs
Browse files Browse the repository at this point in the history
  • Loading branch information
WojtekBoman committed Jan 14, 2025
2 parents 8648ce7 + 0e7af01 commit e07c4f5
Show file tree
Hide file tree
Showing 310 changed files with 35,483 additions and 9,130 deletions.
29 changes: 27 additions & 2 deletions .eslintrc.changed.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,24 @@ module.exports = {
rules: {
'deprecation/deprecation': 'error',
'rulesdir/no-default-id-values': 'error',
'no-restricted-syntax': [
'error',
{
selector: 'ImportNamespaceSpecifier[parent.source.value=/^@libs/]',
message: 'Namespace imports from @libs are not allowed. Use named imports instead. Example: import { method } from "@libs/module"',
},
{
selector: 'ImportNamespaceSpecifier[parent.source.value=/^@userActions/]',
message: 'Namespace imports from @userActions are not allowed. Use named imports instead. Example: import { action } from "@userActions/module"',
},
],
},
overrides: [
{
files: [
'src/libs/actions/IOU.ts',
'src/libs/actions/Report.ts',
'src/libs/actions/Task.ts',
'src/libs/OptionsListUtils.ts',
'src/libs/TransactionUtils/index.ts',
'src/pages/home/ReportScreen.tsx',
'src/pages/workspace/WorkspaceInitialPage.tsx',
'src/pages/home/report/PureReportActionItem.tsx',
Expand All @@ -24,5 +33,21 @@ module.exports = {
'rulesdir/no-default-id-values': 'off',
},
},
{
files: ['**/libs/**/*.{ts,tsx}'],
rules: {
'no-restricted-syntax': [
'error',
{
selector: 'ImportNamespaceSpecifier[parent.source.value=/^\\.\\./]',
message: 'Namespace imports are not allowed. Use named imports instead. Example: import { method } from "../libs/module"',
},
{
selector: 'ImportNamespaceSpecifier[parent.source.value=/^\\./]',
message: 'Namespace imports are not allowed. Use named imports instead. Example: import { method } from "./libs/module"',
},
],
},
},
],
};
4 changes: 2 additions & 2 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
self-hosted-runner:
labels:
- ubuntu-latest-xl
- macos-13-large
- macos-13-xlarge
- macos-15-large
- macos-15-xlarge
- ubuntu-latest-reassure-tests
- macos-12
4 changes: 3 additions & 1 deletion .github/actions/javascript/authorChecklist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17258,7 +17258,7 @@ const CONST = {
},
ACTIONS: {
CREATED: 'created',
EDIT: 'edited',
EDITED: 'edited',
},
EVENTS: {
ISSUE_COMMENT: 'issue_comment',
Expand All @@ -17277,6 +17277,8 @@ const CONST = {
APP_REPO_URL: `https://github.com/${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}`,
APP_REPO_GIT_URL: `git@github.com:${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}.git`,
NO_ACTION: 'NO_ACTION',
ACTION_EDIT: 'ACTION_EDIT',
ACTION_REQUIRED: 'ACTION_REQUIRED',
OPENAI_POLL_RATE: 1500,
OPENAI_POLL_TIMEOUT: 90000,
};
Expand Down
4 changes: 3 additions & 1 deletion .github/actions/javascript/awaitStagingDeploys/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12262,7 +12262,7 @@ const CONST = {
},
ACTIONS: {
CREATED: 'created',
EDIT: 'edited',
EDITED: 'edited',
},
EVENTS: {
ISSUE_COMMENT: 'issue_comment',
Expand All @@ -12281,6 +12281,8 @@ const CONST = {
APP_REPO_URL: `https://github.com/${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}`,
APP_REPO_GIT_URL: `git@github.com:${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}.git`,
NO_ACTION: 'NO_ACTION',
ACTION_EDIT: 'ACTION_EDIT',
ACTION_REQUIRED: 'ACTION_REQUIRED',
OPENAI_POLL_RATE: 1500,
OPENAI_POLL_TIMEOUT: 90000,
};
Expand Down
4 changes: 3 additions & 1 deletion .github/actions/javascript/checkAndroidStatus/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -736655,7 +736655,7 @@ const CONST = {
},
ACTIONS: {
CREATED: 'created',
EDIT: 'edited',
EDITED: 'edited',
},
EVENTS: {
ISSUE_COMMENT: 'issue_comment',
Expand All @@ -736674,6 +736674,8 @@ const CONST = {
APP_REPO_URL: `https://github.com/${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}`,
APP_REPO_GIT_URL: `git@github.com:${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}.git`,
NO_ACTION: 'NO_ACTION',
ACTION_EDIT: 'ACTION_EDIT',
ACTION_REQUIRED: 'ACTION_REQUIRED',
OPENAI_POLL_RATE: 1500,
OPENAI_POLL_TIMEOUT: 90000,
};
Expand Down
4 changes: 3 additions & 1 deletion .github/actions/javascript/checkDeployBlockers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11545,7 +11545,7 @@ const CONST = {
},
ACTIONS: {
CREATED: 'created',
EDIT: 'edited',
EDITED: 'edited',
},
EVENTS: {
ISSUE_COMMENT: 'issue_comment',
Expand All @@ -11564,6 +11564,8 @@ const CONST = {
APP_REPO_URL: `https://github.com/${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}`,
APP_REPO_GIT_URL: `git@github.com:${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}.git`,
NO_ACTION: 'NO_ACTION',
ACTION_EDIT: 'ACTION_EDIT',
ACTION_REQUIRED: 'ACTION_REQUIRED',
OPENAI_POLL_RATE: 1500,
OPENAI_POLL_TIMEOUT: 90000,
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11608,7 +11608,7 @@ const CONST = {
},
ACTIONS: {
CREATED: 'created',
EDIT: 'edited',
EDITED: 'edited',
},
EVENTS: {
ISSUE_COMMENT: 'issue_comment',
Expand All @@ -11627,6 +11627,8 @@ const CONST = {
APP_REPO_URL: `https://github.com/${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}`,
APP_REPO_GIT_URL: `git@github.com:${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}.git`,
NO_ACTION: 'NO_ACTION',
ACTION_EDIT: 'ACTION_EDIT',
ACTION_REQUIRED: 'ACTION_REQUIRED',
OPENAI_POLL_RATE: 1500,
OPENAI_POLL_TIMEOUT: 90000,
};
Expand Down
4 changes: 3 additions & 1 deletion .github/actions/javascript/getArtifactInfo/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11506,7 +11506,7 @@ const CONST = {
},
ACTIONS: {
CREATED: 'created',
EDIT: 'edited',
EDITED: 'edited',
},
EVENTS: {
ISSUE_COMMENT: 'issue_comment',
Expand All @@ -11525,6 +11525,8 @@ const CONST = {
APP_REPO_URL: `https://github.com/${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}`,
APP_REPO_GIT_URL: `git@github.com:${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}.git`,
NO_ACTION: 'NO_ACTION',
ACTION_EDIT: 'ACTION_EDIT',
ACTION_REQUIRED: 'ACTION_REQUIRED',
OPENAI_POLL_RATE: 1500,
OPENAI_POLL_TIMEOUT: 90000,
};
Expand Down
4 changes: 3 additions & 1 deletion .github/actions/javascript/getDeployPullRequestList/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11649,7 +11649,7 @@ const CONST = {
},
ACTIONS: {
CREATED: 'created',
EDIT: 'edited',
EDITED: 'edited',
},
EVENTS: {
ISSUE_COMMENT: 'issue_comment',
Expand All @@ -11668,6 +11668,8 @@ const CONST = {
APP_REPO_URL: `https://github.com/${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}`,
APP_REPO_GIT_URL: `git@github.com:${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}.git`,
NO_ACTION: 'NO_ACTION',
ACTION_EDIT: 'ACTION_EDIT',
ACTION_REQUIRED: 'ACTION_REQUIRED',
OPENAI_POLL_RATE: 1500,
OPENAI_POLL_TIMEOUT: 90000,
};
Expand Down
4 changes: 3 additions & 1 deletion .github/actions/javascript/getPreviousVersion/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2773,7 +2773,7 @@ const CONST = {
},
ACTIONS: {
CREATED: 'created',
EDIT: 'edited',
EDITED: 'edited',
},
EVENTS: {
ISSUE_COMMENT: 'issue_comment',
Expand All @@ -2792,6 +2792,8 @@ const CONST = {
APP_REPO_URL: `https://github.com/${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}`,
APP_REPO_GIT_URL: `git@github.com:${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}.git`,
NO_ACTION: 'NO_ACTION',
ACTION_EDIT: 'ACTION_EDIT',
ACTION_REQUIRED: 'ACTION_REQUIRED',
OPENAI_POLL_RATE: 1500,
OPENAI_POLL_TIMEOUT: 90000,
};
Expand Down
4 changes: 3 additions & 1 deletion .github/actions/javascript/getPullRequestDetails/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11608,7 +11608,7 @@ const CONST = {
},
ACTIONS: {
CREATED: 'created',
EDIT: 'edited',
EDITED: 'edited',
},
EVENTS: {
ISSUE_COMMENT: 'issue_comment',
Expand All @@ -11627,6 +11627,8 @@ const CONST = {
APP_REPO_URL: `https://github.com/${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}`,
APP_REPO_GIT_URL: `git@github.com:${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}.git`,
NO_ACTION: 'NO_ACTION',
ACTION_EDIT: 'ACTION_EDIT',
ACTION_REQUIRED: 'ACTION_REQUIRED',
OPENAI_POLL_RATE: 1500,
OPENAI_POLL_TIMEOUT: 90000,
};
Expand Down
4 changes: 3 additions & 1 deletion .github/actions/javascript/isStagingDeployLocked/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11506,7 +11506,7 @@ const CONST = {
},
ACTIONS: {
CREATED: 'created',
EDIT: 'edited',
EDITED: 'edited',
},
EVENTS: {
ISSUE_COMMENT: 'issue_comment',
Expand All @@ -11525,6 +11525,8 @@ const CONST = {
APP_REPO_URL: `https://github.com/${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}`,
APP_REPO_GIT_URL: `git@github.com:${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}.git`,
NO_ACTION: 'NO_ACTION',
ACTION_EDIT: 'ACTION_EDIT',
ACTION_REQUIRED: 'ACTION_REQUIRED',
OPENAI_POLL_RATE: 1500,
OPENAI_POLL_TIMEOUT: 90000,
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12905,7 +12905,7 @@ const CONST = {
},
ACTIONS: {
CREATED: 'created',
EDIT: 'edited',
EDITED: 'edited',
},
EVENTS: {
ISSUE_COMMENT: 'issue_comment',
Expand All @@ -12924,6 +12924,8 @@ const CONST = {
APP_REPO_URL: `https://github.com/${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}`,
APP_REPO_GIT_URL: `git@github.com:${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}.git`,
NO_ACTION: 'NO_ACTION',
ACTION_EDIT: 'ACTION_EDIT',
ACTION_REQUIRED: 'ACTION_REQUIRED',
OPENAI_POLL_RATE: 1500,
OPENAI_POLL_TIMEOUT: 90000,
};
Expand Down
4 changes: 3 additions & 1 deletion .github/actions/javascript/postTestBuildComment/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11612,7 +11612,7 @@ const CONST = {
},
ACTIONS: {
CREATED: 'created',
EDIT: 'edited',
EDITED: 'edited',
},
EVENTS: {
ISSUE_COMMENT: 'issue_comment',
Expand All @@ -11631,6 +11631,8 @@ const CONST = {
APP_REPO_URL: `https://github.com/${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}`,
APP_REPO_GIT_URL: `git@github.com:${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}.git`,
NO_ACTION: 'NO_ACTION',
ACTION_EDIT: 'ACTION_EDIT',
ACTION_REQUIRED: 'ACTION_REQUIRED',
OPENAI_POLL_RATE: 1500,
OPENAI_POLL_TIMEOUT: 90000,
};
Expand Down
Loading

0 comments on commit e07c4f5

Please sign in to comment.