Skip to content

Replaced overview message to embed - #611

Merged
Tais993 merged 2 commits into
developfrom
bugfix/overview_character_limit
Oct 11, 2022
Merged

Tais993 merged 2 commits into
developfrom
bugfix/overview_character_limit

Conversation

@Tais993

@Tais993 Tais993 commented Oct 6, 2022 •

Copy link
Copy Markdown
Member

Initially the overview was normal message, but this had the downside of having a limit of 2000 characters.
Embeds have a limit of 4096, which is more than double. But there was a reason for it, embeds didn't have click-through channel mentions on phone.

And that's a major issue, as it'd mean you read the thread channels name, then you find the "Discord" overview, type in the title (assuming you haven't forgotten it), and then you finally reach the channel.

Compared to a simple click, this takes a lot of time.

Since phone now has support for this, there's no reason to not use embeds.
So after this we support more than 2x the amount of questions than before!

Closes #533

This breaks backwards compatibility, the old message has to get deleted.

@Tais993 Tais993 added bug Something isn't working priority: normal labels Oct 6, 2022
@Tais993 Tais993 self-assigned this Oct 6, 2022
@Tais993
Tais993 requested review from a team as code owners October 6, 2022 14:10
@Tais993
Tais993 force-pushed the bugfix/overview_character_limit branch from 745c108 to eb5a294 Compare October 6, 2022 14:14
Zabuzard
Zabuzard previously approved these changes Oct 11, 2022

@Zabuzard Zabuzard left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

fix spotless/sonar issues and good 👍

@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@Tais993
Tais993 merged commit d483109 into develop Oct 11, 2022
@Tais993
Tais993 deleted the bugfix/overview_character_limit branch October 11, 2022 11:11
@Zabuzard Zabuzard mentioned this pull request Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working priority: normal

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Overview cant update if too many questions

3 participants