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

[Glitch] Standalone share page: Dispatch fetchServer for maxChars #2929

Conversation

kescherCode
Copy link

@kescherCode kescherCode commented Jan 4, 2025

Fixes #2687

Regression was introduced in 6da6996, since we no longer include the maximum character count in the initial state, instead, it is fetched separately via the server details.

This may be worth upstreaming, as they'll likely have the same bug (however, I won't be the one to do open a PR there. Have fun with it, this is AGPLv3 after all ^-^). As such, I have also modified the vanilla part of this code in this PR.

@ClearlyClaire
Copy link

This may be worth upstreaming, as they'll likely have the same bug (however, I won't be the one to do open a PR there. Have fun with it, this is AGPLv3 after all ^-^). As such, I have also modified the vanilla part of this code in this PR.

It is easier for me to have the thing merged upstream and then backport it when I merge upstream changes.

It is also easier for us upstream to properly credit the author if they are also the person who opened the PR.

But I'll handle it if you don't want to contribute directly upstream.

@kescherCode
Copy link
Author

@ClearlyClaire in case it is easier to first upstream to vanilla, well, guess I'm opening a pull request

@kescherCode
Copy link
Author

@ClearlyClaire PR opened @ mastodon#33459

@kescherCode kescherCode force-pushed the glitch-pr/fix-standalone-share-maxChars branch from 8fbc748 to 2eaa906 Compare January 5, 2025 15:36
@kescherCode
Copy link
Author

I have also, accordingly, adjusted this PR to be a glitch-only commit.

@kescherCode kescherCode changed the title Standalone share page: Dispatch fetchServer for maxChars [Glitch] Standalone share page: Dispatch fetchServer for maxChars Jan 5, 2025
@ClearlyClaire ClearlyClaire merged commit ae302d2 into glitch-soc:main Jan 6, 2025
22 checks passed
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.

Share prompt does not properly adhere to max characters setting
2 participants