-
Notifications
You must be signed in to change notification settings - Fork 23
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
Further strict null checks #8371
Merged
Merged
Changes from 78 commits
Commits
Show all changes
80 commits
Select commit
Hold shift + click to select a range
cf8fdb9
getToken/refreshToken
c48b8f3
src/background/requests.ts
619e8be
src/contentScript/pageEditor/elementPicker.ts
96786b0
src/background/partnerIntegrations.ts
19c60ed
whoops
fa36bd6
cleanup
0cdffaf
fix widget and getScopeAndId
6d37d22
auto-add
a51514f
src/extensionConsole/pages/mods/GetStartedView.tsx
48fc706
src/mods/useModViewItems.tsx
b5b5427
test memo compare dependencies
e7be3b6
fix scopeAndId tests
f43adb6
autosuggest
5eaf7ee
src/background/backgroundPlatform.ts
ca34895
src/background/restrictUnauthenticatedUrlAccess.ts
8e45b83
src/bricks/effects/insertHtml.ts
2cf5876
./bricks/effects/runSubTour.ts
dce3731
./bricks/effects/scrollIntoView.ts
58816ce
src/bricks/transformers/controlFlow/WithAsyncModVariable.ts
80d4a78
mod state / variable context
ff3aec4
src/bricks/transformers/RunMetadataTransformer.ts
6c042c6
src/bricks/transformers/splitText.ts
751dafe
src/components/fields/schemaFields/widgets/varPopup/useTreeRow.ts
a6c200d
src/components/walkthroughModal/WalkthroughModalApp.tsx
158020a
src/extensionConsole/pages/brickEditor/BrickHistory.tsx
6fec24f
fix test
faef79c
src/extensionConsole/pages/mods/utils/exportBlueprint.ts
4be6ec3
src/extensionConsole/pages/mods/utils/exportBlueprint.ts
c570dd7
src/pageScript/elementInfo.ts
680b86d
src/sidebar/LoginPanel.tsx
4d45f78
src/testUtils/factories/authFactories.ts
dddf4b2
src/bricks/effects/attachAutocomplete.ts
75ee849
more bricks
f551c8d
fix test
7be7af1
src/components/fields/schemaFields/fieldTestUtils.ts
8d01818
add a bunch more
8cf8705
the rest
ec7c7c0
cleanup
134796a
fix lint
806f211
wip
db7463e
Merge branch 'main' into dev/strict-null-checks-even-moar
9b7dd2d
remove file
e60c85c
remove logs
597e651
fix factory
5c7e39e
update counts
grahamlangford 5eb2eb6
extensionPagePlatform
grahamlangford 051ed5f
partnerIntegrations
grahamlangford bae732a
update counts
grahamlangford 5620c5c
Merge branch 'main' of github.com:pixiebrix/pixiebrix-extension into …
grahamlangford a93f471
finding cycles
grahamlangford 4d6a41c
documenting cycle
grahamlangford b4177f5
move starterbricks into separate folders
grahamlangford d327b91
extract shared types from contextmenu
grahamlangford 2a34559
migrate shared types for menuItemExtension
grahamlangford be1660b
migrate panel types; migrate more contextMenu types
grahamlangford da3eaf2
migrate more menuitem types
grahamlangford ca930a9
migrate quickbar types
grahamlangford b0b5512
migrate quickbar provider types
grahamlangford 562e0c5
migrate sidebar types
grahamlangford f268c2a
migrate tour types
grahamlangford 62025ff
update file paths
grahamlangford 147ca6a
auto-add
grahamlangford 01a0ad7
fix types
grahamlangford 4345ca3
auto-add
grahamlangford 420f50e
cleanup
grahamlangford 33c914c
more contentScript messenger migrations
grahamlangford a0e3074
Merge branch 'main' of github.com:pixiebrix/pixiebrix-extension into …
grahamlangford fa81576
selectElement
grahamlangford d2f5ed3
insertPanel
grahamlangford eb07504
insertButton
grahamlangford 228e5a6
move insertButton to strict registration
grahamlangford 7914e4d
eliminate cycle
grahamlangford 87d94d7
auto-add
grahamlangford 26e6bce
migrate more registration methods
grahamlangford 73740f6
auto-add
grahamlangford 5abd4fd
update counts
grahamlangford c090f84
Merge branch 'main' of github.com:pixiebrix/pixiebrix-extension into …
grahamlangford bff2840
remove comments
grahamlangford 91856c5
address pr comments
grahamlangford 5aacdea
Merge branch 'main' into strictNullChecks-insertPanel
grahamlangford File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* | ||
* Copyright (C) 2024 PixieBrix, Inc. | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
import { type ModViewItem } from "@/types/modTypes"; | ||
import { type TableInstance } from "react-table"; | ||
|
||
export type ModsPageContentProps = { | ||
tableInstance: TableInstance<ModViewItem>; | ||
width: number; | ||
height: number; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pulling this out eliminates the cycle but doesn't do much to make the individual files easier to strict null check