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: add Resizable item setting #514

Merged
merged 7 commits into from
Jan 12, 2023
Merged

Conversation

spaenleh
Copy link
Member

@spaenleh spaenleh commented Dec 14, 2022

This PR adds the manual resize item setting.
It should also fix #493 by filtering options to the ones containing the search string.
The prettier command was updated to also format TS/TSX files. This generated some noise that was committed under 50b6789.

Needs:

closes #500

@spaenleh spaenleh added the feature New feature or request label Dec 14, 2022
@spaenleh spaenleh self-assigned this Dec 14, 2022
@spaenleh spaenleh marked this pull request as draft December 14, 2022 14:43
@spaenleh spaenleh force-pushed the 500-manual-resizing-setting branch from 069f20d to 173334d Compare December 15, 2022 20:10
@spaenleh spaenleh force-pushed the 500-manual-resizing-setting branch from 173334d to 50b6789 Compare January 6, 2023 14:52
@spaenleh spaenleh marked this pull request as ready for review January 9, 2023 08:19
Copy link
Contributor

@pyphilia pyphilia left a comment

Choose a reason for hiding this comment

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

LGTM

Comment on lines +85 to +88
if (typeof option === 'string') {
return option;
}
return option.url;
Copy link
Contributor

Choose a reason for hiding this comment

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

What if it's an int?

Copy link
Member Author

Choose a reason for hiding this comment

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

According to the types, it can only be a string | RecordOf<App>.

Copy link
Member Author

Choose a reason for hiding this comment

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

@pyphilia I can type it explicitly If you prefer

src/components/main/ItemsTable.tsx Outdated Show resolved Hide resolved
src/components/main/ItemsTable.tsx Outdated Show resolved Hide resolved
@spaenleh spaenleh requested a review from pyphilia January 10, 2023 09:56
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
@spaenleh spaenleh merged commit 80795c9 into main Jan 12, 2023
@spaenleh spaenleh deleted the 500-manual-resizing-setting branch January 12, 2023 12:21
@spaenleh spaenleh added the v0.4.0 feat: resizable, fix: app auto-complete label Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request v0.4.0 feat: resizable, fix: app auto-complete
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add allowManualResize in item settings searching on name when adding application is not working
3 participants