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: added optional short_app_name web config (#54) #55

Merged
merged 3 commits into from
May 14, 2024

Conversation

albemala
Copy link
Contributor

@albemala albemala commented May 8, 2024

Fixes #54.

This PR introduces a new feature that allows setting the short_name parameter in the manifest.json file independently from the name parameter for web configurations.

Currently, the app_name parameter is used to set both name and short_name in the manifest.json file. With this change, we split the app_name parameter into app_name and short_app_name to provide more flexibility.

The short_app_name parameter is optional, and if not provided, it will default to the value of app_name.

Note:

The error codes and messages used in the catch blocks are not actually used in the codebase. Please advise if these should be removed or if there are any plans to utilize them in the future.

@albemala
Copy link
Contributor Author

albemala commented May 8, 2024

@OutdatedGuy mentioning you here as I can't add you as a reviewer

lib/messages.dart Outdated Show resolved Hide resolved
Copy link
Owner

@OutdatedGuy OutdatedGuy left a comment

Choose a reason for hiding this comment

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

Everything else seems good. Just one small change I have mentioned.

OutdatedGuy
OutdatedGuy previously approved these changes May 13, 2024
Copy link
Owner

@OutdatedGuy OutdatedGuy left a comment

Choose a reason for hiding this comment

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

LGTM!

lib/platforms/web.dart Outdated Show resolved Hide resolved
@OutdatedGuy OutdatedGuy dismissed their stale review May 13, 2024 12:22

Checks are failing due to unused variable

Copy link
Owner

@OutdatedGuy OutdatedGuy left a comment

Choose a reason for hiding this comment

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

LGTM!

@OutdatedGuy OutdatedGuy merged commit 448f65f into OutdatedGuy:main May 14, 2024
2 checks passed
@OutdatedGuy OutdatedGuy mentioned this pull request May 14, 2024
@albemala
Copy link
Contributor Author

awesome, thank you for merging and releasing it!

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.

Web: "name" and "short_name"
2 participants